On 29.05.2019 06:26, gdb-buildbot@sergiodj.net wrote: > Unfortunately it seems that there is a breakage on GDB. > There is no off64_t on NetBSD as off_t is 64-bit. qsort_r is missing. > Commit title: 'libctf: build system' > Revision: 0e65dfbaf3a0299e4837216a103c28625d4b4f1d > > You can find more details below: > > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > > Buildslave: > gdb-amd64-netbsd7 > > Full Build URL: > > > Commit(s) tested: > 0e65dfbaf3a0299e4837216a103c28625d4b4f1d > > Author(s) (in the same order as the commits): > Nick Alcock > > Subject: > libctf: build system > > Testsuite log (gdb.sum and gdb.log) URL(s): > > > *** Failed to compiled GDB. *** > ============================ > > +++ The full log is too big to be posted here. > +++ These are the last 100 lines of it. > > checking for x86_64-unknown-netbsd8.0-gcc... gcc > checking whether the C compiler works... yes > checking for C compiler default output file name... a.out > checking for suffix of executables... > checking whether we are cross compiling... no > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking whether gcc understands -c and -o together... yes > checking how to run the C preprocessor... gcc -E > checking for grep that handles long lines and -e... /usr/bin/grep > checking for egrep... /usr/bin/grep -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking minix/config.h usability... no > checking minix/config.h presence... no > checking for minix/config.h... no > checking whether it is safe to define __EXTENSIONS__... yes > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... ../../binutils-gdb/libctf/../install-sh -c -d > checking for gawk... awk > checking whether gmake sets $(MAKE)... yes > checking for style of include used by gmake... GNU > checking whether gmake supports nested variables... yes > checking dependency style of gcc... gcc3 > checking whether gmake sets $(MAKE)... (cached) yes > checking for x86_64-unknown-netbsd8.0-gcc... (cached) gcc > checking whether we are using the GNU C compiler... (cached) yes > checking whether gcc accepts -g... (cached) yes > checking for gcc option to accept ISO C89... (cached) none needed > checking whether gcc understands -c and -o together... (cached) yes > checking for x86_64-unknown-netbsd8.0-ranlib... ranlib > checking for x86_64-unknown-netbsd8.0-ar... ar > checking the archiver (ar) interface... ar > checking for special C compiler options needed for large files... no > checking for _FILE_OFFSET_BITS value needed for large files... no > checking for aclocal... ${SHELL} /data/motusgdb/motus/netbsd-x86_64/binutils-gdb/missing aclocal-1.15 > checking for autoconf... ${SHELL} /data/motusgdb/motus/netbsd-x86_64/binutils-gdb/missing autoconf > checking for autoheader... ${SHELL} /data/motusgdb/motus/netbsd-x86_64/binutils-gdb/missing autoheader > checking whether gcc supports -W... yes > checking whether gcc supports -Wall... yes > checking whether gcc supports -Wnarrowing... yes > checking whether gcc supports -Wwrite-strings... yes > checking whether gcc supports -Wmissing-format-attribute... yes > checking whether gcc supports -Wstrict-prototypes... yes > checking whether gcc supports -Wmissing-prototypes... yes > checking whether gcc supports -Wold-style-definition... yes > checking whether gcc supports -pedantic -Wlong-long... yes > checking whether to enable maintainer-specific portions of Makefiles... no > checking whether gcc supports -Wall... (cached) yes > checking for stdlib.h... (cached) yes > checking for unistd.h... (cached) yes > checking for sys/param.h... yes > checking for getpagesize... yes > checking for working mmap... yes > checking byteswap.h usability... no > checking byteswap.h presence... no > checking for byteswap.h... no > checking for pread... yes > configure: updating cache ./config.cache > checking that generated files are newer than configure... done > configure: creating ./config.status > config.status: creating Makefile > config.status: creating config.h > config.status: executing depfiles commands > gmake[2]: Entering directory '/data/motusgdb/motus/netbsd-x86_64/build/libctf' > gmake all-am > gmake[3]: Entering directory '/data/motusgdb/motus/netbsd-x86_64/build/libctf' > gcc -DHAVE_CONFIG_H -I. -I../../binutils-gdb/libctf -D_GNU_SOURCE -I../../binutils-gdb/libctf -I../../binutils-gdb/libctf/../include -I../../binutils-gdb/libctf/../bfd -I../bfd -std=gnu99 -Wall -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -pedantic -Wno-long-long -g -D_GLIBCXX_DEBUG -MT ctf-archive.o -MD -MP -MF .deps/ctf-archive.Tpo -c -o ctf-archive.o ../../binutils-gdb/libctf/ctf-archive.c > In file included from ../../binutils-gdb/libctf/ctf-impl.h:25:0, > from ../../binutils-gdb/libctf/ctf-archive.c:20: > ../../binutils-gdb/libctf/../include/ctf-api.h:68:3: error: unknown type name 'off64_t' > off64_t cts_offset; /* File offset of this section (if any). */ > ^ > ../../binutils-gdb/libctf/ctf-archive.c: In function 'ctf_arc_write': > ../../binutils-gdb/libctf/ctf-archive.c:173:3: warning: implicit declaration of function 'qsort_r' [-Wimplicit-function-declaration] > qsort_r ((ctf_archive_modent_t *) ((char *) archdr > ^ > Makefile:403: recipe for target 'ctf-archive.o' failed > gmake[3]: *** [ctf-archive.o] Error 1 > gmake[3]: Leaving directory '/data/motusgdb/motus/netbsd-x86_64/build/libctf' > Makefile:321: recipe for target 'all' failed > gmake[2]: *** [all] Error 2 > gmake[2]: Leaving directory '/data/motusgdb/motus/netbsd-x86_64/build/libctf' > Makefile:9871: recipe for target 'all-libctf' failed > gmake[1]: *** [all-libctf] Error 2 > gmake[1]: Leaving directory '/data/motusgdb/motus/netbsd-x86_64/build' > Makefile:849: recipe for target 'all' failed > gmake: *** [all] Error 2 > ============================ >