Re: Problems building gdbserver in binutils 2.46

Tom Kacvinsky via Gdb <[email protected]> Mon, 9 Feb 2026 07:20:01 -0500
Newsgroups gmane.comp.gdb.devel,gmane.comp.gnu.binutils
Message-ID <CAG_eJLc1UA4E03ZaUeDUEGOEZgQd5H16iOrOf0j=BPPMkNo_8g@mail.gmail.com>
Hi,

On Mon, Feb 9, 2026 at 2:45 AM Jan Beulich <[email protected]> wrote:

> On 08.02.2026 16:34, Tom Kacvinsky wrote:
> > Using CentOS 70 - which has glibc 2.17 and kernel 3.10.0 - and using the
> > tool chains
> >
> >   GCC 12.1.0
> >   binutils 2.39
> > libtool 2.47
> >
> > and then building binutil 2.46 from source without specifying
> > --disable-gdbserver, I got this build error
>
> Doesn't this point at a (long-standing) regression in how branching is
> done?
> Up to 2.24 gdb*/ weren't part of the branches, hence such an issue couldn't
> arise.
>
> I assume you would observe the same when building on the master branch;
> there
> the issue wants dealing with on the gdb side then; Cc-ing the correct list.
>

Yes, I switched to the master branch (from binutils-2_46) and the problems
exists
there, too.

So what I do being that I only want gas and ld, I configure with

../binutils-gdb/configure --prefix=${BINUTILS_PREFIX} \

    --disable-gdb \

    --disable-gdbserver \

    --disable-gprof \

    --disable-gprofng \

    --enable-multilib


and then the build completes.


Tom