gdb builder status (Was: Adding binutils to the GNU Toolchain buildbot on sourceware)

Mark Wielaard
2022-04-29T20:04:40Z

Hi gdb hackers (dropped binutils),

https://builder.sourceware.org now has 6 build only builders.
centos-x86_64, fedora-x86_64, debian-armhf, debian-arm64, fedora-s390x and debian-ppc64.
I like to add a fedora-ppc64le one once that one has enough disk space.

These builders are fairly quick, a few minutes at most. And all except
the fedora-s390x one build fine. They should sent email once a new
failure occurs.

The fedora-s390x failure looks as follows:
https://builder.sourceware.org/buildbot/#/builders/gdb-fedora-s390x

In file included from /usr/include/c++/11/string:40,
from ../../binutils-gdb/gdb/../gdbsupport/ptid.h:36,
from ../../binutils-gdb/gdb/../gdbsupport/common-defs.h:198,
from ../../binutils-gdb/gdb/defs.h:28,
from ../../binutils-gdb/gdb/debuginfod-support.c:19:
In static member function ‘static constexpr const char_type* std::char_traits<char>::find(const char_type*, std::size_t, const char_type&)’,
inlined from ‘constexpr std::basic_string_view<_CharT, _Traits>::size_type std::basic_string_view<_CharT, _Traits>::find(_CharT, std::basic_string_view<_CharT, _Traits>::size_type) const [with _CharT = char; _Traits = std::char_traits<char>]’ at /usr/include/c++/11/bits/string_view.tcc:87:41,
inlined from ‘constexpr std::basic_string_view<_CharT, _Traits>::size_type std::basic_string_view<_CharT, _Traits>::find_first_of(_CharT, std::basic_string_view<_CharT, _Traits>::size_type) const [with _CharT = char; _Traits = std::char_traits<char>]’ at /usr/include/c++/11/string_view:431:26,
inlined from ‘bool debuginfod_is_enabled()’ at ../../binutils-gdb/gdb/debuginfod-support.c:194:33:
/usr/include/c++/11/bits/char_traits.h:413:62: error: ‘void* __builtin_memchr(const void*, int, long unsigned int)’ specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Werror=stringop-overread]
413 | return static_cast<const char_type*>(__builtin_memchr(__s, __a, __n));
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~

There is also one build and check everything builder
https://builder.sourceware.org/buildbot/#/builders/binutils-gdb-fedrawhide-x86_64
I haven't looked at the test results yet, but they are all stored in
the bunsendb.git for later analysis. This builder doesn't sent emails
on bad builds.

One issue with the build-check-everything builder might be the widely
varrying build times which range from 1 to 7 hours.

Cheers,

Mark