Upgrading autoconf and automake
Simon Marchi
simark@simark.ca
Tue Nov 24 14:55:39 GMT 2026
On 11/23/26 9:26 PM, Pietro Monteiro wrote:
>
>
> On 2026-11-19 11:13, Simon Marchi wrote:
>> On 11/19/26 10:54 AM, Tom Tromey wrote:
>>>>>>>> "Pietro" == Pietro Monteiro <pietro@sociotechnical.xyz> writes:
>>>
>>> Pietro> Is `$REPO/configure —enable-gdb` and then `make && make check` enough?
>>>
>>> Yeah. On some platforms the test suite results aren't clean though.
>>
>> For GDB, I'd say just do a smoke test like:
>>
>> make check TESTS="gdb.base/break.exp"
>
>
> On my x86_64-linux-gnu laptop I get:
>
> === gdb Summary ===
>
> # of expected passes 117
>
>
> I did a try build as Mark suggested. I had a weird failure on the binutils debian x86_64 build that I can't reproduce it locally. All the other binutils and gdb builds were successful:
> https://builder.sourceware.org/buildbot/#/changes/156604
>
> pietro
../../binutils-gdb/bfd/elfxx-x86.c: In function ‘_bfd_x86_elf_link_setup_gnu_properties’:
../../binutils-gdb/bfd/elfxx-x86.c:4836:16: error: incompatible types when returning type ‘_Bool’ but ‘bfd *’ was expected
4836 | return false;
| ^~~~~
make[3]: *** [Makefile:1924: elfxx-x86.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
This is:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112556
This builder is using gcc 14.2, but the fix is only in gcc 14.3, and gcc
15 and up.
Your autoconf upgrade is probably causing the build to use C23 instead
of a previous standard version, or the compiler's default. Which is
fine, if binutils wanted to use a specific C version, they should
specify it in their configure.ac.
I suggest you send a patch to binutils to change that false to NULL.
Simon
More information about the Gdb
mailing list