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.64. Invocation command line was $ /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/gdb-7.11.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-shared --without-uiout --disable-gdbtk --without-x --disable-sim --disable-binutils --disable-install-libbfd --disable-ld --disable-gas --with-curses --without-included-gettext --disable-werror --enable-static --disable-tui --without-python --with-expat --with-libexpat-prefix=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr --without-lzma --with-zlib --program-transform-name=s&^&& --disable-option-checking --build=x86_64-pc-linux-gnu --host=x86_64-buildroot-linux-musl --target=x86_64-buildroot-linux-musl ## --------- ## ## Platform. ## ## --------- ## hostname = linuxtest5810 uname -m = x86_64 uname -r = 3.10.0-693.11.6.el7.x86_64 uname -s = Linux uname -v = #1 SMP Thu Dec 28 14:23:39 EST 2017 /usr/bin/uname -p = x86_64 /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin PATH: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/sbin PATH: /usr/lib64/qt-3.3/bin PATH: /usr/local/bin PATH: /usr/local/sbin PATH: /usr/bin PATH: /usr/sbin PATH: /bin PATH: /sbin PATH: /accts/mlweber1/bin PATH: /accts/mlweber1/libexec/git-core PATH: /accts/mlweber1/usr/bin PATH: /accts/mlweber1/usr/local/bin PATH: /accts/mlweber1/bin PATH: /accts/mlweber1/libexec/git-core PATH: /accts/mlweber1/usr/bin PATH: /accts/mlweber1/usr/local/bin PATH: /accts/mlweber1/bin PATH: /accts/mlweber1/libexec/git-core PATH: /accts/mlweber1/usr/bin PATH: /accts/mlweber1/usr/local/bin PATH: /accts/mlweber1/bin PATH: /accts/mlweber1/libexec/git-core PATH: /accts/mlweber1/usr/bin PATH: /accts/mlweber1/usr/local/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2727: creating cache ./config.cache configure:2806: checking whether to enable maintainer-specific portions of Makefiles configure:2815: result: no configure:2840: checking for x86_64-buildroot-linux-musl-gcc configure:2867: result: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc configure:3136: checking for C compiler version configure:3145: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc --version >&5 x86_64-linux-gcc.br_real (Buildroot 2017.11-rc1) 6.4.0 Copyright (C) 2017 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:3156: $? = 0 configure:3145: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -v >&5 Using built-in specs. COLLECT_GCC=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/opt/ext-toolchain/bin/x86_64-linux-gcc.br_real COLLECT_LTO_WRAPPER=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/opt/ext-toolchain/bin/../libexec/gcc/x86_64-buildroot-linux-musl/6.4.0/lto-wrapper Target: x86_64-buildroot-linux-musl Configured with: ./configure --prefix=/opt/br-x86-64-musl-2017.11-rc1 --sysconfdir=/opt/br-x86-64-musl-2017.11-rc1/etc --enable-static --target=x86_64-buildroot-linux-musl --with-sysroot=/opt/br-x86-64-musl-2017.11-rc1/x86_64-buildroot-linux-musl/sysroot --disable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --with-gmp=/opt/br-x86-64-musl-2017.11-rc1 --with-mpc=/opt/br-x86-64-musl-2017.11-rc1 --with-mpfr=/opt/br-x86-64-musl-2017.11-rc1 --with-pkgversion='Buildroot 2017.11-rc1' --with-bugurl=http://bugs.buildroot.net/ --disable-libmpx --enable-libquadmath --disable-libsanitizer --enable-tls --disable-libmudflap --enable-threads --without-isl --without-cloog --disable-decimal-float --with-arch=atom --enable-languages=c,c++ --with-build-time-tools=/opt/br-x86-64-musl-2017.11-rc1/x86_64-buildroot-linux-musl/bin --enable-shared --disable-libgomp Thread model: posix gcc version 6.4.0 (Buildroot 2017.11-rc1) configure:3156: $? = 0 configure:3145: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -V >&5 x86_64-linux-gcc.br_real: error: unrecognized command line option '-V' x86_64-linux-gcc.br_real: fatal error: no input files compilation terminated. configure:3156: $? = 1 configure:3145: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -qversion >&5 x86_64-linux-gcc.br_real: error: unrecognized command line option '-qversion'; did you mean '--version'? x86_64-linux-gcc.br_real: fatal error: no input files compilation terminated. configure:3156: $? = 1 configure:3176: checking for C compiler default output file name configure:3198: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static-libstdc++ -static-libgcc -static conftest.c >&5 configure:3202: $? = 0 configure:3239: result: a.out configure:3255: checking whether the C compiler works configure:3283: result: yes configure:3290: checking whether we are cross compiling configure:3292: result: yes configure:3295: checking for suffix of executables configure:3302: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static-libstdc++ -static-libgcc -static conftest.c >&5 configure:3306: $? = 0 configure:3328: result: configure:3334: checking for suffix of object files configure:3356: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:3360: $? = 0 configure:3381: result: o configure:3385: checking whether we are using the GNU C compiler configure:3404: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:3404: $? = 0 configure:3413: result: yes configure:3422: checking whether /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc accepts -g configure:3442: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -g conftest.c >&5 configure:3442: $? = 0 configure:3483: result: yes configure:3500: checking for /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc option to accept ISO C89 configure:3564: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:3564: $? = 0 configure:3577: result: none needed configure:3709: checking for C++ compiler version configure:3718: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-g++ --version >&5 x86_64-linux-g++.br_real (Buildroot 2017.11-rc1) 6.4.0 Copyright (C) 2017 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:3729: $? = 0 configure:3718: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-g++ -v >&5 Using built-in specs. COLLECT_GCC=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/opt/ext-toolchain/bin/x86_64-linux-g++.br_real COLLECT_LTO_WRAPPER=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/opt/ext-toolchain/bin/../libexec/gcc/x86_64-buildroot-linux-musl/6.4.0/lto-wrapper Target: x86_64-buildroot-linux-musl Configured with: ./configure --prefix=/opt/br-x86-64-musl-2017.11-rc1 --sysconfdir=/opt/br-x86-64-musl-2017.11-rc1/etc --enable-static --target=x86_64-buildroot-linux-musl --with-sysroot=/opt/br-x86-64-musl-2017.11-rc1/x86_64-buildroot-linux-musl/sysroot --disable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --with-gmp=/opt/br-x86-64-musl-2017.11-rc1 --with-mpc=/opt/br-x86-64-musl-2017.11-rc1 --with-mpfr=/opt/br-x86-64-musl-2017.11-rc1 --with-pkgversion='Buildroot 2017.11-rc1' --with-bugurl=http://bugs.buildroot.net/ --disable-libmpx --enable-libquadmath --disable-libsanitizer --enable-tls --disable-libmudflap --enable-threads --without-isl --without-cloog --disable-decimal-float --with-arch=atom --enable-languages=c,c++ --with-build-time-tools=/opt/br-x86-64-musl-2017.11-rc1/x86_64-buildroot-linux-musl/bin --enable-shared --disable-libgomp Thread model: posix gcc version 6.4.0 (Buildroot 2017.11-rc1) configure:3729: $? = 0 configure:3718: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-g++ -V >&5 x86_64-linux-g++.br_real: error: unrecognized command line option '-V' x86_64-linux-g++.br_real: fatal error: no input files compilation terminated. configure:3729: $? = 1 configure:3718: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-g++ -qversion >&5 x86_64-linux-g++.br_real: error: unrecognized command line option '-qversion'; did you mean '--version'? x86_64-linux-g++.br_real: fatal error: no input files compilation terminated. configure:3729: $? = 1 configure:3733: checking whether we are using the GNU C++ compiler configure:3752: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static conftest.cpp >&5 configure:3752: $? = 0 configure:3761: result: yes configure:3770: checking whether /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-g++ accepts -g configure:3790: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-g++ -c -g conftest.cpp >&5 configure:3790: $? = 0 configure:3831: result: yes configure:3861: checking how to run the C preprocessor configure:3892: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E conftest.c configure:3892: $? = 0 configure:3906: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E conftest.c conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory #include ^ compilation terminated. configure:3906: $? = 1 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:3931: result: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E configure:3951: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E conftest.c configure:3951: $? = 0 configure:3965: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E conftest.c conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory #include ^ compilation terminated. configure:3965: $? = 1 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:3994: checking for grep that handles long lines and -e configure:4052: result: /usr/bin/grep configure:4057: checking for egrep configure:4119: result: /usr/bin/grep -E configure:4124: checking for ANSI C header files configure:4144: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:4144: $? = 0 configure:4228: result: yes configure:4241: checking for sys/types.h configure:4241: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:4241: $? = 0 configure:4241: result: yes configure:4241: checking for sys/stat.h configure:4241: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:4241: $? = 0 configure:4241: result: yes configure:4241: checking for stdlib.h configure:4241: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:4241: $? = 0 configure:4241: result: yes configure:4241: checking for string.h configure:4241: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:4241: $? = 0 configure:4241: result: yes configure:4241: checking for memory.h configure:4241: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:4241: $? = 0 configure:4241: result: yes configure:4241: checking for strings.h configure:4241: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:4241: $? = 0 configure:4241: result: yes configure:4241: checking for inttypes.h configure:4241: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:4241: $? = 0 configure:4241: result: yes configure:4241: checking for stdint.h configure:4241: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:4241: $? = 0 configure:4241: result: yes configure:4241: checking for unistd.h configure:4241: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:4241: $? = 0 configure:4241: result: yes configure:4255: checking minix/config.h usability configure:4255: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 conftest.c:52:26: fatal error: minix/config.h: No such file or directory #include ^ compilation terminated. configure:4255: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define 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:4255: result: no configure:4255: checking minix/config.h presence configure:4255: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E conftest.c conftest.c:19:26: fatal error: minix/config.h: No such file or directory #include ^ compilation terminated. configure:4255: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define 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:4255: result: no configure:4255: checking for minix/config.h configure:4255: result: no configure:4276: checking whether it is safe to define __EXTENSIONS__ configure:4294: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:4294: $? = 0 configure:4301: result: yes configure:4342: checking build system type configure:4356: result: x86_64-pc-linux-gnu configure:4376: checking host system type configure:4389: result: x86_64-buildroot-linux-musl configure:4409: checking target system type configure:4422: result: x86_64-buildroot-linux-musl configure:4461: checking for dlfcn.h configure:4461: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:4461: $? = 0 configure:4461: result: yes configure:4474: checking for windows.h configure:4474: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 conftest.c:59:21: fatal error: windows.h: No such file or directory #include ^ compilation terminated. configure:4474: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __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:4474: result: no configure:4501: checking for library containing dlopen configure:4532: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static-libstdc++ -static-libgcc -static conftest.c >&5 configure:4532: $? = 0 configure:4549: result: none required configure:4580: checking for special C compiler options needed for large files configure:4625: result: no configure:4631: checking for _FILE_OFFSET_BITS value needed for large files configure:4656: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:4656: $? = 0 configure:4688: result: no configure:4775: checking for /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc option to accept ANSI C configure:4833: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:4833: $? = 0 configure:4843: result: none needed configure:4874: checking for x86_64-buildroot-linux-musl-strip configure:4904: result: no configure:4914: checking for strip configure:4930: found /usr/bin/strip configure:4941: result: strip configure:4953: WARNING: using cross tools not prefixed with host triplet configure:5046: checking dependency style of /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc configure:5077: trying gcc3 | depmode=gcc3 source=sub/conftest.c object=sub/conftest.o depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo /bin/sh ./depcomp /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -o sub/conftest.o sub/conftest.c configure:5116: success configure:5131: result: gcc3 configure:5145: checking for make configure:5172: result: /usr/bin/make configure:5197: checking whether /usr/bin/make sets $(MAKE) configure:5219: result: yes configure:5305: === configuring in build-gnulib (/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/gdb-7.11.1/gdb/build-gnulib) configure:5332: running /bin/sh .././gnulib/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-shared' '--without-uiout' '--disable-gdbtk' '--without-x' '--disable-sim' '--disable-binutils' '--disable-install-libbfd' '--disable-ld' '--disable-gas' '--with-curses' '--without-included-gettext' '--disable-werror' '--enable-static' '--disable-tui' '--without-python' '--with-expat' '--with-libexpat-prefix=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr' '--without-lzma' '--with-zlib' '--program-transform-name=s&^&&' '--build=x86_64-pc-linux-gnu' '--host=x86_64-buildroot-linux-musl' '--target=x86_64-buildroot-linux-musl' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-buildroot-linux-musl' 'target_alias=x86_64-buildroot-linux-musl' 'CC=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static' 'LDFLAGS=-static-libstdc++ -static-libgcc -static' 'CXX=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-g++' 'CXXFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static' 'MAKEINFO=true --split-size=5000000' 'YACC=bison -y' --cache-file=./config.cache --srcdir=.././gnulib configure:5366: checking whether NLS is requested configure:5369: result: no configure:5457: checking whether true --split-size=5000000 supports @click configure:5469: result: yes configure:5609: checking for default auto-load directory configure:5631: result: $debugdir:$datadir/auto-load configure:5634: checking for default auto-load safe-path configure:5658: result: $debugdir:$datadir/auto-load configure:5956: checking libunwind-ia64.h usability configure:5956: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 conftest.c:68:28: fatal error: libunwind-ia64.h: No such file or directory #include ^ compilation terminated. configure:5956: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_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:5956: result: no configure:5956: checking libunwind-ia64.h presence configure:5956: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E conftest.c conftest.c:35:28: fatal error: libunwind-ia64.h: No such file or directory #include ^ compilation terminated. configure:5956: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | /* end confdefs.h. */ | #include configure:5956: result: no configure:5956: checking for libunwind-ia64.h configure:5956: result: no configure:6024: checking for monstartup configure:6024: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static-libstdc++ -static-libgcc -static conftest.c >&5 /tmp/ccRBmbcR.o: In function `main': conftest.c:(.text.startup+0x8): undefined reference to `monstartup' collect2: error: ld returned 1 exit status configure:6024: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_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:6024: result: no configure:6024: checking for _mcleanup configure:6024: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static-libstdc++ -static-libgcc -static conftest.c >&5 /tmp/cc7z0gkL.o: In function `main': conftest.c:(.text.startup+0x8): undefined reference to `_mcleanup' collect2: error: ld returned 1 exit status configure:6024: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_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:6024: result: no configure:6034: checking for _etext configure:6052: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static-libstdc++ -static-libgcc -static conftest.c >&5 conftest.c: In function 'main': conftest.c:41:1: warning: attempt to free a non-heap object '_etext' [-Wfree-nonheap-object] free (&_etext); ^~~~~~~~~~~~~~ configure:6052: $? = 0 configure:6060: result: yes configure:6067: checking for etext configure:6085: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static-libstdc++ -static-libgcc -static conftest.c >&5 conftest.c: In function 'main': conftest.c:42:1: warning: attempt to free a non-heap object 'etext' [-Wfree-nonheap-object] free (&etext); ^~~~~~~~~~~~~ configure:6085: $? = 0 configure:6093: result: yes configure:6205: checking for gawk configure:6232: result: gawk configure:6257: checking for a BSD-compatible install configure:6325: result: /usr/bin/install -c configure:6336: checking whether ln -s works configure:6340: result: yes configure:6350: checking for x86_64-buildroot-linux-musl-ranlib configure:6377: result: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-ranlib configure:6443: checking for bison configure:6470: result: bison -y configure:6486: checking for x86_64-buildroot-linux-musl-ar configure:6513: result: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-ar configure:6578: checking for x86_64-buildroot-linux-musl-dlltool configure:6605: result: x86_64-buildroot-linux-musl-dlltool configure:6670: checking for x86_64-buildroot-linux-musl-windres configure:6697: result: x86_64-buildroot-linux-musl-windres configure:6866: checking for main in -lm configure:6885: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static-libstdc++ -static-libgcc -static conftest.c -lm >&5 configure:6885: $? = 0 configure:6894: result: yes configure:6910: checking for wctype configure:6910: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static-libstdc++ -static-libgcc -static conftest.c -lm >&5 configure:6910: $? = 0 configure:6910: result: yes configure:6963: checking for library containing gethostbyname configure:6994: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static-libstdc++ -static-libgcc -static conftest.c -lm >&5 configure:6994: $? = 0 configure:7011: result: none required configure:7021: checking for library containing socketpair configure:7052: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static-libstdc++ -static-libgcc -static conftest.c -lm >&5 configure:7052: $? = 0 configure:7069: result: none required configure:7098: checking for library containing kinfo_getvmmap configure:7129: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static-libstdc++ -static-libgcc -static conftest.c -lm >&5 /tmp/ccFYR7Nc.o: In function `main': conftest.c:(.text.startup+0x8): undefined reference to `kinfo_getvmmap' collect2: error: ld returned 1 exit status configure:7129: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_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:7129: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static-libstdc++ -static-libgcc -static conftest.c -lutil -lm >&5 /tmp/cc9hTY3i.o: In function `main': conftest.c:(.text.startup+0x8): undefined reference to `kinfo_getvmmap' collect2: error: ld returned 1 exit status configure:7129: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_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:7146: result: no configure:7197: checking for ld used by GCC configure:7260: result: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-ld configure:7267: checking if the linker (/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-ld) is GNU ld GNU ld (GNU Binutils) 2.28.1 configure:7279: result: yes configure:7285: checking for shared library run path origin configure:7298: result: done configure:7703: checking for iconv configure:7727: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static-libstdc++ -static-libgcc -static conftest.c -lm >&5 configure:7727: $? = 0 configure:7801: result: yes configure:7844: checking for iconv declaration configure:7873: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:7873: $? = 0 configure:7884: result: install-shextern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); configure:7960: checking for library containing waddstr configure:7991: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static-libstdc++ -static-libgcc -static conftest.c -lm >&5 /tmp/ccuns5JB.o: In function `main': conftest.c:(.text.startup+0x8): undefined reference to `waddstr' collect2: error: ld returned 1 exit status configure:7991: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__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:7991: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:7991: $? = 0 configure:8008: result: -lncurses configure:8058: checking for library containing tgetent configure:8089: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:8089: $? = 0 configure:8106: result: none required configure:8151: checking size of unsigned long long configure:8156: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:8156: $? = 0 configure:8156: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 conftest.c: In function 'main': conftest.c:78:12: error: size of array 'test_array' is negative static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long))) <= 0)]; ^~~~~~~~~~ configure:8156: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__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 0; | } configure:8156: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 conftest.c: In function 'main': conftest.c:78:12: error: size of array 'test_array' is negative static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long))) <= 1)]; ^~~~~~~~~~ configure:8156: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__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 0; | } configure:8156: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 conftest.c: In function 'main': conftest.c:78:12: error: size of array 'test_array' is negative static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long))) <= 3)]; ^~~~~~~~~~ configure:8156: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__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 0; | } configure:8156: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 conftest.c: In function 'main': conftest.c:78:12: error: size of array 'test_array' is negative static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long))) <= 7)]; ^~~~~~~~~~ configure:8156: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__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 0; | } configure:8156: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:8156: $? = 0 configure:8156: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:8156: $? = 0 configure:8156: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:8156: $? = 0 configure:8156: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:8156: $? = 0 configure:8171: result: 8 configure:8185: checking size of unsigned long configure:8190: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:8190: $? = 0 configure:8190: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 conftest.c: In function 'main': conftest.c:79:12: error: size of array 'test_array' is negative static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) <= 0)]; ^~~~~~~~~~ configure:8190: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #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 0; | } configure:8190: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 conftest.c: In function 'main': conftest.c:79:12: error: size of array 'test_array' is negative static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) <= 1)]; ^~~~~~~~~~ configure:8190: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #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 0; | } configure:8190: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 conftest.c: In function 'main': conftest.c:79:12: error: size of array 'test_array' is negative static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) <= 3)]; ^~~~~~~~~~ configure:8190: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #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 0; | } configure:8190: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 conftest.c: In function 'main': conftest.c:79:12: error: size of array 'test_array' is negative static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) <= 7)]; ^~~~~~~~~~ configure:8190: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #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 0; | } configure:8190: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:8190: $? = 0 configure:8190: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:8190: $? = 0 configure:8190: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:8190: $? = 0 configure:8190: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:8190: $? = 0 configure:8205: result: 8 configure:8219: checking size of unsigned __int128 configure:8224: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:8224: $? = 0 configure:8224: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 conftest.c: In function 'main': conftest.c:80:12: error: size of array 'test_array' is negative static int test_array [1 - 2 * !(((long int) (sizeof (unsigned __int128))) <= 0)]; ^~~~~~~~~~ configure:8224: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_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 0; | } configure:8224: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 conftest.c: In function 'main': conftest.c:80:12: error: size of array 'test_array' is negative static int test_array [1 - 2 * !(((long int) (sizeof (unsigned __int128))) <= 1)]; ^~~~~~~~~~ configure:8224: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_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 0; | } configure:8224: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 conftest.c: In function 'main': conftest.c:80:12: error: size of array 'test_array' is negative static int test_array [1 - 2 * !(((long int) (sizeof (unsigned __int128))) <= 3)]; ^~~~~~~~~~ configure:8224: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_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 0; | } configure:8224: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 conftest.c: In function 'main': conftest.c:80:12: error: size of array 'test_array' is negative static int test_array [1 - 2 * !(((long int) (sizeof (unsigned __int128))) <= 7)]; ^~~~~~~~~~ configure:8224: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_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 0; | } configure:8224: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 conftest.c: In function 'main': conftest.c:80:12: error: size of array 'test_array' is negative static int test_array [1 - 2 * !(((long int) (sizeof (unsigned __int128))) <= 15)]; ^~~~~~~~~~ configure:8224: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_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 0; | } configure:8224: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:8224: $? = 0 configure:8224: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:8224: $? = 0 configure:8224: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:8224: $? = 0 configure:8224: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:8224: $? = 0 configure:8224: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static conftest.c >&5 configure:8224: $? = 0 configure:8239: result: 16 configure:8264: checking for library containing dlopen configure:8312: result: none required configure:8376: checking whether to use expat configure:8378: result: yes configure:8796: checking for libexpat configure:8815: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/lib/libexpat.a >&5 configure:8815: $? = 0 configure:8825: result: yes configure:8832: checking how to link with libexpat configure:8834: result: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/lib/libexpat.a configure:8860: checking for XML_StopParser configure:8860: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/lib/libexpat.a >&5 configure:8860: $? = 0 configure:8860: result: yes configure:8889: checking whether to use python configure:8891: result: no configure:8895: WARNING: python support disabled; some features may be unavailable. configure:9488: checking whether to use guile configure:9490: result: auto configure:9495: checking for pkg-config configure:9513: found /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/pkg-config configure:9526: result: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/pkg-config configure:9553: checking for usable guile from /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/pkg-config configure:9622: result: no configure:10111: checking whether to use intel pt configure:10113: result: auto configure:10130: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:10130: $? = 0 configure:10555: checking for libipt configure:10574: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm -lipt >&5 conftest.c:49:22: fatal error: intel-pt.h: No such file or directory #include "intel-pt.h" ^ compilation terminated. configure:10574: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | /* end confdefs.h. */ | #include "intel-pt.h" | int | main () | { | pt_insn_alloc_decoder (0); | ; | return 0; | } configure:10584: result: no configure:10611: WARNING: libipt is missing or unusable; some features may be unavailable. configure:10621: checking for ANSI C header files configure:10725: result: yes configure:10745: checking nlist.h usability configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:83:19: fatal error: nlist.h: No such file or directory #include ^ compilation terminated. configure:10745: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_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:10745: result: no configure:10745: checking nlist.h presence configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c conftest.c:50:19: fatal error: nlist.h: No such file or directory #include ^ compilation terminated. configure:10745: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_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:10745: result: no configure:10745: checking for nlist.h configure:10745: result: no configure:10745: checking machine/reg.h usability configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:83:25: fatal error: machine/reg.h: No such file or directory #include ^ compilation terminated. configure:10745: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_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:10745: result: no configure:10745: checking machine/reg.h presence configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c conftest.c:50:25: fatal error: machine/reg.h: No such file or directory #include ^ compilation terminated. configure:10745: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_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:10745: result: no configure:10745: checking for machine/reg.h configure:10745: result: no configure:10745: checking poll.h usability configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10745: $? = 0 configure:10745: result: yes configure:10745: checking poll.h presence configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:10745: $? = 0 configure:10745: result: yes configure:10745: checking for poll.h configure:10745: result: yes configure:10745: checking sys/poll.h usability configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 In file included from conftest.c:84:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] #warning redirecting incorrect #include to ^~~~~~~ configure:10745: $? = 0 configure:10745: result: yes configure:10745: checking sys/poll.h presence configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c In file included from conftest.c:51:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] #warning redirecting incorrect #include to ^~~~~~~ configure:10745: $? = 0 configure:10745: result: yes configure:10745: checking for sys/poll.h configure:10745: result: yes configure:10745: checking proc_service.h usability configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:85:26: fatal error: proc_service.h: No such file or directory #include ^ compilation terminated. configure:10745: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_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:10745: result: no configure:10745: checking proc_service.h presence configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c conftest.c:52:26: fatal error: proc_service.h: No such file or directory #include ^ compilation terminated. configure:10745: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | /* end confdefs.h. */ | #include configure:10745: result: no configure:10745: checking for proc_service.h configure:10745: result: no configure:10745: checking thread_db.h usability configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:85:23: fatal error: thread_db.h: No such file or directory #include ^ compilation terminated. configure:10745: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_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:10745: result: no configure:10745: checking thread_db.h presence configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c conftest.c:52:23: fatal error: thread_db.h: No such file or directory #include ^ compilation terminated. configure:10745: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | /* end confdefs.h. */ | #include configure:10745: result: no configure:10745: checking for thread_db.h configure:10745: result: no configure:10745: checking sys/fault.h usability configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:85:23: fatal error: sys/fault.h: No such file or directory #include ^ compilation terminated. configure:10745: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_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:10745: result: no configure:10745: checking sys/fault.h presence configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c conftest.c:52:23: fatal error: sys/fault.h: No such file or directory #include ^ compilation terminated. configure:10745: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | /* end confdefs.h. */ | #include configure:10745: result: no configure:10745: checking for sys/fault.h configure:10745: result: no configure:10745: checking sys/file.h usability configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10745: $? = 0 configure:10745: result: yes configure:10745: checking sys/file.h presence configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:10745: $? = 0 configure:10745: result: yes configure:10745: checking for sys/file.h configure:10745: result: yes configure:10745: checking sys/filio.h usability configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:86:23: fatal error: sys/filio.h: No such file or directory #include ^ compilation terminated. configure:10745: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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:10745: result: no configure:10745: checking sys/filio.h presence configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c conftest.c:53:23: fatal error: sys/filio.h: No such file or directory #include ^ compilation terminated. configure:10745: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | /* end confdefs.h. */ | #include configure:10745: result: no configure:10745: checking for sys/filio.h configure:10745: result: no configure:10745: checking sys/ioctl.h usability configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10745: $? = 0 configure:10745: result: yes configure:10745: checking sys/ioctl.h presence configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:10745: $? = 0 configure:10745: result: yes configure:10745: checking for sys/ioctl.h configure:10745: result: yes configure:10745: checking sys/param.h usability configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10745: $? = 0 configure:10745: result: yes configure:10745: checking sys/param.h presence configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:10745: $? = 0 configure:10745: result: yes configure:10745: checking for sys/param.h configure:10745: result: yes configure:10745: checking sys/resource.h usability configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10745: $? = 0 configure:10745: result: yes configure:10745: checking sys/resource.h presence configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:10745: $? = 0 configure:10745: result: yes configure:10745: checking for sys/resource.h configure:10745: result: yes configure:10745: checking sys/procfs.h usability configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10745: $? = 0 configure:10745: result: yes configure:10745: checking sys/procfs.h presence configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:10745: $? = 0 configure:10745: result: yes configure:10745: checking for sys/procfs.h configure:10745: result: yes configure:10745: checking sys/ptrace.h usability configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10745: $? = 0 configure:10745: result: yes configure:10745: checking sys/ptrace.h presence configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:10745: $? = 0 configure:10745: result: yes configure:10745: checking for sys/ptrace.h configure:10745: result: yes configure:10745: checking ptrace.h usability configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:91:20: fatal error: ptrace.h: No such file or directory #include ^ compilation terminated. configure:10745: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_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:10745: result: no configure:10745: checking ptrace.h presence configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c conftest.c:58:20: fatal error: ptrace.h: No such file or directory #include ^ compilation terminated. configure:10745: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | /* end confdefs.h. */ | #include configure:10745: result: no configure:10745: checking for ptrace.h configure:10745: result: no configure:10745: checking sys/reg.h usability configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10745: $? = 0 configure:10745: result: yes configure:10745: checking sys/reg.h presence configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:10745: $? = 0 configure:10745: result: yes configure:10745: checking for sys/reg.h configure:10745: result: yes configure:10745: checking sys/debugreg.h usability configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:92:26: fatal error: sys/debugreg.h: No such file or directory #include ^ compilation terminated. configure:10745: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_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:10745: result: no configure:10745: checking sys/debugreg.h presence configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c conftest.c:59:26: fatal error: sys/debugreg.h: No such file or directory #include ^ compilation terminated. configure:10745: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | /* end confdefs.h. */ | #include configure:10745: result: no configure:10745: checking for sys/debugreg.h configure:10745: result: no configure:10745: checking sys/select.h usability configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10745: $? = 0 configure:10745: result: yes configure:10745: checking sys/select.h presence configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:10745: $? = 0 configure:10745: result: yes configure:10745: checking for sys/select.h configure:10745: result: yes configure:10745: checking sys/syscall.h usability configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10745: $? = 0 configure:10745: result: yes configure:10745: checking sys/syscall.h presence configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:10745: $? = 0 configure:10745: result: yes configure:10745: checking for sys/syscall.h configure:10745: result: yes configure:10745: checking termios.h usability configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10745: $? = 0 configure:10745: result: yes configure:10745: checking termios.h presence configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:10745: $? = 0 configure:10745: result: yes configure:10745: checking for termios.h configure:10745: result: yes configure:10745: checking termio.h usability configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:95:20: fatal error: termio.h: No such file or directory #include ^ compilation terminated. configure:10745: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_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:10745: result: no configure:10745: checking termio.h presence configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c conftest.c:62:20: fatal error: termio.h: No such file or directory #include ^ compilation terminated. configure:10745: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | /* end confdefs.h. */ | #include configure:10745: result: no configure:10745: checking for termio.h configure:10745: result: no configure:10745: checking sgtty.h usability configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:95:19: fatal error: sgtty.h: No such file or directory #include ^ compilation terminated. configure:10745: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_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:10745: result: no configure:10745: checking sgtty.h presence configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c conftest.c:62:19: fatal error: sgtty.h: No such file or directory #include ^ compilation terminated. configure:10745: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | /* end confdefs.h. */ | #include configure:10745: result: no configure:10745: checking for sgtty.h configure:10745: result: no configure:10745: checking elf_hp.h usability configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:95:20: fatal error: elf_hp.h: No such file or directory #include ^ compilation terminated. configure:10745: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_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:10745: result: no configure:10745: checking elf_hp.h presence configure:10745: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c conftest.c:62:20: fatal error: elf_hp.h: No such file or directory #include ^ compilation terminated. configure:10745: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | /* end confdefs.h. */ | #include configure:10745: result: no configure:10745: checking for elf_hp.h configure:10745: result: no configure:10745: checking for dlfcn.h configure:10745: result: yes configure:10758: checking for sys/proc.h configure:10758: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:68:22: fatal error: sys/proc.h: No such file or directory #include ^ compilation terminated. configure:10758: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #if HAVE_SYS_PARAM_H | # include | #endif | | | #include configure:10758: result: no configure:10774: checking for sys/user.h configure:10774: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10774: $? = 0 configure:10774: result: yes configure:10803: checking curses.h usability configure:10803: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10803: $? = 0 configure:10803: result: yes configure:10803: checking curses.h presence configure:10803: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:10803: $? = 0 configure:10803: result: yes configure:10803: checking for curses.h configure:10803: result: yes configure:10803: checking cursesX.h usability configure:10803: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:98:21: fatal error: cursesX.h: No such file or directory #include ^ compilation terminated. configure:10803: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_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:10803: result: no configure:10803: checking cursesX.h presence configure:10803: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c conftest.c:65:21: fatal error: cursesX.h: No such file or directory #include ^ compilation terminated. configure:10803: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | /* end confdefs.h. */ | #include configure:10803: result: no configure:10803: checking for cursesX.h configure:10803: result: no configure:10803: checking ncurses.h usability configure:10803: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10803: $? = 0 configure:10803: result: yes configure:10803: checking ncurses.h presence configure:10803: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:10803: $? = 0 configure:10803: result: yes configure:10803: checking for ncurses.h configure:10803: result: yes configure:10803: checking ncurses/ncurses.h usability configure:10803: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:99:29: fatal error: ncurses/ncurses.h: No such file or directory #include ^ compilation terminated. configure:10803: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_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:10803: result: no configure:10803: checking ncurses/ncurses.h presence configure:10803: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c conftest.c:66:29: fatal error: ncurses/ncurses.h: No such file or directory #include ^ compilation terminated. configure:10803: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | /* end confdefs.h. */ | #include configure:10803: result: no configure:10803: checking for ncurses/ncurses.h configure:10803: result: no configure:10803: checking ncurses/term.h usability configure:10803: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:99:26: fatal error: ncurses/term.h: No such file or directory #include ^ compilation terminated. configure:10803: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_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:10803: result: no configure:10803: checking ncurses/term.h presence configure:10803: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c conftest.c:66:26: fatal error: ncurses/term.h: No such file or directory #include ^ compilation terminated. configure:10803: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | /* end confdefs.h. */ | #include configure:10803: result: no configure:10803: checking for ncurses/term.h configure:10803: result: no configure:10816: checking for term.h configure:10816: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10816: $? = 0 configure:10816: result: yes configure:10837: checking for long long configure:10837: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10837: $? = 0 configure:10837: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:103:24: error: expected expression before ')' token if (sizeof ((long long))) ^ configure:10837: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_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:10837: result: yes configure:10848: checking size of long long configure:10853: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10853: $? = 0 configure:10853: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:104:12: error: size of array 'test_array' is negative static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 0)]; ^~~~~~~~~~ configure:10853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_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 0; | } configure:10853: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:104:12: error: size of array 'test_array' is negative static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 1)]; ^~~~~~~~~~ configure:10853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_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 0; | } configure:10853: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:104:12: error: size of array 'test_array' is negative static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 3)]; ^~~~~~~~~~ configure:10853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_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 0; | } configure:10853: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:104:12: error: size of array 'test_array' is negative static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 7)]; ^~~~~~~~~~ configure:10853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_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 0; | } configure:10853: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10853: $? = 0 configure:10853: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10853: $? = 0 configure:10853: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10853: $? = 0 configure:10853: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10853: $? = 0 configure:10868: result: 8 configure:10881: checking whether basename is declared configure:10881: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10881: $? = 0 configure:10881: result: yes configure:10891: checking whether ffs is declared configure:10891: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10891: $? = 0 configure:10891: result: yes configure:10901: checking whether asprintf is declared configure:10901: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10901: $? = 0 configure:10901: result: yes configure:10911: checking whether vasprintf is declared configure:10911: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10911: $? = 0 configure:10911: result: yes configure:10921: checking whether snprintf is declared configure:10921: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10921: $? = 0 configure:10921: result: yes configure:10931: checking whether vsnprintf is declared configure:10931: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10931: $? = 0 configure:10931: result: yes configure:10942: checking whether strtol is declared configure:10942: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10942: $? = 0 configure:10942: result: yes configure:10952: checking whether strtoul is declared configure:10952: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10952: $? = 0 configure:10952: result: yes configure:10962: checking whether strtoll is declared configure:10962: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10962: $? = 0 configure:10962: result: yes configure:10972: checking whether strtoull is declared configure:10972: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10972: $? = 0 configure:10972: result: yes configure:10983: checking whether strverscmp is declared configure:10983: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10983: $? = 0 configure:10983: result: yes configure:10996: checking whether free is declared configure:10996: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:10996: $? = 0 configure:10996: result: yes configure:11006: checking whether malloc is declared configure:11006: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11006: $? = 0 configure:11006: result: yes configure:11016: checking whether realloc is declared configure:11016: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11016: $? = 0 configure:11016: result: yes configure:11026: checking whether snprintf is declared configure:11026: result: yes configure:11038: checking for LC_MESSAGES configure:11054: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:11054: $? = 0 configure:11062: result: yes configure:11075: checking for struct stat.st_blocks configure:11075: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11075: $? = 0 configure:11075: result: yes configure:11084: checking for struct stat.st_blksize configure:11084: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11084: $? = 0 configure:11084: result: yes configure:11099: checking for socklen_t configure:11099: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11099: $? = 0 configure:11099: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:94:24: error: expected expression before ')' token if (sizeof ((socklen_t))) ^ configure:11099: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | /* end confdefs.h. */ | #include | #include | | | int | main () | { | if (sizeof ((socklen_t))) | return 0; | ; | return 0; | } configure:11099: result: yes configure:11117: checking for an ANSI C-conforming const configure:11182: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11182: $? = 0 configure:11189: result: yes configure:11197: checking for inline configure:11213: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11213: $? = 0 configure:11221: result: inline configure:11239: checking whether byte ordering is bigendian configure:11254: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:89:9: error: unknown type name 'not' not a universal capable compiler ^~~ conftest.c:89:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'universal' not a universal capable compiler ^~~~~~~~~ conftest.c:89:15: error: unknown type name 'universal' configure:11254: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | /* end confdefs.h. */ | #ifndef __APPLE_CC__ | not a universal capable compiler | #endif | typedef int dummy; | configure:11299: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11299: $? = 0 configure:11317: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:95:4: error: unknown type name 'not' not big endian ^~~ conftest.c:95:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian' not big endian ^~~~~~ configure:11317: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 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:11445: result: no configure:11471: checking for stdlib.h configure:11471: result: yes configure:11471: checking for unistd.h configure:11471: result: yes configure:11484: checking for getpagesize configure:11484: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:11484: $? = 0 configure:11484: result: yes configure:11493: checking for working mmap configure:11640: result: no configure:11649: checking for pid_t configure:11649: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11649: $? = 0 configure:11649: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:127:20: error: expected expression before ')' token if (sizeof ((pid_t))) ^ configure:11649: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_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 | int | main () | { | if (sizeof ((pid_t))) | return 0; | ; | return 0; | } configure:11649: result: yes configure:11662: checking vfork.h usability configure:11662: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:124:19: fatal error: vfork.h: No such file or directory #include ^ compilation terminated. configure:11662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_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:11662: result: no configure:11662: checking vfork.h presence configure:11662: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c conftest.c:91:19: fatal error: vfork.h: No such file or directory #include ^ compilation terminated. configure:11662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | /* end confdefs.h. */ | #include configure:11662: result: no configure:11662: checking for vfork.h configure:11662: result: no configure:11675: checking for fork configure:11675: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 conftest.c:114:6: warning: conflicting types for built-in function 'fork' char fork (); ^~~~ configure:11675: $? = 0 configure:11675: result: yes configure:11675: checking for vfork configure:11675: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:11675: $? = 0 configure:11675: result: yes configure:11686: checking for working fork configure:11718: result: cross configure:11734: WARNING: result yes guessed because of cross compilation configure:11739: checking for working vfork configure:11849: result: yes configure:11883: checking for getauxval configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:11883: $? = 0 configure:11883: result: yes configure:11883: checking for getrusage configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:11883: $? = 0 configure:11883: result: yes configure:11883: checking for getuid configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:11883: $? = 0 configure:11883: result: yes configure:11883: checking for getgid configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:11883: $? = 0 configure:11883: result: yes configure:11883: checking for pipe configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:11883: $? = 0 configure:11883: result: yes configure:11883: checking for poll configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:11883: $? = 0 configure:11883: result: yes configure:11883: checking for pread configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:11883: $? = 0 configure:11883: result: yes configure:11883: checking for pread64 configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:11883: $? = 0 configure:11883: result: yes configure:11883: checking for pwrite configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:11883: $? = 0 configure:11883: result: yes configure:11883: checking for resize_term configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:11883: $? = 0 configure:11883: result: yes configure:11883: checking for sbrk configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:11883: $? = 0 configure:11883: result: yes configure:11883: checking for setpgid configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:11883: $? = 0 configure:11883: result: yes configure:11883: checking for setpgrp configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:11883: $? = 0 configure:11883: result: yes configure:11883: checking for setsid configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:11883: $? = 0 configure:11883: result: yes configure:11883: checking for sigaction configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:11883: $? = 0 configure:11883: result: yes configure:11883: checking for sigprocmask configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:11883: $? = 0 configure:11883: result: yes configure:11883: checking for sigsetmask configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 /tmp/ccphHVWW.o: In function `main': conftest.c:(.text.startup+0x8): undefined reference to `sigsetmask' collect2: error: ld returned 1 exit status configure:11883: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 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:11883: result: no configure:11883: checking for socketpair configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:11883: $? = 0 configure:11883: result: yes configure:11883: checking for ttrace configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 /tmp/ccYBACT6.o: In function `main': conftest.c:(.text.startup+0x8): undefined reference to `ttrace' collect2: error: ld returned 1 exit status configure:11883: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 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:11883: result: no configure:11883: checking for wborder configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:11883: $? = 0 configure:11883: result: yes configure:11883: checking for wresize configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:11883: $? = 0 configure:11883: result: yes configure:11883: checking for setlocale configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:11883: $? = 0 configure:11883: result: yes configure:11883: checking for iconvlist configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 /tmp/ccJ0Vyqs.o: In function `main': conftest.c:(.text.startup+0x8): undefined reference to `iconvlist' collect2: error: ld returned 1 exit status configure:11883: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 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:11883: result: no configure:11883: checking for libiconvlist configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 /tmp/cc0x8kJw.o: In function `main': conftest.c:(.text.startup+0x8): undefined reference to `libiconvlist' collect2: error: ld returned 1 exit status configure:11883: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 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:11883: result: no configure:11883: checking for btowc configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:11883: $? = 0 configure:11883: result: yes configure:11883: checking for setrlimit configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:11883: $? = 0 configure:11883: result: yes configure:11883: checking for getrlimit configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:11883: $? = 0 configure:11883: result: yes configure:11883: checking for posix_madvise configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:11883: $? = 0 configure:11883: result: yes configure:11883: checking for waitpid configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:11883: $? = 0 configure:11883: result: yes configure:11883: checking for ptrace64 configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 /tmp/cc6FkRF1.o: In function `main': conftest.c:(.text.startup+0x8): undefined reference to `ptrace64' collect2: error: ld returned 1 exit status configure:11883: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | /* end confdefs.h. */ | /* Define 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:11883: result: no configure:11883: checking for sigaltstack configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:11883: $? = 0 configure:11883: result: yes configure:11883: checking for mkdtemp configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:11883: $? = 0 configure:11883: result: yes configure:11883: checking for setns configure:11883: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:11883: $? = 0 configure:11883: result: yes configure:11894: checking for nl_langinfo and CODESET configure:11910: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:11910: $? = 0 configure:11919: result: yes configure:11928: checking for ANSI C header files configure:12032: result: yes configure:12042: checking for working alloca.h configure:12059: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:12059: $? = 0 configure:12067: result: yes configure:12075: checking for alloca configure:12112: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:12112: $? = 0 configure:12120: result: yes configure:12232: checking for nl_langinfo and CODESET configure:12257: result: yes configure:12269: checking linux/perf_event.h usability configure:12269: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12269: $? = 0 configure:12269: result: yes configure:12269: checking linux/perf_event.h presence configure:12269: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:12269: $? = 0 configure:12269: result: yes configure:12269: checking for linux/perf_event.h configure:12269: result: yes configure:12269: checking locale.h usability configure:12269: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12269: $? = 0 configure:12269: result: yes configure:12269: checking locale.h presence configure:12269: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:12269: $? = 0 configure:12269: result: yes configure:12269: checking for locale.h configure:12269: result: yes configure:12269: checking for memory.h configure:12269: result: yes configure:12269: checking signal.h usability configure:12269: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12269: $? = 0 configure:12269: result: yes configure:12269: checking signal.h presence configure:12269: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:12269: $? = 0 configure:12269: result: yes configure:12269: checking for signal.h configure:12269: result: yes configure:12269: checking for sys/resource.h configure:12269: result: yes configure:12269: checking sys/socket.h usability configure:12269: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12269: $? = 0 configure:12269: result: yes configure:12269: checking sys/socket.h presence configure:12269: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:12269: $? = 0 configure:12269: result: yes configure:12269: checking for sys/socket.h configure:12269: result: yes configure:12269: checking for sys/syscall.h configure:12269: result: yes configure:12269: checking sys/un.h usability configure:12269: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12269: $? = 0 configure:12269: result: yes configure:12269: checking sys/un.h presence configure:12269: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:12269: $? = 0 configure:12269: result: yes configure:12269: checking for sys/un.h configure:12269: result: yes configure:12269: checking sys/wait.h usability configure:12269: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12269: $? = 0 configure:12269: result: yes configure:12269: checking sys/wait.h presence configure:12269: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:12269: $? = 0 configure:12269: result: yes configure:12269: checking for sys/wait.h configure:12269: result: yes configure:12269: checking for thread_db.h configure:12269: result: no configure:12269: checking wait.h usability configure:12269: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 In file included from conftest.c:170:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/wait.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] #warning redirecting incorrect #include to ^~~~~~~ configure:12269: $? = 0 configure:12269: result: yes configure:12269: checking wait.h presence configure:12269: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c In file included from conftest.c:137:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/wait.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] #warning redirecting incorrect #include to ^~~~~~~ configure:12269: $? = 0 configure:12269: result: yes configure:12269: checking for wait.h configure:12269: result: yes configure:12284: checking for fdwalk configure:12284: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 /tmp/cc7EzHx5.o: In function `main': conftest.c:(.text.startup+0x8): undefined reference to `fdwalk' collect2: error: ld returned 1 exit status configure:12284: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 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:12284: result: no configure:12284: checking for getrlimit configure:12284: result: yes configure:12284: checking for pipe configure:12284: result: yes configure:12284: checking for pipe2 configure:12284: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:12284: $? = 0 configure:12284: result: yes configure:12284: checking for socketpair configure:12284: result: yes configure:12295: checking whether strerror is declared configure:12295: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12295: $? = 0 configure:12295: result: yes configure:12305: checking whether strstr is declared configure:12305: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12305: $? = 0 configure:12305: result: yes configure:12317: checking for sigsetjmp configure:12335: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12335: $? = 0 configure:12342: result: yes configure:12358: checking for sys/ptrace.h configure:12358: result: yes configure:12358: checking for ptrace.h configure:12358: result: no configure:12391: checking whether ptrace is declared configure:12391: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12391: $? = 0 configure:12391: result: yes configure:12413: checking return type of ptrace configure:12429: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:159:26: warning: 'enum __ptrace_request' declared inside parameter list will not be visible outside of this definition or declaration extern long ptrace (enum __ptrace_request, ...); ^~~~~~~~~~~~~~~~ conftest.c:159:13: error: conflicting types for 'ptrace' extern long ptrace (enum __ptrace_request, ...); ^~~~~~ In file included from conftest.c:150:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12429: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 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:12443: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:159:12: error: conflicting types for 'ptrace' extern int ptrace (); ^~~~~~ In file included from conftest.c:150:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12443: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 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:12452: result: long configure:12460: checking types of arguments for ptrace configure:12477: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:160:26: warning: 'enum __ptrace_request' declared inside parameter list will not be visible outside of this definition or declaration extern long ptrace (enum __ptrace_request, ...); ^~~~~~~~~~~~~~~~ conftest.c:160:13: error: conflicting types for 'ptrace' extern long ptrace (enum __ptrace_request, ...); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12477: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, int *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, int *, int, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, int *, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, int *, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, int *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, int *, long, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, int *, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, int *, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, int *, void *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, int *, void *, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, int *, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, int *, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, caddr_t, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, caddr_t, int, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, caddr_t, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, caddr_t, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, caddr_t, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, caddr_t, long, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, caddr_t, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, caddr_t, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, caddr_t, void *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, caddr_t, void *, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, caddr_t, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, caddr_t, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, int, int, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, int, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, int, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, int, long, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, int, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, int, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, int, void *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, int, void *, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, int, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, int, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, long, int, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, long, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, long, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, long, long, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, long, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, long, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, long, void *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, long, void *, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, long, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, long, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, void *, int, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, void *, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, void *, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, void *, long, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, void *, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, void *, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, void *, void *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, void *, void *, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, void *, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, pid_t, void *, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, int *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, int *, int, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, int *, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, int *, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, int *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, int *, long, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, int *, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, int *, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, int *, void *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, int *, void *, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, int *, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, int *, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, caddr_t, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, caddr_t, int, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, caddr_t, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, caddr_t, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, caddr_t, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, caddr_t, long, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, caddr_t, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, caddr_t, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, caddr_t, void *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, caddr_t, void *, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, caddr_t, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, caddr_t, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, int, int, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, int, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, int, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, int, long, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, int, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, int, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, int, void *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, int, void *, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, int, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, int, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, long, int, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, long, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, long, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, long, long, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, long, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, long, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, long, void *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, long, void *, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, long, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, long, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, void *, int, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, void *, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, void *, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, void *, long, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, void *, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, void *, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, void *, void *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, void *, void *, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, void *, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, int, void *, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, int *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, int *, int, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, int *, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, int *, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, int *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, int *, long, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, int *, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, int *, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, int *, void *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, int *, void *, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, int *, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, int *, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, caddr_t, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, caddr_t, int, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, caddr_t, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, caddr_t, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, caddr_t, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, caddr_t, long, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, caddr_t, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, caddr_t, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, caddr_t, void *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, caddr_t, void *, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, caddr_t, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, caddr_t, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, int, int, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, int, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, int, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, int, long, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, int, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, int, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, int, void *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, int, void *, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, int, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, int, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, long, int, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, long, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, long, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, long, long, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, long, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, long, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, long, void *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, long, void *, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, long, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, long, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, void *, int, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, void *, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, void *, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, void *, long, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, void *, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, void *, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, void *, void *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, void *, void *, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, void *, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (int, long, void *, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, int *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, int *, int, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, int *, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, int *, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, int *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, int *, long, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, int *, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, int *, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, int *, void *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, int *, void *, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, int *, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, int *, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, caddr_t, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, caddr_t, int, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, caddr_t, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, caddr_t, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, caddr_t, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, caddr_t, long, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, caddr_t, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, caddr_t, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, caddr_t, void *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, caddr_t, void *, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, caddr_t, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, caddr_t, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, int, int, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, int, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, int, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, int, long, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, int, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, int, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, int, void *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, int, void *, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, int, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, int, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, long, int, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, long, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, long, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, long, long, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, long, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, long, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, long, void *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, long, void *, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, long, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, long, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, void *, int, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, void *, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, void *, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, void *, long, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, void *, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, void *, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, void *, void *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, void *, void *, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, void *, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, pid_t, void *, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, int *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, int *, int, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, int *, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, int *, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, int *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, int *, long, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, int *, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, int *, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, int *, void *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, int *, void *, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, int *, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, int *, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, caddr_t, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, caddr_t, int, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, caddr_t, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, caddr_t, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, caddr_t, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, caddr_t, long, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, caddr_t, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, caddr_t, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, caddr_t, void *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, caddr_t, void *, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, caddr_t, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, caddr_t, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, int, int, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, int, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, int, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, int, long, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, int, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, int, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, int, void *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, int, void *, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, int, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, int, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, long, int, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, long, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, long, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, long, long, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, long, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, long, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, long, void *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, long, void *, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, long, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, long, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, void *, int, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, void *, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, void *, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, void *, long, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, void *, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, void *, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, void *, void *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, void *, void *, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, void *, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, int, void *, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, int *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, int *, int, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, int *, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, int *, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, int *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, int *, long, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, int *, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, int *, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, int *, void *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, int *, void *, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, int *, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, int *, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, caddr_t, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, caddr_t, int, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, caddr_t, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, caddr_t, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, caddr_t, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, caddr_t, long, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, caddr_t, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, caddr_t, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, caddr_t, void *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, caddr_t, void *, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, caddr_t, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, caddr_t, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, int, int, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, int, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, int, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, int, long, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, int, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, int, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, int, void *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, int, void *, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, int, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, int, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, long, int, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, long, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, long, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, long, long, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, long, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, long, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, long, void *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, long, void *, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, long, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, long, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, void *, int, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, void *, int, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, void *, int, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, void *, long, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, void *, long, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, void *, long, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12499: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, void *, void *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12499: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, void *, void *, int *); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, void *, void *, int); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12519: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:3: error: conflicting types for 'ptrace' ptrace (long, long, void *, void *, long); ^~~~~~ In file included from conftest.c:151:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:95:6: note: previous declaration of 'ptrace' was here long ptrace(int, ...); ^~~~~~ configure:12519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 1 | #define PTRACE_TYPE_RET 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:12536: result: int,int,long,long configure:12617: checking whether setpgrp takes no argument configure:12640: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:158:7: error: too many arguments to function 'setpgrp' if (setpgrp(1,1) == -1) ^~~~~~~ In file included from conftest.c:152:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/unistd.h:143:7: note: declared here pid_t setpgrp(void); ^~~~~~~ conftest.c:159:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit (0); ^~~~ conftest.c:159:5: warning: incompatible implicit declaration of built-in function 'exit' conftest.c:159:5: note: include '' or provide a declaration of 'exit' conftest.c:161:5: warning: incompatible implicit declaration of built-in function 'exit' exit (1); ^~~~ conftest.c:161:5: note: include '' or provide a declaration of 'exit' configure:12640: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 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:12647: result: yes configure:12660: checking for GNU regex configure:12679: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:152:26: fatal error: gnu-versions.h: No such file or directory #include ^ compilation terminated. configure:12679: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 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:12686: result: no configure:12707: checking for struct thread.td_pcb configure:12707: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:154:22: fatal error: sys/proc.h: No such file or directory #include ^ compilation terminated. configure:12707: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 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:12707: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:154:22: fatal error: sys/proc.h: No such file or directory #include ^ compilation terminated. configure:12707: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 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:12707: result: no configure:12722: checking for struct lwp configure:12739: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:154:21: fatal error: sys/lwp.h: No such file or directory #include ^ compilation terminated. configure:12739: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 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 lwp l; | ; | return 0; | } configure:12746: result: no configure:12755: checking for struct reg in machine/reg.h configure:12772: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:154:25: fatal error: machine/reg.h: No such file or directory #include ^ compilation terminated. configure:12772: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 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:12779: result: no configure:12789: checking for struct reg.r_fs configure:12789: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:154:25: fatal error: machine/reg.h: No such file or directory #include ^ compilation terminated. configure:12789: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 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:12789: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:154:25: fatal error: machine/reg.h: No such file or directory #include ^ compilation terminated. configure:12789: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 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:12789: result: no configure:12800: checking for struct reg.r_gs configure:12800: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:154:25: fatal error: machine/reg.h: No such file or directory #include ^ compilation terminated. configure:12800: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 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:12800: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:154:25: fatal error: machine/reg.h: No such file or directory #include ^ compilation terminated. configure:12800: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 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:12800: result: no configure:12816: checking for struct user_regs_struct.fs_base configure:12816: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12816: $? = 0 configure:12816: result: yes configure:12826: checking for struct user_regs_struct.gs_base configure:12826: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12826: $? = 0 configure:12826: result: yes configure:12839: checking for PTRACE_GETREGS configure:12855: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12855: $? = 0 configure:12863: result: yes configure:12872: checking for PTRACE_GETFPXREGS configure:12888: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12888: $? = 0 configure:12896: result: yes configure:12905: checking for PT_GETDBREGS configure:12922: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:1: error: 'PT_GETDBREGS' undeclared (first use in this function) PT_GETDBREGS; ^~~~~~~~~~~~ conftest.c:162:1: note: each undeclared identifier is reported only once for each function it appears in configure:12922: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 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_STRUCT_USER_REGS_STRUCT_FS_BASE 1 | #define HAVE_STRUCT_USER_REGS_STRUCT_GS_BASE 1 | #define HAVE_PTRACE_GETREGS 1 | #define HAVE_PTRACE_GETFPXREGS 1 | /* end confdefs.h. */ | #include | #include | int | main () | { | PT_GETDBREGS; | ; | return 0; | } configure:12930: result: no configure:12939: checking for PT_GETXMMREGS configure:12956: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:1: error: 'PT_GETXMMREGS' undeclared (first use in this function) PT_GETXMMREGS; ^~~~~~~~~~~~~ conftest.c:162:1: note: each undeclared identifier is reported only once for each function it appears in configure:12956: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 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_STRUCT_USER_REGS_STRUCT_FS_BASE 1 | #define HAVE_STRUCT_USER_REGS_STRUCT_GS_BASE 1 | #define HAVE_PTRACE_GETREGS 1 | #define HAVE_PTRACE_GETFPXREGS 1 | /* end confdefs.h. */ | #include | #include | int | main () | { | PT_GETXMMREGS; | ; | return 0; | } configure:12964: result: no configure:12975: checking for struct ptrace_lwpinfo.pl_tdname configure:12975: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:30: error: storage size of 'ac_aggr' isn't known static struct ptrace_lwpinfo ac_aggr; ^~~~~~~ configure:12975: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 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_STRUCT_USER_REGS_STRUCT_FS_BASE 1 | #define HAVE_STRUCT_USER_REGS_STRUCT_GS_BASE 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:12975: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:162:30: error: storage size of 'ac_aggr' isn't known static struct ptrace_lwpinfo ac_aggr; ^~~~~~~ configure:12975: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 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_STRUCT_USER_REGS_STRUCT_FS_BASE 1 | #define HAVE_STRUCT_USER_REGS_STRUCT_GS_BASE 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:12975: result: no configure:13012: checking for gregset_t in sys/procfs.h configure:13032: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:165:1: error: unknown type name 'gregset_t' gregset_t avar ^~~~~~~~~ configure:13032: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 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_STRUCT_USER_REGS_STRUCT_FS_BASE 1 | #define HAVE_STRUCT_USER_REGS_STRUCT_GS_BASE 1 | #define HAVE_PTRACE_GETREGS 1 | #define HAVE_PTRACE_GETFPXREGS 1 | /* end confdefs.h. */ | | #define _SYSCALL32 | /* Needed for new procfs interface on sparc-solaris. */ | #define _STRUCTURED_PROC 1 | #include | int | main () | { | gregset_t avar | ; | return 0; | } configure:13046: result: no configure:13049: checking for fpregset_t in sys/procfs.h configure:13069: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:165:1: error: unknown type name 'fpregset_t' fpregset_t avar ^~~~~~~~~~ configure:13069: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 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_STRUCT_USER_REGS_STRUCT_FS_BASE 1 | #define HAVE_STRUCT_USER_REGS_STRUCT_GS_BASE 1 | #define HAVE_PTRACE_GETREGS 1 | #define HAVE_PTRACE_GETFPXREGS 1 | /* end confdefs.h. */ | | #define _SYSCALL32 | /* Needed for new procfs interface on sparc-solaris. */ | #define _STRUCTURED_PROC 1 | #include | int | main () | { | fpregset_t avar | ; | return 0; | } configure:13083: result: no configure:13086: checking for prgregset_t in sys/procfs.h configure:13106: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:13106: $? = 0 configure:13120: result: yes configure:13123: checking for prfpregset_t in sys/procfs.h configure:13143: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:13143: $? = 0 configure:13157: result: yes configure:13160: checking for prgregset32_t in sys/procfs.h configure:13180: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:167:1: error: unknown type name 'prgregset32_t' prgregset32_t avar ^~~~~~~~~~~~~ configure:13180: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 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_STRUCT_USER_REGS_STRUCT_FS_BASE 1 | #define HAVE_STRUCT_USER_REGS_STRUCT_GS_BASE 1 | #define HAVE_PTRACE_GETREGS 1 | #define HAVE_PTRACE_GETFPXREGS 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | /* end confdefs.h. */ | | #define _SYSCALL32 | /* Needed for new procfs interface on sparc-solaris. */ | #define _STRUCTURED_PROC 1 | #include | int | main () | { | prgregset32_t avar | ; | return 0; | } configure:13194: result: no configure:13197: checking for lwpid_t in sys/procfs.h configure:13217: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:13217: $? = 0 configure:13231: result: yes configure:13234: checking for psaddr_t in sys/procfs.h configure:13254: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:13254: $? = 0 configure:13268: result: yes configure:13271: checking for prsysent_t in sys/procfs.h configure:13291: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:169:1: error: unknown type name 'prsysent_t' prsysent_t avar ^~~~~~~~~~ configure:13291: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 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_STRUCT_USER_REGS_STRUCT_FS_BASE 1 | #define HAVE_STRUCT_USER_REGS_STRUCT_GS_BASE 1 | #define HAVE_PTRACE_GETREGS 1 | #define HAVE_PTRACE_GETFPXREGS 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | /* end confdefs.h. */ | | #define _SYSCALL32 | /* Needed for new procfs interface on sparc-solaris. */ | #define _STRUCTURED_PROC 1 | #include | int | main () | { | prsysent_t avar | ; | return 0; | } configure:13305: result: no configure:13308: checking for pr_sigset_t in sys/procfs.h configure:13328: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:169:1: error: unknown type name 'pr_sigset_t' pr_sigset_t avar ^~~~~~~~~~~ configure:13328: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 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_STRUCT_USER_REGS_STRUCT_FS_BASE 1 | #define HAVE_STRUCT_USER_REGS_STRUCT_GS_BASE 1 | #define HAVE_PTRACE_GETREGS 1 | #define HAVE_PTRACE_GETFPXREGS 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | /* end confdefs.h. */ | | #define _SYSCALL32 | /* Needed for new procfs interface on sparc-solaris. */ | #define _STRUCTURED_PROC 1 | #include | int | main () | { | pr_sigset_t avar | ; | return 0; | } configure:13342: result: no configure:13345: checking for pr_sigaction64_t in sys/procfs.h configure:13365: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:169:1: error: unknown type name 'pr_sigaction64_t' pr_sigaction64_t avar ^~~~~~~~~~~~~~~~ configure:13365: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 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_STRUCT_USER_REGS_STRUCT_FS_BASE 1 | #define HAVE_STRUCT_USER_REGS_STRUCT_GS_BASE 1 | #define HAVE_PTRACE_GETREGS 1 | #define HAVE_PTRACE_GETFPXREGS 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | /* end confdefs.h. */ | | #define _SYSCALL32 | /* Needed for new procfs interface on sparc-solaris. */ | #define _STRUCTURED_PROC 1 | #include | int | main () | { | pr_sigaction64_t avar | ; | return 0; | } configure:13379: result: no configure:13382: checking for pr_siginfo64_t in sys/procfs.h configure:13402: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:169:1: error: unknown type name 'pr_siginfo64_t' pr_siginfo64_t avar ^~~~~~~~~~~~~~ configure:13402: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 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_STRUCT_USER_REGS_STRUCT_FS_BASE 1 | #define HAVE_STRUCT_USER_REGS_STRUCT_GS_BASE 1 | #define HAVE_PTRACE_GETREGS 1 | #define HAVE_PTRACE_GETFPXREGS 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | /* end confdefs.h. */ | | #define _SYSCALL32 | /* Needed for new procfs interface on sparc-solaris. */ | #define _STRUCTURED_PROC 1 | #include | int | main () | { | pr_siginfo64_t avar | ; | return 0; | } configure:13416: result: no configure:13424: checking whether prfpregset_t type is broken configure:13453: result: no configure:13465: checking for long long support in compiler configure:13481: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:13481: $? = 0 configure:13488: result: yes configure:13497: checking for long long support in printf configure:13533: result: no configure:13543: checking for decfloat support in printf configure:13577: result: no configure:13590: checking for long double support in compiler configure:13599: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:13599: $? = 0 configure:13606: result: yes configure:13616: checking for long double support in printf configure:13648: result: no configure:13658: checking for long double support in scanf configure:13690: result: no configure:13741: checking for the dynamic export flag configure:13764: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static -Wl,--dynamic-list=./proc-service.list conftest.c -lncurses -lm >&5 configure:13764: $? = 0 configure:13816: result: -Wl,--dynamic-list configure:14081: checking whether ADDR_NO_RANDOMIZE is declared configure:14081: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:14081: $? = 0 configure:14081: result: yes configure:14113: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm >&5 configure:14113: $? = 0 configure:14356: checking compiler warning flags configure:14389: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -Wall -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:14389: $? = 0 configure:14389: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -Wpointer-arith -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:14389: $? = 0 configure:14389: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -Wunused -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:14389: $? = 0 configure:14389: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -Wunused-value -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:14389: $? = 0 configure:14389: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -Wunused-function -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:14389: $? = 0 configure:14389: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -Wswitch -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:14389: $? = 0 configure:14389: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -Wchar-subscripts -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:14389: $? = 0 configure:14389: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -Wempty-body -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:14389: $? = 0 configure:14389: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -Wpointer-sign -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:14389: $? = 0 configure:14389: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -Wmissing-prototypes -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:14389: $? = 0 configure:14389: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -Wdeclaration-after-statement -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:14389: $? = 0 configure:14389: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -Wmissing-parameter-type -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:14389: $? = 0 configure:14389: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -Wold-style-declaration -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:14389: $? = 0 configure:14389: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -Wold-style-definition -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:171:1: warning: old-style function definition [-Wold-style-definition] main () ^~~~ configure:14389: $? = 0 configure:14389: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -Wformat-nonliteral -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 cc1: warning: -Wformat-nonliteral ignored without -Wformat [-Wformat-nonliteral] configure:14389: $? = 0 configure:14397: result: -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wpointer-sign -Wmissing-prototypes -Wdeclaration-after-statement -Wmissing-parameter-type -Wold-style-declaration -Wold-style-definition -Wformat-nonliteral configure:14414: checking for cygwin configure:14435: result: no configure:14481: checking for ELF support in BFD configure:14500: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -I./../include -I../bfd -I./../bfd -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -L../bfd -L../libiberty -L../zlib -static-libstdc++ -static-libgcc -static conftest.c -lbfd -liberty -lz -lncurses -lm >&5 configure:14500: $? = 0 configure:14508: result: yes configure:14520: checking for library containing dlopen configure:14568: result: none required configure:14592: checking for Mach-O support in BFD configure:14611: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -I./../include -I../bfd -I./../bfd -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -L../bfd -L../libiberty -L../zlib -static-libstdc++ -static-libgcc -static conftest.c -lbfd -liberty -lz -lncurses -lm >&5 /tmp/ccZr864z.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `bfd_mach_o_lookup_command' collect2: error: ld returned 1 exit status configure:14611: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 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_STRUCT_USER_REGS_STRUCT_FS_BASE 1 | #define HAVE_STRUCT_USER_REGS_STRUCT_GS_BASE 1 | #define HAVE_PTRACE_GETREGS 1 | #define HAVE_PTRACE_GETFPXREGS 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_LONG_DOUBLE 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define GDBINIT ".gdbinit" | #define TARGET_SYSTEM_ROOT "" | #define TARGET_SYSTEM_ROOT_RELOCATABLE 0 | #define SYSTEM_GDBINIT "" | #define SYSTEM_GDBINIT_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:14619: result: no configure:14641: checking whether to use lzma configure:14643: result: no configure:15644: checking for X configure:15822: result: disabled configure:15982: checking whether gdbserver is supported on this host configure:15985: result: yes configure:16011: checking whether to use babeltrace configure:16013: result: auto configure:16438: checking for libbabeltrace configure:16467: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -Werror -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include -static-libstdc++ -static-libgcc -static conftest.c -lncurses -lm -lbabeltrace -lbabeltrace-ctf >&5 conftest.c:174:35: fatal error: babeltrace/babeltrace.h: No such file or directory #include ^ compilation terminated. configure:16467: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_i386_arch | #define DEFAULT_BFD_VEC x86_64_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_POLL 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_SBRK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_MKDTEMP 1 | #define HAVE_SETNS 1 | #define HAVE_LANGINFO_CODESET 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_DECL_STRERROR 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_DECL_PTRACE 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_STRUCT_USER_REGS_STRUCT_FS_BASE 1 | #define HAVE_STRUCT_USER_REGS_STRUCT_GS_BASE 1 | #define HAVE_PTRACE_GETREGS 1 | #define HAVE_PTRACE_GETFPXREGS 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_LONG_DOUBLE 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define GDBINIT ".gdbinit" | #define TARGET_SYSTEM_ROOT "" | #define TARGET_SYSTEM_ROOT_RELOCATABLE 0 | #define SYSTEM_GDBINIT "" | #define SYSTEM_GDBINIT_RELOCATABLE 0 | #define HAVE_ELF 1 | #define GDB_HOST_FLOAT_FORMAT &floatformat_ieee_single_little | #define GDB_HOST_DOUBLE_FORMAT &floatformat_ieee_double_little | #define GDB_HOST_LONG_DOUBLE_FORMAT &floatformat_i387_ext | #define 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; | | 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:16477: result: no configure:16506: WARNING: babeltrace is missing or unusable; GDB is unable to read CTF data. configure:16636: updating cache ./config.cache configure:16690: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by config.status, which was generated by GNU Autoconf 2.64. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on linuxtest5810 config.status:1167: creating jit-reader.h config.status:1167: creating gcore config.status:1167: creating Makefile config.status:1167: creating gdb-gdb.gdb config.status:1167: creating doc/Makefile config.status:1167: creating data-directory/Makefile config.status:1167: creating config.h config.status:1364: linking config/nm-linux.h to nm.h config.status:1383: executing depdir commands configure:18035: === configuring in testsuite (/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/gdb-7.11.1/gdb/testsuite) configure:18098: running /bin/sh ./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-shared' '--without-uiout' '--disable-gdbtk' '--without-x' '--disable-sim' '--disable-binutils' '--disable-install-libbfd' '--disable-ld' '--disable-gas' '--with-curses' '--without-included-gettext' '--disable-werror' '--enable-static' '--disable-tui' '--without-python' '--with-expat' '--with-libexpat-prefix=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr' '--without-lzma' '--with-zlib' '--program-transform-name=s&^&&' '--build=x86_64-pc-linux-gnu' '--host=x86_64-buildroot-linux-musl' '--target=x86_64-buildroot-linux-musl' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-buildroot-linux-musl' 'target_alias=x86_64-buildroot-linux-musl' 'CC=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static' 'LDFLAGS=-static-libstdc++ -static-libgcc -static' 'CXX=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-g++' 'CXXFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static' 'MAKEINFO=true --split-size=5000000' 'YACC=bison -y' --cache-file=.././config.cache --srcdir=. configure:18035: === configuring in gdbserver (/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/gdb-7.11.1/gdb/gdbserver) configure:18098: running /bin/sh ./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-shared' '--without-uiout' '--disable-gdbtk' '--without-x' '--disable-sim' '--disable-binutils' '--disable-install-libbfd' '--disable-ld' '--disable-gas' '--with-curses' '--without-included-gettext' '--disable-werror' '--enable-static' '--disable-tui' '--without-python' '--with-expat' '--with-libexpat-prefix=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr' '--without-lzma' '--with-zlib' '--program-transform-name=s&^&&' '--build=x86_64-pc-linux-gnu' '--host=x86_64-buildroot-linux-musl' '--target=x86_64-buildroot-linux-musl' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-buildroot-linux-musl' 'target_alias=x86_64-buildroot-linux-musl' 'CC=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static' 'LDFLAGS=-static-libstdc++ -static-libgcc -static' 'CXX=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-g++' 'CXXFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static' 'MAKEINFO=true --split-size=5000000' 'YACC=bison -y' --cache-file=.././config.cache --srcdir=. ## ---------------- ## ## 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=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-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 -static' 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 -static -static' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-g++ ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-static-libstdc++ -static-libgcc -static' 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_XMKMF_set= ac_cv_env_XMKMF_value= ac_cv_env_YACC_set=set ac_cv_env_YACC_value='bison -y' ac_cv_env_YFLAGS_set= ac_cv_env_YFLAGS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=x86_64-buildroot-linux-musl ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=x86_64-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_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_mkdtemp=yes 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_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_vfork=yes ac_cv_func_vfork_works=yes ac_cv_func_waitpid=yes ac_cv_func_wborder=yes ac_cv_func_wctype=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_free=yes ac_cv_have_decl_malloc=yes ac_cv_have_decl_ptrace=yes ac_cv_have_decl_realloc=yes ac_cv_have_decl_snprintf=yes ac_cv_have_decl_strerror=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_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_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_sgtty_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_fault_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_proc_h=no ac_cv_header_sys_procfs_h=yes ac_cv_header_sys_ptrace_h=yes ac_cv_header_sys_reg_h=yes ac_cv_header_sys_resource_h=yes ac_cv_header_sys_select_h=yes ac_cv_header_sys_socket_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_syscall_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_termio_h=no ac_cv_header_termios_h=yes ac_cv_header_thread_db_h=no ac_cv_header_unistd_h=yes ac_cv_header_vfork_h=no ac_cv_header_wait_h=yes ac_cv_header_windows_h=no ac_cv_host=x86_64-buildroot-linux-musl ac_cv_lib_m_main=yes ac_cv_libbabeltrace=no ac_cv_libexpat=yes ac_cv_libipt=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_member_struct_user_regs_struct_fs_base=yes ac_cv_member_struct_user_regs_struct_gs_base=yes ac_cv_objext=o ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_GREP=/usr/bin/grep ac_cv_path_pkg_config_prog_path=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/pkg-config ac_cv_prog_AR=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-ar ac_cv_prog_AWK=gawk ac_cv_prog_CC=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc ac_cv_prog_CPP='/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E' ac_cv_prog_DLLTOOL=x86_64-buildroot-linux-musl-dlltool ac_cv_prog_MAKE=/usr/bin/make ac_cv_prog_RANLIB=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-ranlib ac_cv_prog_WINDRES=x86_64-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_prog_make__usr_bin_make_set=yes ac_cv_safe_to_define___extensions__=yes ac_cv_search_dlopen='none required' ac_cv_search_gethostbyname='none required' ac_cv_search_kinfo_getvmmap=no ac_cv_search_socketpair='none required' ac_cv_search_tgetent='none required' ac_cv_search_waddstr=-lncurses 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=x86_64-buildroot-linux-musl ac_cv_type_long_long=yes ac_cv_type_pid_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=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-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 bfd_cv_have_sys_procfs_type_fpregset_t=no bfd_cv_have_sys_procfs_type_gregset_t=no bfd_cv_have_sys_procfs_type_lwpid_t=yes bfd_cv_have_sys_procfs_type_pr_sigaction64_t=no bfd_cv_have_sys_procfs_type_pr_siginfo64_t=no bfd_cv_have_sys_procfs_type_pr_sigset_t=no 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_prsysent_t=no bfd_cv_have_sys_procfs_type_psaddr_t=yes gdb_cv_c_long_double=yes gdb_cv_c_long_long=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 ## ----------------- ## ## Output variables. ## ## ----------------- ## ALLOCA='' AR='/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-ar' AWK='gawk' CATALOGS='' CATOBJEXT='' CC='/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static' COMPILER='$(CC)' COMPILER_CFLAGS='$(CFLAGS)' CONFIG_ALL='' CONFIG_CLEAN='' CONFIG_DEPS=' $(SUBDIR_CLI_DEPS) $(SUBDIR_MI_DEPS)' CONFIG_INSTALL='' CONFIG_LDFLAGS='' CONFIG_OBS=' $(SUBDIR_CLI_OBS) $(SUBDIR_MI_OBS) python.o guile.o elfread.o stap-probe.o dtrace-probe.o posix-hdep.o posix-strerror.o' CONFIG_SRCS=' $(SUBDIR_CLI_SRCS) $(SUBDIR_MI_SRCS) python/python.c guile/guile.c' CONFIG_UNINSTALL='' CPP='/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-gcc -E' CPPFLAGS='-I/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include' CXX='/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-linux-g++' CXXFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static' DATADIRNAME='' DEBUGDIR='${exec_prefix}/lib/debug' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' DLLTOOL='x86_64-buildroot-linux-musl-dlltool' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/bin/grep -E' ENABLE_CFLAGS=' $(SUBDIR_CLI_CFLAGS) $(SUBDIR_MI_CFLAGS)' 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='' GMAKE_FALSE='#' GMAKE_TRUE='' GMSGFMT='/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/msgfmt' GNULIB_STDINT_H='' GREP='/usr/bin/grep' GUILD='' GUILD_TARGET_FLAG='' GUILE_CPPFLAGS='' GUILE_LIBS='' GUI_CFLAGS_X='-I./../libgui/src' HAVE_GUILE_FALSE='' HAVE_GUILE_TRUE='#' HAVE_LIBBABELTRACE='no' HAVE_LIBEXPAT='yes' HAVE_LIBIPT='no' HAVE_LIBLZMA='' 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' LDFLAGS='-static-libstdc++ -static-libgcc -static' LIBBABELTRACE='' LIBEXPAT='/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/lib/libexpat.a' LIBGUI='../libgui/src/libgui.a' LIBICONV='' LIBINTL='' LIBINTL_DEP='' LIBIPT='' LIBLZMA='' LIBOBJS='' LIBS='-lncurses -lm ' LN_S='ln -s' LTLIBBABELTRACE='' LTLIBEXPAT='-L/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot/usr/lib -lexpat' LTLIBICONV='' LTLIBIPT='' LTLIBLZMA='' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKE='/usr/bin/make' MAKEINFO='true --split-size=5000000' MAKEINFOFLAGS='' MAKEINFO_EXTRA_FLAGS=' -DHAVE_MAKEINFO_CLICK' MIG='' OBJEXT='o' PACKAGE='gdb' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_URL='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PKGVERSION='(GDB) ' POSUB='' PROFILE_CFLAGS='' PYTHON_CFLAGS='' PYTHON_CPPFLAGS='' PYTHON_LIBS='' RANLIB='/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/x86_64-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{http://www.gnu.org/software/gdb/bugs/}' REPORT_BUGS_TO='' SER_HARDWIRE='ser-base.o ser-unix.o ser-pipe.o ser-tcp.o' SET_MAKE='' SHELL='/bin/sh' SIM='' SIM_OBS='' STRIP='strip' SYSTEM_GDBINIT='' TARGET_OBS=' amd64-tdep.o amd64-linux-tdep.o i386-tdep.o i387-tdep.o i386-linux-tdep.o glibc-tdep.o solib-svr4.o symfile-mem.o linux-tdep.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-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wpointer-sign -Wmissing-prototypes -Wdeclaration-after-statement -Wmissing-parameter-type -Wold-style-declaration -Wold-style-definition -Wformat-nonliteral' WERROR_CFLAGS='' WIN32LDAPP='' WIN32LIBS='' WINDRES='x86_64-buildroot-linux-musl-windres' XGETTEXT='/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/xgettext' XMKMF='' X_CFLAGS='' X_LDFLAGS='' X_LIBS='' YACC='bison -y' YFLAGS='' ac_ct_CC='' ac_ct_CXX='' am__leading_dot='.' 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' frags=' ./config/i386/linux64.mh' host='x86_64-buildroot-linux-musl' host_alias='x86_64-buildroot-linux-musl' host_cpu='x86_64' host_os='linux-musl' host_vendor='buildroot' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/gdb-7.11.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='/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/pkg-config' prefix='/usr' program_transform_name='s&^&&' psdir='${docdir}' python_prog_path='' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' subdirs=' testsuite gdbserver' sysconfdir='/etc' target='x86_64-buildroot-linux-musl' target_alias='x86_64-buildroot-linux-musl' target_cpu='x86_64' target_os='linux-musl' target_subdir='' target_vendor='buildroot' zlibdir='-L$(top_builddir)/../zlib' zlibinc='-I$(top_srcdir)/../zlib' ## ------------------- ## ## File substitutions. ## ## ------------------- ## host_makefile_frag='./config/i386/linux64.mh' ## ----------- ## ## 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 PACKAGE "gdb" #define DEBUGDIR "/usr/lib/debug" #define DEBUGDIR_RELOCATABLE 1 #define BINDIR "/usr/bin" #define GDB_DATADIR "/usr/share/gdb" #define GDB_DATADIR_RELOCATABLE 1 #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" #define DEFAULT_BFD_ARCH bfd_i386_arch #define DEFAULT_BFD_VEC x86_64_elf64_vec #define HAVE__ETEXT 1 #define HAVE_ETEXT 1 #define PKGVERSION "(GDB) " #define REPORT_BUGS_TO "" #define HAVE_LIBM 1 #define HAVE_ICONV 1 #define ICONV_CONST #define SIZEOF_UNSIGNED_LONG_LONG 8 #define SIZEOF_UNSIGNED_LONG 8 #define SIZEOF_UNSIGNED___INT128 16 #define JIT_READER_DIR "/usr/lib/gdb" #define JIT_READER_DIR_RELOCATABLE 1 #define HAVE_LIBEXPAT 1 #define HAVE_XML_STOPPARSER 1 #define STDC_HEADERS 1 #define HAVE_POLL_H 1 #define HAVE_SYS_POLL_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_PROCFS_H 1 #define HAVE_SYS_PTRACE_H 1 #define HAVE_SYS_REG_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_DLFCN_H 1 #define HAVE_SYS_USER_H 1 #define HAVE_CURSES_H 1 #define HAVE_NCURSES_H 1 #define HAVE_TERM_H 1 #define HAVE_LONG_LONG 1 #define SIZEOF_LONG_LONG 8 #define HAVE_DECL_BASENAME 1 #define HAVE_DECL_FFS 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_STRTOL 1 #define HAVE_DECL_STRTOUL 1 #define HAVE_DECL_STRTOLL 1 #define HAVE_DECL_STRTOULL 1 #define HAVE_DECL_STRVERSCMP 1 #define HAVE_DECL_FREE 1 #define HAVE_DECL_MALLOC 1 #define HAVE_DECL_REALLOC 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_LC_MESSAGES 1 #define HAVE_STRUCT_STAT_ST_BLOCKS 1 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 #define HAVE_SOCKLEN_T 1 #define HAVE_STDLIB_H 1 #define HAVE_UNISTD_H 1 #define HAVE_GETPAGESIZE 1 #define HAVE_FORK 1 #define HAVE_VFORK 1 #define HAVE_WORKING_VFORK 1 #define HAVE_WORKING_FORK 1 #define HAVE_GETAUXVAL 1 #define HAVE_GETRUSAGE 1 #define HAVE_GETUID 1 #define HAVE_GETGID 1 #define HAVE_PIPE 1 #define HAVE_POLL 1 #define HAVE_PREAD 1 #define HAVE_PREAD64 1 #define HAVE_PWRITE 1 #define HAVE_RESIZE_TERM 1 #define HAVE_SBRK 1 #define HAVE_SETPGID 1 #define HAVE_SETPGRP 1 #define HAVE_SETSID 1 #define HAVE_SIGACTION 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SOCKETPAIR 1 #define HAVE_WBORDER 1 #define HAVE_WRESIZE 1 #define HAVE_SETLOCALE 1 #define HAVE_BTOWC 1 #define HAVE_SETRLIMIT 1 #define HAVE_GETRLIMIT 1 #define HAVE_POSIX_MADVISE 1 #define HAVE_WAITPID 1 #define HAVE_SIGALTSTACK 1 #define HAVE_MKDTEMP 1 #define HAVE_SETNS 1 #define HAVE_LANGINFO_CODESET 1 #define STDC_HEADERS 1 #define HAVE_ALLOCA_H 1 #define HAVE_ALLOCA 1 #define HAVE_LANGINFO_CODESET 1 #define HAVE_LINUX_PERF_EVENT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_MEMORY_H 1 #define HAVE_SIGNAL_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_WAIT_H 1 #define HAVE_GETRLIMIT 1 #define HAVE_PIPE 1 #define HAVE_PIPE2 1 #define HAVE_SOCKETPAIR 1 #define HAVE_DECL_STRERROR 1 #define HAVE_DECL_STRSTR 1 #define HAVE_SIGSETJMP 1 #define HAVE_SYS_PTRACE_H 1 #define HAVE_DECL_PTRACE 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_STRUCT_USER_REGS_STRUCT_FS_BASE 1 #define HAVE_STRUCT_USER_REGS_STRUCT_GS_BASE 1 #define HAVE_PTRACE_GETREGS 1 #define HAVE_PTRACE_GETFPXREGS 1 #define HAVE_PRGREGSET_T 1 #define HAVE_PRFPREGSET_T 1 #define HAVE_LWPID_T 1 #define HAVE_PSADDR_T 1 #define HAVE_LONG_DOUBLE 1 #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 #define HAVE_PERSONALITY 1 #define GDBINIT ".gdbinit" #define TARGET_SYSTEM_ROOT "" #define TARGET_SYSTEM_ROOT_RELOCATABLE 0 #define SYSTEM_GDBINIT "" #define SYSTEM_GDBINIT_RELOCATABLE 0 #define HAVE_ELF 1 #define GDB_HOST_FLOAT_FORMAT &floatformat_ieee_single_little #define GDB_HOST_DOUBLE_FORMAT &floatformat_ieee_double_little #define GDB_HOST_LONG_DOUBLE_FORMAT &floatformat_i387_ext #define GDB_OSABI_DEFAULT GDB_OSABI_LINUX #define GDB_NM_FILE "config/nm-linux.h" #define GDB_DEFAULT_HOST_CHARSET "UTF-8" configure: exit 0 ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by config.status, which was generated by GNU Autoconf 2.64. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = config.h:config.in CONFIG_LINKS = CONFIG_COMMANDS = default depdir $ config.status on linuxtest5810 config.status:1167: creating config.h config.status:1338: config.h is unchanged config.status:1383: executing default commands config.status:1383: executing depdir commands