Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Simon Marchi via Gdb <gdb@sourceware.org>
To: Pietro Monteiro <pietro@sociotechnical.xyz>, Tom Tromey <tom@tromey.com>
Cc: binutils@sourceware.org, gdb@sourceware.org,
	Simon Marchi <simon.marchi@efficios.com>
Subject: Re: Upgrading autoconf and automake
Date: Tue, 24 Nov 2026 09:55:39 -0500	[thread overview]
Message-ID: <478d375e-6354-4392-a0f5-eb82514d2376@simark.ca> (raw)
In-Reply-To: <e34ffb2f-a11d-424e-8966-d040b6a8552c@sociotechnical.xyz>

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

  reply	other threads:[~2026-11-24 14:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-07 18:06 Pietro Monteiro via Gdb
2026-11-17 14:59 ` Tom Tromey
2026-11-17 22:35   ` Pietro Monteiro via Gdb
2026-11-19 15:54     ` Tom Tromey
2026-11-19 16:13       ` Simon Marchi via Gdb
2026-11-19 17:10         ` Mark Wielaard
2026-11-24  2:26         ` Pietro Monteiro via Gdb
2026-11-24 14:55           ` Simon Marchi via Gdb [this message]
2026-11-24  2:35   ` Pietro Monteiro via Gdb
2026-11-24 18:21     ` Simon Marchi via Gdb
2026-11-24  6:45   ` Pietro Monteiro via Gdb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=478d375e-6354-4392-a0f5-eb82514d2376@simark.ca \
    --to=gdb@sourceware.org \
    --cc=binutils@sourceware.org \
    --cc=pietro@sociotechnical.xyz \
    --cc=simark@simark.ca \
    --cc=simon.marchi@efficios.com \
    --cc=tom@tromey.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox