[PATCHv2] Use toplevel configure for GMP and MPFR for gdb

Clément Chigot chigot@adacore.com
Tue Jan 3 13:12:11 GMT 2023


Hi Andrew,

On Tue, Jan 3, 2023 at 12:52 PM Andrew Pinski <pinskia@gmail.com> wrote:
>
> On Tue, Jan 3, 2023 at 2:52 AM Clément Chigot <chigot@adacore.com> wrote:
> >
> > Hi guys,
> >
> > Since this patch, binutils without mpfr and gmp is unable to build
> > when gdb is disabled (with configure option --disable-gdb).
>
> The issue only happens if you are building from git repo. the release
> versions of binutils does NOT include the gdb directory so it does not
> matter.

This is the toplevel configure raising an error. The fact that the gdb
directory is embedded or not in the release doesn't matter here.
Moreover, we still want to be able to build from the git repository
with --disable-gdb.

Anyway, Nick answers confirm my idea. The toplevel configure should be
adjusted for --disable-gdb.
I'll take care of that.

Thanks,
Clément


More information about the Binutils mailing list