[PATCHv2] Use toplevel configure for GMP and MPFR for gdb
Andrew Pinski
pinskia@gmail.com
Tue Jan 3 11:52:27 GMT 2023
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.
Thanks,
Andrew Pinski
> But
> AFAICT, these libraries are not required if gdb isn't there.
> Moreover, the following error looks wrong to me when gdb is explicitly
> requested not to be built.
> | configure: error: Building GDB requires GMP 4.2+, and MPFR 3.1.0+.
> | Try the --with-gmp and/or --with-mpfr options to specify
>
> Thus, I'm wondering if there are any plans to also use gmp and mpfr in
> binutils without gdb (adding Nick for that) ? In this case, we would
> want to change the error message.
> Or is this patch only meant for gdb and should be adjusted for --disable-gdb ?
>
> Thanks,
> Clément
More information about the Binutils
mailing list