This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.69. Invocation command line was $ /home/buildroot/autobuild/run/instance-2/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=/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr --with-lzma --with-liblzma-prefix=/home/buildroot/autobuild/run/instance-2/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 = ns304657.ip-46-105-103.eu uname -m = x86_64 uname -r = 4.4.0-201-generic uname -s = Linux uname -v = #233-Ubuntu SMP Thu Jan 14 06:10:28 UTC 2021 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/buildroot/autobuild/run/instance-2/output-1/host/bin PATH: /home/buildroot/autobuild/run/instance-2/output-1/host/sbin PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/local/games PATH: /usr/games ## ----------- ## ## Core tests. ## ## ----------- ## configure:2910: creating cache ./config.cache configure:2992: checking whether to enable maintainer-specific portions of Makefiles configure:3001: result: no configure:3023: checking for riscv64-buildroot-linux-musl-gcc configure:3050: result: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc configure:3319: checking for C compiler version configure:3328: /home/buildroot/autobuild/run/instance-2/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:3339: $? = 0 configure:3328: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -v >&5 Using built-in specs. COLLECT_GCC=/home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/riscv64-linux-gcc.br_real COLLECT_LTO_WRAPPER=/home/buildroot/autobuild/run/instance-2/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=/home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/10.2.0/:/home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/:/home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ LIBRARY_PATH=/home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/:/home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/:/home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/lib/:/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib/:/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/ ... rest of stderr output deleted ... configure:3339: $? = 1 configure:3328: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -V >&5 riscv64-linux-gcc.br_real: error: unrecognized command-line option '-V' configure:3339: $? = 1 configure:3328: /home/buildroot/autobuild/run/instance-2/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:3339: $? = 1 configure:3359: checking whether the C compiler works configure:3381: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:3385: $? = 0 configure:3433: result: yes configure:3436: checking for C compiler default output file name configure:3438: result: a.out configure:3444: checking for suffix of executables configure:3451: /home/buildroot/autobuild/run/instance-2/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:3455: $? = 0 configure:3477: result: configure:3499: checking whether we are cross compiling configure:3537: result: yes configure:3542: checking for suffix of object files configure:3564: /home/buildroot/autobuild/run/instance-2/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:3568: $? = 0 configure:3589: result: o configure:3593: checking whether we are using the GNU C compiler configure:3612: /home/buildroot/autobuild/run/instance-2/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:3612: $? = 0 configure:3621: result: yes configure:3630: checking whether /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc accepts -g configure:3650: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -g conftest.c >&5 configure:3650: $? = 0 configure:3691: result: yes configure:3708: checking for /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc option to accept ISO C89 configure:3771: /home/buildroot/autobuild/run/instance-2/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:3771: $? = 0 configure:3784: result: none needed configure:3916: checking for C++ compiler version configure:3925: /home/buildroot/autobuild/run/instance-2/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:3936: $? = 0 configure:3925: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-g++ -v >&5 Using built-in specs. COLLECT_GCC=/home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/riscv64-linux-g++.br_real COLLECT_LTO_WRAPPER=/home/buildroot/autobuild/run/instance-2/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=/home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/10.2.0/:/home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/:/home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ LIBRARY_PATH=/home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/:/home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/:/home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/lib/:/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib/:/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/ ... rest of stderr output deleted ... configure:3936: $? = 1 configure:3925: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-g++ -V >&5 riscv64-linux-g++.br_real: error: unrecognized command-line option '-V' configure:3936: $? = 1 configure:3925: /home/buildroot/autobuild/run/instance-2/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:3936: $? = 1 configure:3940: checking whether we are using the GNU C++ compiler configure:3959: /home/buildroot/autobuild/run/instance-2/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:3959: $? = 0 configure:3968: result: yes configure:3977: checking whether /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-g++ accepts -g configure:3997: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-g++ -c -g conftest.cpp >&5 configure:3997: $? = 0 configure:4038: result: yes configure:4068: checking how to run the C preprocessor configure:4099: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E conftest.c configure:4099: $? = 0 configure:4113: /home/buildroot/autobuild/run/instance-2/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:4113: $? = 1 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:4138: result: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E configure:4158: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E conftest.c configure:4158: $? = 0 configure:4172: /home/buildroot/autobuild/run/instance-2/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:4172: $? = 1 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:4201: checking for grep that handles long lines and -e configure:4259: result: /bin/grep configure:4264: checking for egrep configure:4326: result: /bin/grep -E configure:4331: checking for ANSI C header files configure:4351: /home/buildroot/autobuild/run/instance-2/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:4351: $? = 0 configure:4435: result: yes configure:4448: checking for sys/types.h configure:4448: /home/buildroot/autobuild/run/instance-2/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:4448: $? = 0 configure:4448: result: yes configure:4448: checking for sys/stat.h configure:4448: /home/buildroot/autobuild/run/instance-2/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:4448: $? = 0 configure:4448: result: yes configure:4448: checking for stdlib.h configure:4448: /home/buildroot/autobuild/run/instance-2/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:4448: $? = 0 configure:4448: result: yes configure:4448: checking for string.h configure:4448: /home/buildroot/autobuild/run/instance-2/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:4448: $? = 0 configure:4448: result: yes configure:4448: checking for memory.h configure:4448: /home/buildroot/autobuild/run/instance-2/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:4448: $? = 0 configure:4448: result: yes configure:4448: checking for strings.h configure:4448: /home/buildroot/autobuild/run/instance-2/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:4448: $? = 0 configure:4448: result: yes configure:4448: checking for inttypes.h configure:4448: /home/buildroot/autobuild/run/instance-2/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:4448: $? = 0 configure:4448: result: yes configure:4448: checking for stdint.h configure:4448: /home/buildroot/autobuild/run/instance-2/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:4448: $? = 0 configure:4448: result: yes configure:4448: checking for unistd.h configure:4448: /home/buildroot/autobuild/run/instance-2/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:4448: $? = 0 configure:4448: result: yes configure:4461: checking minix/config.h usability configure:4461: /home/buildroot/autobuild/run/instance-2/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:4461: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define 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:4461: result: no configure:4461: checking minix/config.h presence configure:4461: /home/buildroot/autobuild/run/instance-2/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:4461: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define 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:4461: result: no configure:4461: checking for minix/config.h configure:4461: result: no configure:4482: checking whether it is safe to define __EXTENSIONS__ configure:4500: /home/buildroot/autobuild/run/instance-2/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:4500: $? = 0 configure:4507: result: yes configure:4554: checking build system type configure:4568: result: x86_64-pc-linux-gnu configure:4588: checking host system type configure:4601: result: riscv64-buildroot-linux-musl configure:4621: checking target system type configure:4634: result: riscv64-buildroot-linux-musl configure:4673: checking for dlfcn.h configure:4673: /home/buildroot/autobuild/run/instance-2/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:4673: $? = 0 configure:4673: result: yes configure:4686: checking for windows.h configure:4686: /home/buildroot/autobuild/run/instance-2/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:4686: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __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:4686: result: no configure:4713: checking for library containing dlsym configure:4744: /home/buildroot/autobuild/run/instance-2/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:4744: $? = 0 configure:4761: result: none required configure:4833: checking for special C compiler options needed for large files configure:4878: result: no configure:4884: checking for _FILE_OFFSET_BITS value needed for large files configure:4909: /home/buildroot/autobuild/run/instance-2/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:4909: $? = 0 configure:4941: result: no configure:5030: checking for /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc option to accept ANSI C configure:5088: /home/buildroot/autobuild/run/instance-2/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:5088: $? = 0 configure:5098: result: none needed configure:5129: checking for riscv64-buildroot-linux-musl-strip configure:5159: result: no configure:5169: checking for strip configure:5185: found /usr/bin/strip configure:5196: result: strip configure:5208: WARNING: using cross tools not prefixed with host triplet configure:5274: checking whether /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-g++ supports C++11 features by default configure:5568: /home/buildroot/autobuild/run/instance-2/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:5568: $? = 0 configure:5575: result: yes configure:6265: checking dependency style of /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc configure:6296: trying gcc3 | depmode=gcc3 source=sub/conftest.c object=sub/conftest.o depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo /bin/sh ./depcomp /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -o sub/conftest.o sub/conftest.c configure:6335: success configure:6350: result: gcc3 configure:6383: checking whether NLS is requested configure:6386: result: no configure:6465: checking whether true --split-size=5000000 supports @click configure:6477: result: yes configure:6617: checking for default auto-load directory configure:6639: result: $debugdir:$datadir/auto-load configure:6642: checking for default auto-load safe-path configure:6666: result: $debugdir:$datadir/auto-load configure:6917: checking for riscv64-buildroot-linux-musl-pkg-config configure:6950: result: no configure:6960: checking for pkg-config configure:6978: found /home/buildroot/autobuild/run/instance-2/output-1/host/bin/pkg-config configure:6990: result: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/pkg-config configure:7015: checking pkg-config is at least version 0.9.0 configure:7018: result: yes configure:7036: checking whether to use debuginfod configure:7038: result: auto configure:7044: checking for libdebuginfod >= 0.179 configure:7051: $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:7054: $? = 1 configure:7068: $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:7071: $? = 1 configure:7109: result: no Package 'libdebuginfod', required by 'virtual:world', not found configure:7128: WARNING: libdebuginfod is missing or unusable; some features may be unavailable. configure:7181: checking libunwind-ia64.h usability configure:7181: /home/buildroot/autobuild/run/instance-2/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:7181: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-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:7181: result: no configure:7181: checking libunwind-ia64.h presence configure:7181: /home/buildroot/autobuild/run/instance-2/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:7181: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-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:7181: result: no configure:7181: checking for libunwind-ia64.h configure:7181: result: no configure:7249: checking for monstartup configure:7249: /home/buildroot/autobuild/run/instance-2/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 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccQp9ALm.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `monstartup' collect2: error: ld returned 1 exit status configure:7249: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-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:7249: result: no configure:7249: checking for _mcleanup configure:7249: /home/buildroot/autobuild/run/instance-2/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 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cce81y6p.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_mcleanup' collect2: error: ld returned 1 exit status configure:7249: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-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:7249: result: no configure:7258: checking for _etext configure:7276: /home/buildroot/autobuild/run/instance-2/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:7276: $? = 0 configure:7284: result: yes configure:7291: checking for etext configure:7309: /home/buildroot/autobuild/run/instance-2/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:7309: $? = 0 configure:7317: result: yes configure:7437: checking for gawk configure:7464: result: mawk configure:7489: checking for a BSD-compatible install configure:7557: result: /usr/bin/install -c configure:7568: checking whether ln -s works configure:7572: result: yes configure:7582: checking for riscv64-buildroot-linux-musl-ranlib configure:7609: result: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-ranlib configure:7675: checking for bison configure:7702: result: bison -y configure:7718: checking for riscv64-buildroot-linux-musl-ar configure:7745: result: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-ar configure:7810: checking for riscv64-buildroot-linux-musl-dlltool configure:7837: result: riscv64-buildroot-linux-musl-dlltool configure:7902: checking for riscv64-buildroot-linux-musl-windres configure:7929: result: riscv64-buildroot-linux-musl-windres configure:8098: checking for main in -lm configure:8117: /home/buildroot/autobuild/run/instance-2/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:8117: $? = 0 configure:8126: result: yes configure:8139: checking for library containing gethostbyname configure:8170: /home/buildroot/autobuild/run/instance-2/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:8170: $? = 0 configure:8187: result: none required configure:8197: checking for library containing socketpair configure:8228: /home/buildroot/autobuild/run/instance-2/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:8228: $? = 0 configure:8245: result: none required configure:8275: checking for library containing kinfo_getvmmap configure:8306: /home/buildroot/autobuild/run/instance-2/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 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccBrqx6y.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `kinfo_getvmmap' collect2: error: ld returned 1 exit status configure:8306: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_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:8306: /home/buildroot/autobuild/run/instance-2/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 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccWISwfD.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `kinfo_getvmmap' collect2: error: ld returned 1 exit status configure:8306: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_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:8306: /home/buildroot/autobuild/run/instance-2/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 /home/buildroot/autobuild/run/instance-2/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:8306: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_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:8323: result: no configure:8374: checking for ld used by GCC configure:8437: result: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-ld configure:8444: checking if the linker (/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-ld) is GNU ld GNU ld (GNU Binutils) 2.34 configure:8456: result: yes configure:8462: checking for shared library run path origin configure:8475: result: done configure:8895: checking for iconv configure:8919: /home/buildroot/autobuild/run/instance-2/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:8919: $? = 0 configure:8993: result: yes configure:9036: checking for iconv declaration configure:9065: /home/buildroot/autobuild/run/instance-2/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:9065: $? = 0 configure:9076: result: extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); configure:9152: checking for library containing waddstr configure:9183: /home/buildroot/autobuild/run/instance-2/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 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccKhmmLB.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `waddstr' collect2: error: ld returned 1 exit status configure:9183: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__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:9183: /home/buildroot/autobuild/run/instance-2/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:9183: $? = 0 configure:9200: result: -lncursesw configure:9250: checking for library containing tgetent configure:9281: /home/buildroot/autobuild/run/instance-2/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:9281: $? = 0 configure:9298: result: none required configure:9375: checking size of unsigned long long configure:9380: /home/buildroot/autobuild/run/instance-2/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:9380: $? = 0 configure:9380: /home/buildroot/autobuild/run/instance-2/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:9380: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__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:9380: /home/buildroot/autobuild/run/instance-2/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:9380: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__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:9380: /home/buildroot/autobuild/run/instance-2/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:9380: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__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:9380: /home/buildroot/autobuild/run/instance-2/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:9380: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__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:9380: /home/buildroot/autobuild/run/instance-2/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:9380: $? = 0 configure:9380: /home/buildroot/autobuild/run/instance-2/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:9380: $? = 0 configure:9380: /home/buildroot/autobuild/run/instance-2/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:9380: $? = 0 configure:9380: /home/buildroot/autobuild/run/instance-2/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:9380: $? = 0 configure:9394: result: 8 configure:9408: checking size of unsigned long configure:9413: /home/buildroot/autobuild/run/instance-2/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:9413: $? = 0 configure:9413: /home/buildroot/autobuild/run/instance-2/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:9413: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #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:9413: /home/buildroot/autobuild/run/instance-2/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:9413: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #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:9413: /home/buildroot/autobuild/run/instance-2/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:9413: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #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:9413: /home/buildroot/autobuild/run/instance-2/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:9413: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #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:9413: /home/buildroot/autobuild/run/instance-2/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:9413: $? = 0 configure:9413: /home/buildroot/autobuild/run/instance-2/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:9413: $? = 0 configure:9413: /home/buildroot/autobuild/run/instance-2/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:9413: $? = 0 configure:9413: /home/buildroot/autobuild/run/instance-2/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:9413: $? = 0 configure:9427: result: 8 configure:9441: checking size of unsigned __int128 configure:9446: /home/buildroot/autobuild/run/instance-2/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:9446: $? = 0 configure:9446: /home/buildroot/autobuild/run/instance-2/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:9446: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_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:9446: /home/buildroot/autobuild/run/instance-2/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:9446: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_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:9446: /home/buildroot/autobuild/run/instance-2/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:9446: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_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:9446: /home/buildroot/autobuild/run/instance-2/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:9446: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_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:9446: /home/buildroot/autobuild/run/instance-2/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:9446: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_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:9446: /home/buildroot/autobuild/run/instance-2/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:9446: $? = 0 configure:9446: /home/buildroot/autobuild/run/instance-2/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:9446: $? = 0 configure:9446: /home/buildroot/autobuild/run/instance-2/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:9446: $? = 0 configure:9446: /home/buildroot/autobuild/run/instance-2/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:9446: $? = 0 configure:9446: /home/buildroot/autobuild/run/instance-2/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:9446: $? = 0 configure:9460: result: 16 configure:9485: checking for library containing dlopen configure:9516: /home/buildroot/autobuild/run/instance-2/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:9516: $? = 0 configure:9533: result: none required configure:9597: checking whether to use expat configure:9599: result: yes configure:10032: checking for libexpat configure:10051: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/libexpat.so -Wl,-rpath -Wl,/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib >&5 configure:10051: $? = 0 configure:10061: result: yes configure:10068: checking how to link with libexpat configure:10070: result: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/libexpat.so -Wl,-rpath -Wl,/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib configure:10096: checking for XML_StopParser configure:10096: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/libexpat.so -Wl,-rpath -Wl,/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib >&5 configure:10096: $? = 0 configure:10096: result: yes configure:10117: checking whether to use MPFR configure:10119: result: no configure:10123: WARNING: MPFR support disabled; some features may be unavailable. configure:10631: checking whether to use python configure:10633: result: no configure:10637: WARNING: python support disabled; some features may be unavailable. configure:11140: checking whether to use guile configure:11142: result: auto configure:11147: checking for pkg-config configure:11165: found /home/buildroot/autobuild/run/instance-2/output-1/host/bin/pkg-config configure:11178: result: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/pkg-config configure:11205: checking for usable guile from /home/buildroot/autobuild/run/instance-2/output-1/host/bin/pkg-config configure:11274: result: no configure:11696: checking for the source-highlight library configure:11720: result: no configure:11735: checking for ANSI C header files configure:11839: result: yes configure:11856: checking nlist.h usability configure:11856: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:11856: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_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:11856: result: no configure:11856: checking nlist.h presence configure:11856: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/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:11856: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_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:11856: result: no configure:11856: checking for nlist.h configure:11856: result: no configure:11856: checking machine/reg.h usability configure:11856: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:11856: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_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:11856: result: no configure:11856: checking machine/reg.h presence configure:11856: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/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:11856: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_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:11856: result: no configure:11856: checking for machine/reg.h configure:11856: result: no configure:11856: checking thread_db.h usability configure:11856: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:11856: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_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:11856: result: no configure:11856: checking thread_db.h presence configure:11856: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/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:11856: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_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:11856: result: no configure:11856: checking for thread_db.h configure:11856: result: no configure:11856: checking sys/file.h usability configure:11856: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11856: $? = 0 configure:11856: result: yes configure:11856: checking sys/file.h presence configure:11856: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:11856: $? = 0 configure:11856: result: yes configure:11856: checking for sys/file.h configure:11856: result: yes configure:11856: checking sys/filio.h usability configure:11856: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:11856: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define 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:11856: result: no configure:11856: checking sys/filio.h presence configure:11856: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/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:11856: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define 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:11856: result: no configure:11856: checking for sys/filio.h configure:11856: result: no configure:11856: checking sys/ioctl.h usability configure:11856: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11856: $? = 0 configure:11856: result: yes configure:11856: checking sys/ioctl.h presence configure:11856: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:11856: $? = 0 configure:11856: result: yes configure:11856: checking for sys/ioctl.h configure:11856: result: yes configure:11856: checking sys/param.h usability configure:11856: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11856: $? = 0 configure:11856: result: yes configure:11856: checking sys/param.h presence configure:11856: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:11856: $? = 0 configure:11856: result: yes configure:11856: checking for sys/param.h configure:11856: result: yes configure:11856: checking sys/resource.h usability configure:11856: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11856: $? = 0 configure:11856: result: yes configure:11856: checking sys/resource.h presence configure:11856: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:11856: $? = 0 configure:11856: result: yes configure:11856: checking for sys/resource.h configure:11856: result: yes configure:11856: checking sys/ptrace.h usability configure:11856: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11856: $? = 0 configure:11856: result: yes configure:11856: checking sys/ptrace.h presence configure:11856: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:11856: $? = 0 configure:11856: result: yes configure:11856: checking for sys/ptrace.h configure:11856: result: yes configure:11856: checking ptrace.h usability configure:11856: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:11856: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #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:11856: result: no configure:11856: checking ptrace.h presence configure:11856: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/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:11856: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #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:11856: result: no configure:11856: checking for ptrace.h configure:11856: result: no configure:11856: checking sys/reg.h usability configure:11856: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11856: $? = 0 configure:11856: result: yes configure:11856: checking sys/reg.h presence configure:11856: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:11856: $? = 0 configure:11856: result: yes configure:11856: checking for sys/reg.h configure:11856: result: yes configure:11856: checking sys/debugreg.h usability configure:11856: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:11856: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #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:11856: result: no configure:11856: checking sys/debugreg.h presence configure:11856: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/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:11856: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #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:11856: result: no configure:11856: checking for sys/debugreg.h configure:11856: result: no configure:11856: checking termios.h usability configure:11856: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11856: $? = 0 configure:11856: result: yes configure:11856: checking termios.h presence configure:11856: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:11856: $? = 0 configure:11856: result: yes configure:11856: checking for termios.h configure:11856: result: yes configure:11856: checking elf_hp.h usability configure:11856: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:11856: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 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:11856: result: no configure:11856: checking elf_hp.h presence configure:11856: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/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:11856: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 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:11856: result: no configure:11856: checking for elf_hp.h configure:11856: result: no configure:11868: checking for sys/user.h configure:11868: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11868: $? = 0 configure:11868: result: yes configure:11886: checking curses.h usability configure:11886: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11886: $? = 0 configure:11886: result: yes configure:11886: checking curses.h presence configure:11886: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:11886: $? = 0 configure:11886: result: yes configure:11886: checking for curses.h configure:11886: result: yes configure:11886: checking cursesX.h usability configure:11886: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:11886: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_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:11886: result: no configure:11886: checking cursesX.h presence configure:11886: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/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:11886: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_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:11886: result: no configure:11886: checking for cursesX.h configure:11886: result: no configure:11886: checking ncurses.h usability configure:11886: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11886: $? = 0 configure:11886: result: yes configure:11886: checking ncurses.h presence configure:11886: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:11886: $? = 0 configure:11886: result: yes configure:11886: checking for ncurses.h configure:11886: result: yes configure:11886: checking ncursesw/ncurses.h usability configure:11886: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:11886: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_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:11886: result: no configure:11886: checking ncursesw/ncurses.h presence configure:11886: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/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:11886: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_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:11886: result: no configure:11886: checking for ncursesw/ncurses.h configure:11886: result: no configure:11886: checking ncurses/ncurses.h usability configure:11886: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:11886: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_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:11886: result: no configure:11886: checking ncurses/ncurses.h presence configure:11886: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/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:11886: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_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:11886: result: no configure:11886: checking for ncurses/ncurses.h configure:11886: result: no configure:11886: checking ncurses/term.h usability configure:11886: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:11886: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_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:11886: result: no configure:11886: checking ncurses/term.h presence configure:11886: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/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:11886: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_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:11886: result: no configure:11886: checking for ncurses/term.h configure:11886: result: no configure:11898: checking for term.h configure:11898: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11898: $? = 0 configure:11898: result: yes configure:11915: checking sys/socket.h usability configure:11915: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11915: $? = 0 configure:11915: result: yes configure:11915: checking sys/socket.h presence configure:11915: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:11915: $? = 0 configure:11915: result: yes configure:11915: checking for sys/socket.h configure:11915: result: yes configure:11927: checking ws2tcpip.h usability configure:11927: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:11927: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_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:11927: result: no configure:11927: checking ws2tcpip.h presence configure:11927: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/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:11927: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_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:11927: result: no configure:11927: checking for ws2tcpip.h configure:11927: result: no configure:11944: checking for long long configure:11944: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11944: $? = 0 configure:11944: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:11944: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_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:11944: result: yes configure:11955: checking size of long long configure:11960: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11960: $? = 0 configure:11960: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:11960: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:11960: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:11960: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:11960: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:11960: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:11960: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:11960: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_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:11960: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11960: $? = 0 configure:11960: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11960: $? = 0 configure:11960: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11960: $? = 0 configure:11960: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11960: $? = 0 configure:11974: result: 8 configure:11988: checking whether basename is declared configure:11988: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11988: $? = 0 configure:11988: result: yes configure:11998: checking whether ffs is declared configure:11998: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11998: $? = 0 configure:11998: result: yes configure:12008: checking whether asprintf is declared configure:12008: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12008: $? = 0 configure:12008: result: yes configure:12018: checking whether vasprintf is declared configure:12018: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12018: $? = 0 configure:12018: result: yes configure:12028: checking whether snprintf is declared configure:12028: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12028: $? = 0 configure:12028: result: yes configure:12038: checking whether vsnprintf is declared configure:12038: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12038: $? = 0 configure:12038: result: yes configure:12049: checking whether strtol is declared configure:12049: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12049: $? = 0 configure:12049: result: yes configure:12059: checking whether strtoul is declared configure:12059: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12059: $? = 0 configure:12059: result: yes configure:12069: checking whether strtoll is declared configure:12069: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12069: $? = 0 configure:12069: result: yes configure:12079: checking whether strtoull is declared configure:12079: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12079: $? = 0 configure:12079: result: yes configure:12090: checking whether strverscmp is declared configure:12090: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12090: $? = 0 configure:12090: result: yes configure:12103: checking whether snprintf is declared configure:12103: result: yes configure:12115: checking for LC_MESSAGES configure:12131: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12131: $? = 0 configure:12139: result: yes configure:12152: checking for socklen_t configure:12152: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12152: $? = 0 configure:12152: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:12152: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define 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:12152: result: yes configure:12174: checking for an ANSI C-conforming const configure:12240: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12240: $? = 0 configure:12247: result: yes configure:12255: checking for inline configure:12271: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12271: $? = 0 configure:12279: result: inline configure:12297: checking whether byte ordering is bigendian configure:12312: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:12312: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define 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:12357: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12357: $? = 0 configure:12375: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:12375: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define 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:12503: result: no configure:12535: checking for getuid configure:12535: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12535: $? = 0 configure:12535: result: yes configure:12535: checking for getgid configure:12535: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12535: $? = 0 configure:12535: result: yes configure:12535: checking for pipe configure:12535: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12535: $? = 0 configure:12535: result: yes configure:12535: checking for pread configure:12535: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12535: $? = 0 configure:12535: result: yes configure:12535: checking for pread64 configure:12535: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12535: $? = 0 configure:12535: result: yes configure:12535: checking for pwrite configure:12535: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12535: $? = 0 configure:12535: result: yes configure:12535: checking for resize_term configure:12535: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12535: $? = 0 configure:12535: result: yes configure:12535: checking for getpgid configure:12535: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12535: $? = 0 configure:12535: result: yes configure:12535: checking for setsid configure:12535: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12535: $? = 0 configure:12535: result: yes configure:12535: checking for sigaction configure:12535: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12535: $? = 0 configure:12535: result: yes configure:12535: checking for sigsetmask configure:12535: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccubsowZ.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `sigsetmask' collect2: error: ld returned 1 exit status configure:12535: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define 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:12535: result: no configure:12535: checking for socketpair configure:12535: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12535: $? = 0 configure:12535: result: yes configure:12535: checking for ttrace configure:12535: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccsTXhNS.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `ttrace' collect2: error: ld returned 1 exit status configure:12535: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define 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:12535: result: no configure:12535: checking for wborder configure:12535: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12535: $? = 0 configure:12535: result: yes configure:12535: checking for wresize configure:12535: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12535: $? = 0 configure:12535: result: yes configure:12535: checking for setlocale configure:12535: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12535: $? = 0 configure:12535: result: yes configure:12535: checking for iconvlist configure:12535: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccDSzeM5.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `iconvlist' collect2: error: ld returned 1 exit status configure:12535: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #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:12535: result: no configure:12535: checking for libiconvlist configure:12535: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccEDBFnc.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `libiconvlist' collect2: error: ld returned 1 exit status configure:12535: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #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:12535: result: no configure:12535: checking for btowc configure:12535: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12535: $? = 0 configure:12535: result: yes configure:12535: checking for setrlimit configure:12535: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12535: $? = 0 configure:12535: result: yes configure:12535: checking for getrlimit configure:12535: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12535: $? = 0 configure:12535: result: yes configure:12535: checking for posix_madvise configure:12535: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12535: $? = 0 configure:12535: result: yes configure:12535: checking for waitpid configure:12535: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12535: $? = 0 configure:12535: result: yes configure:12535: checking for use_default_colors configure:12535: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12535: $? = 0 configure:12535: result: yes configure:12545: checking for nl_langinfo and CODESET configure:12561: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12561: $? = 0 configure:12570: result: yes configure:12578: checking for size_t configure:12578: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12578: $? = 0 configure:12578: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:12578: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #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:12578: result: yes configure:12595: checking for stdlib.h configure:12595: result: yes configure:12595: checking for unistd.h configure:12595: result: yes configure:12595: checking for sys/param.h configure:12595: result: yes configure:12612: checking for pid_t configure:12612: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12612: $? = 0 configure:12612: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:12612: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_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:12612: result: yes configure:12623: checking for a sed that does not truncate output configure:12687: result: /bin/sed configure:12696: checking for ANSI C header files configure:12800: result: yes configure:12810: checking for working alloca.h configure:12827: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12827: $? = 0 configure:12835: result: yes configure:12843: checking for alloca configure:12880: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12880: $? = 0 configure:12888: result: yes configure:13006: checking for nl_langinfo and CODESET configure:13031: result: yes configure:13043: checking linux/perf_event.h usability configure:13043: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:13043: $? = 0 configure:13043: result: yes configure:13043: checking linux/perf_event.h presence configure:13043: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:13043: $? = 0 configure:13043: result: yes configure:13043: checking for linux/perf_event.h configure:13043: result: yes configure:13043: checking locale.h usability configure:13043: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:13043: $? = 0 configure:13043: result: yes configure:13043: checking locale.h presence configure:13043: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:13043: $? = 0 configure:13043: result: yes configure:13043: checking for locale.h configure:13043: result: yes configure:13043: checking for memory.h configure:13043: result: yes configure:13043: checking signal.h usability configure:13043: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:13043: $? = 0 configure:13043: result: yes configure:13043: checking signal.h presence configure:13043: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:13043: $? = 0 configure:13043: result: yes configure:13043: checking for signal.h configure:13043: result: yes configure:13043: checking for sys/resource.h configure:13043: result: yes configure:13043: checking for sys/socket.h configure:13043: result: yes configure:13043: checking sys/un.h usability configure:13043: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:13043: $? = 0 configure:13043: result: yes configure:13043: checking sys/un.h presence configure:13043: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:13043: $? = 0 configure:13043: result: yes configure:13043: checking for sys/un.h configure:13043: result: yes configure:13043: checking sys/wait.h usability configure:13043: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:13043: $? = 0 configure:13043: result: yes configure:13043: checking sys/wait.h presence configure:13043: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:13043: $? = 0 configure:13043: result: yes configure:13043: checking for sys/wait.h configure:13043: result: yes configure:13043: checking for thread_db.h configure:13043: result: no configure:13043: checking wait.h usability configure:13043: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 In file included from conftest.c:148: /home/buildroot/autobuild/run/instance-2/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:13043: $? = 0 configure:13043: result: yes configure:13043: checking wait.h presence configure:13043: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c In file included from conftest.c:115: /home/buildroot/autobuild/run/instance-2/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:13043: $? = 0 configure:13043: result: yes configure:13043: checking for wait.h configure:13043: result: yes configure:13043: checking for termios.h configure:13043: result: yes configure:13043: checking for dlfcn.h configure:13043: result: yes configure:13043: checking linux/elf.h usability configure:13043: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:13043: $? = 0 configure:13043: result: yes configure:13043: checking linux/elf.h presence configure:13043: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:13043: $? = 0 configure:13043: result: yes configure:13043: checking for linux/elf.h configure:13043: result: yes configure:13043: checking proc_service.h usability configure:13043: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:13043: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_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:13043: result: no configure:13043: checking proc_service.h presence configure:13043: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/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:13043: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_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:13043: result: no configure:13043: checking for proc_service.h configure:13043: result: no configure:13043: checking poll.h usability configure:13043: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:13043: $? = 0 configure:13043: result: yes configure:13043: checking poll.h presence configure:13043: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:13043: $? = 0 configure:13043: result: yes configure:13043: checking for poll.h configure:13043: result: yes configure:13043: checking sys/poll.h usability configure:13043: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 In file included from conftest.c:153: /home/buildroot/autobuild/run/instance-2/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:13043: $? = 0 configure:13043: result: yes configure:13043: checking sys/poll.h presence configure:13043: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c In file included from conftest.c:120: /home/buildroot/autobuild/run/instance-2/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:13043: $? = 0 configure:13043: result: yes configure:13043: checking for sys/poll.h configure:13043: result: yes configure:13043: checking sys/select.h usability configure:13043: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:13043: $? = 0 configure:13043: result: yes configure:13043: checking sys/select.h presence configure:13043: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:13043: $? = 0 configure:13043: result: yes configure:13043: checking for sys/select.h configure:13043: result: yes configure:13057: checking for getpagesize configure:13057: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:13057: $? = 0 configure:13057: result: yes configure:13066: checking for working mmap configure:13223: result: no configure:13234: checking vfork.h usability configure:13234: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:13234: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_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:13234: result: no configure:13234: checking vfork.h presence configure:13234: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/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:13234: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_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:13234: result: no configure:13234: checking for vfork.h configure:13234: result: no configure:13247: checking for fork configure:13247: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:13247: $? = 0 configure:13247: result: yes configure:13247: checking for vfork configure:13247: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:13247: $? = 0 configure:13247: result: yes configure:13257: checking for working fork configure:13289: result: cross configure:13305: WARNING: result yes guessed because of cross compilation configure:13310: checking for working vfork configure:13420: result: yes configure:13450: checking for fdwalk configure:13450: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cc2wP0Qg.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `fdwalk' collect2: error: ld returned 1 exit status configure:13450: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_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:13450: result: no configure:13450: checking for getrlimit configure:13450: result: yes configure:13450: checking for pipe configure:13450: result: yes configure:13450: checking for pipe2 configure:13450: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:13450: $? = 0 configure:13450: result: yes configure:13450: checking for poll configure:13450: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:13450: $? = 0 configure:13450: result: yes configure:13450: checking for socketpair configure:13450: result: yes configure:13450: checking for sigaction configure:13450: result: yes configure:13450: checking for ptrace64 configure:13450: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccXyEB2n.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `ptrace64' collect2: error: ld returned 1 exit status configure:13450: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #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:13450: result: no configure:13450: checking for sbrk configure:13450: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:13450: $? = 0 configure:13450: result: yes configure:13450: checking for setns configure:13450: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:13450: $? = 0 configure:13450: result: yes configure:13450: checking for sigaltstack configure:13450: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:13450: $? = 0 configure:13450: result: yes configure:13450: checking for sigprocmask configure:13450: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:13450: $? = 0 configure:13450: result: yes configure:13450: checking for setpgid configure:13450: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:13450: $? = 0 configure:13450: result: yes configure:13450: checking for setpgrp configure:13450: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:13450: $? = 0 configure:13450: result: yes configure:13450: checking for getrusage configure:13450: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:13450: $? = 0 configure:13450: result: yes configure:13450: checking for getauxval configure:13450: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:13450: $? = 0 configure:13450: result: yes configure:13460: checking whether ADDR_NO_RANDOMIZE is declared configure:13460: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:13460: $? = 0 configure:13460: result: yes configure:13492: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:13492: $? = 0 configure:13534: checking whether strstr is declared configure:13534: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:13534: $? = 0 configure:13534: result: yes configure:13550: checking for struct stat.st_blocks configure:13550: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:13550: $? = 0 configure:13550: result: yes configure:13559: checking for struct stat.st_blksize configure:13559: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:13559: $? = 0 configure:13559: result: yes configure:13570: checking for library containing kinfo_getfile configure:13601: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cc5kxvNQ.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `kinfo_getfile' collect2: error: ld returned 1 exit status configure:13601: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 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:13601: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lutil -lncursesw -lm >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccaBhtPT.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `kinfo_getfile' collect2: error: ld returned 1 exit status configure:13601: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 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:13601: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lutil-freebsd -lncursesw -lm >&5 /home/buildroot/autobuild/run/instance-2/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:13601: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 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:13618: result: no configure:13820: checking whether /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc is Clang configure:13845: result: no configure:13968: checking whether pthreads work with -pthread configure:14062: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -pthread -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:14062: $? = 0 configure:14071: result: yes configure:14090: checking for joinable pthread attribute configure:14108: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -pthread -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:14108: $? = 0 configure:14116: result: PTHREAD_CREATE_JOINABLE configure:14130: checking whether more special flags are required for pthreads configure:14143: result: no configure:14151: checking for PTHREAD_PRIO_INHERIT configure:14167: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -pthread -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:14167: $? = 0 configure:14176: result: yes configure:14281: checking for std::thread configure:14298: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-g++ -c -pthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:14298: $? = 0 configure:14305: result: yes configure:14313: checking for pthread_sigmask configure:14313: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-g++ -o conftest -pthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp -lncursesw -lm >&5 configure:14313: $? = 0 configure:14313: result: yes configure:14313: checking for pthread_setname_np configure:14313: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-g++ -o conftest -pthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp -lncursesw -lm >&5 configure:14313: $? = 0 configure:14313: result: yes configure:14338: checking for sigsetjmp configure:14356: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:14356: $? = 0 configure:14363: result: yes configure:14379: checking whether to use intel pt configure:14381: result: auto configure:14398: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:14398: $? = 0 configure:14838: checking for libipt configure:14857: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:14857: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_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:14867: result: no configure:14894: WARNING: libipt is missing or unusable; some features may be unavailable. configure:14941: checking sys/procfs.h usability configure:14941: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:14941: $? = 0 configure:14941: result: yes configure:14941: checking sys/procfs.h presence configure:14941: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:14941: $? = 0 configure:14941: result: yes configure:14941: checking for sys/procfs.h configure:14941: result: yes configure:14953: checking for gregset_t in sys/procfs.h configure:14971: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:14971: $? = 0 configure:14985: result: yes configure:14989: checking for fpregset_t in sys/procfs.h configure:15007: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:15007: $? = 0 configure:15021: result: yes configure:15025: checking for prgregset_t in sys/procfs.h configure:15043: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:15043: $? = 0 configure:15057: result: yes configure:15061: checking for prfpregset_t in sys/procfs.h configure:15079: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:15079: $? = 0 configure:15093: result: yes configure:15097: checking for prgregset32_t in sys/procfs.h configure:15115: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:15115: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_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:15129: result: no configure:15133: checking for lwpid_t in sys/procfs.h configure:15151: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:15151: $? = 0 configure:15165: result: yes configure:15169: checking for psaddr_t in sys/procfs.h configure:15187: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:15187: $? = 0 configure:15201: result: yes configure:15205: checking for elf_fpregset_t in sys/procfs.h configure:15223: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:15223: $? = 0 configure:15237: result: yes configure:15249: checking for sys/ptrace.h configure:15249: result: yes configure:15249: checking for ptrace.h configure:15249: result: no configure:15272: checking return type of ptrace configure:15288: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15288: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_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:15302: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15302: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_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:15311: result: long configure:15319: checking types of arguments for ptrace configure:15336: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15336: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15358: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15378: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-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: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15378: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15395: result: int,int,long,long configure:15467: checking whether setpgrp takes no argument configure:15490: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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: /home/buildroot/autobuild/run/instance-2/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:15490: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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:15497: result: yes configure:15510: checking for GNU regex configure:15529: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:15529: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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:15536: result: no configure:15557: checking for struct thread.td_pcb configure:15557: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:15557: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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:15557: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:15557: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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:15557: result: no configure:15572: checking for struct lwp configure:15590: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:15590: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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:15597: result: no configure:15606: checking for struct reg in machine/reg.h configure:15623: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:15623: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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:15630: result: no configure:15640: checking for struct reg.r_fs configure:15640: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:15640: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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:15640: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:15640: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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:15640: result: no configure:15651: checking for struct reg.r_gs configure:15651: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:15651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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:15651: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:15651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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:15651: result: no configure:15665: checking for PTRACE_GETREGS configure:15681: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:15681: $? = 0 configure:15689: result: yes configure:15698: checking for PTRACE_GETFPXREGS configure:15714: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:15714: $? = 0 configure:15722: result: yes configure:15731: checking for PT_GETDBREGS configure:15748: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:15748: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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:15756: result: no configure:15765: checking for PT_GETXMMREGS configure:15782: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:15782: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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:15790: result: no configure:15801: checking for struct ptrace_lwpinfo.pl_tdname configure:15801: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:15801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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:15801: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:15801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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:15801: result: no configure:15816: checking for struct ptrace_lwpinfo.pl_syscall_code configure:15816: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:15816: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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:15816: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:15816: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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:15816: result: no configure:15830: checking for long long support in compiler configure:15846: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:15846: $? = 0 configure:15853: result: yes configure:15862: checking for long long support in printf configure:15898: result: no configure:15908: checking for decfloat support in printf configure:15942: result: no configure:15955: checking for long double support in compiler configure:15964: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:15964: $? = 0 configure:15971: result: yes configure:15981: checking for long double support in printf configure:16013: result: no configure:16023: checking for long double support in scanf configure:16055: result: no configure:16106: checking for the dynamic export flag configure:16129: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include -Wl,--dynamic-list=../../gdb/proc-service.list conftest.c -lncursesw -lm >&5 configure:16129: $? = 0 configure:16190: result: -Wl,--dynamic-list configure:16609: checking compiler warning flags configure:16671: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Werror -Wall -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16671: $? = 0 configure:16671: /home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16671: $? = 0 configure:16671: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Werror -Wunused -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16671: $? = 0 configure:16671: /home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16671: $? = 0 configure:16655: /home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16655: $? = 0 configure:16671: /home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16671: $? = 0 configure:16671: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Werror -Wswitch -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16671: $? = 0 configure:16671: /home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16671: $? = 0 configure:16671: /home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16671: $? = 0 configure:16671: /home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16671: $? = 0 configure:16671: /home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16671: $? = 0 configure:16671: /home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16671: $? = 0 configure:16671: /home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16671: $? = 0 configure:16671: /home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16671: $? = 0 configure:16671: /home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/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:16671: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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:16671: /home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16671: $? = 0 configure:16671: /home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16671: $? = 0 configure:16671: /home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16671: $? = 0 configure:16671: /home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16671: $? = 0 configure:16671: /home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16671: $? = 0 configure:16671: /home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16671: $? = 0 configure:16671: /home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16671: $? = 0 configure:16671: /home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16671: $? = 0 configure:16671: /home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/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:16671: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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:16671: /home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16671: $? = 0 configure:16671: /home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16671: $? = 0 configure:16680: 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:16752: checking for cygwin configure:16773: result: no configure:16813: checking for ELF support in BFD configure:16832: /home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/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:16832: $? = 0 configure:16840: result: yes configure:16852: checking for library containing dlopen configure:16900: result: none required configure:16924: checking for Mach-O support in BFD configure:16943: /home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include -L../bfd -L../libiberty -L../zlib conftest.c -lbfd -liberty -lz -lncursesw -lm >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccHvDDQM.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:16943: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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:16951: result: no configure:16973: checking whether to use lzma configure:16975: result: yes configure:17404: checking for liblzma configure:17425: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/liblzma.so -lpthread -Wl,-rpath -Wl,/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib >&5 configure:17425: $? = 0 configure:17435: result: yes configure:17442: checking how to link with liblzma configure:17444: result: /home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/liblzma.so -lpthread -Wl,-rpath -Wl,/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib configure:17991: checking for X configure:18169: result: disabled configure:18303: checking whether to use babeltrace configure:18305: result: auto configure:18745: checking for libbabeltrace configure:18775: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Werror -I/home/buildroot/autobuild/run/instance-2/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:18775: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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:18785: result: no configure:18814: WARNING: babeltrace is missing or unusable; GDB is unable to read CTF data. configure:19291: checking for libxxhash configure:19311: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/home/buildroot/autobuild/run/instance-2/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:19311: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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:19321: result: no configure:19354: checking whether to use xxhash configure:19356: result: no configure:19382: checking for xsltproc configure:19415: result: no configure:19559: updating cache ./config.cache configure:19621: 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 ns304657.ip-46-105-103.eu config.status:1219: creating jit-reader.h config.status:1219: creating gcore config.status:1219: creating Makefile config.status:1219: creating gdb-gdb.gdb config.status:1219: creating gdb-gdb.py config.status:1219: creating doc/Makefile config.status:1219: creating data-directory/Makefile config.status:1219: creating config.h config.status:1410: linking ../../gdb/config/nm-linux.h to nm.h config.status:1429: executing depdir commands configure:20956: === configuring in testsuite (/home/buildroot/autobuild/run/instance-2/output-1/build/gdb-10.1/build/gdb/testsuite) configure:21019: running /bin/sh ../../../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=/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr' '--with-lzma' '--with-liblzma-prefix=/home/buildroot/autobuild/run/instance-2/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=/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 ' 'LDFLAGS= ' 'CXX=/home/buildroot/autobuild/run/instance-2/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=/home/buildroot/autobuild/run/instance-2/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=/home/buildroot/autobuild/run/instance-2/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='/bin/grep -E' ac_cv_path_GREP=/bin/grep ac_cv_path_SED=/bin/sed ac_cv_path_ac_pt_PKG_CONFIG=/home/buildroot/autobuild/run/instance-2/output-1/host/bin/pkg-config ac_cv_path_pkg_config_prog_path=/home/buildroot/autobuild/run/instance-2/output-1/host/bin/pkg-config ac_cv_prog_AR=/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-ar ac_cv_prog_AWK=mawk ac_cv_prog_CC=/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc ac_cv_prog_CPP='/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E' ac_cv_prog_DLLTOOL=riscv64-buildroot-linux-musl-dlltool ac_cv_prog_RANLIB=/home/buildroot/autobuild/run/instance-2/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=/home/buildroot/autobuild/run/instance-2/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='/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-ar' AWK='mawk' CATALOGS='' CATOBJEXT='' CC='/home/buildroot/autobuild/run/instance-2/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='/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -E' CPPFLAGS='-I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include' CTF_DEPS='../libctf/.libs/libctf.a' CXX='/home/buildroot/autobuild/run/instance-2/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='/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='/home/buildroot/autobuild/run/instance-2/output-1/host/bin/msgfmt' GREP='/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='/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/libexpat.so -Wl,-rpath -Wl,/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib' LIBGUI='../libgui/src/libgui.a' LIBICONV='' LIBINTL='' LIBINTL_DEP='' LIBIPT='' LIBLZMA='/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/liblzma.so -lpthread -Wl,-rpath -Wl,/home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib -lexpat -R/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib' LTLIBICONV='' LTLIBIPT='' LTLIBLZMA='-L/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib -llzma -lpthread -R/home/buildroot/autobuild/run/instance-2/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='/home/buildroot/autobuild/run/instance-2/output-1/host/bin/pkg-config' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='' POSUB='' PROFILE_CFLAGS='' PTHREAD_CC='/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc' PTHREAD_CFLAGS='-pthread' PTHREAD_LIBS='' PYTHON_CFLAGS='' PYTHON_CPPFLAGS='' PYTHON_LIBS='' RANLIB='/home/buildroot/autobuild/run/instance-2/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='/bin/sed' SER_HARDWIRE='ser-base.o ser-unix.o ser-pipe.o ser-tcp.o ser-uds.o' SHELL='/bin/sh' 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='/home/buildroot/autobuild/run/instance-2/output-1/host/bin/xgettext' XMKMF='' XM_CLIBS='' XSLTPROC='missing' X_CFLAGS='' X_LDFLAGS='' X_LIBS='' YACC='bison -y' YFLAGS='' ac_ct_CC='' ac_ct_CXX='' am__leading_dot='.' ax_pthread_config='' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='x86_64-pc-linux-gnu' build_cpu='x86_64' build_os='linux-gnu' build_vendor='pc' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE}' dvidir='${docdir}' exec_prefix='/usr' host='riscv64-buildroot-linux-musl' host_alias='riscv64-buildroot-linux-musl' host_cpu='riscv64' host_os='linux-musl' host_vendor='buildroot' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/buildroot/autobuild/run/instance-2/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='/home/buildroot/autobuild/run/instance-2/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