GMP is now a required dependency for building GDB

Joel Sherrill joel at rtems.org
Tue Nov 17 13:49:07 UTC 2020


On Tue, Nov 17, 2020 at 1:46 AM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> Hello,
>
> I tried to update the RTEMS 6/7 tools yesterday and all builds failed on
> my FreeBSD machine. The reason is this change in GDB:
>
> commit 1b4ac058f7daeb9bac9ab0e63a7e73535208dfef
> Author: Joel Brobecker <brobecker at adacore.com>
> Date:   Sun Nov 15 03:08:40 2020 -0500
>
>      gdb: Make GMP a required dependency for building GDB
>
>      This commit modifies gdb's configure script to trigger an error
>      if we cannot find a usable libgmp.
>
>      For the record, making this a requirement was discussed in March 2018:
> https://sourceware.org/pipermail/gdb-patches/2018-March/147373.html
>
>      gdb/ChangeLog:
>
>              * configure.ac: Generate an error if a usable GMP library
>              could not be found.
>              * configure: Regenerate.
>
> The GMP library is not available by default on FreeBSD systems. For GCC
> we include a fixed version and build it together with GCC. What should
> be do for GDB?
>

I would lean to including the same version in GDB that we do in GCC.

Is this like gcc in that if they find it in the source tree, they will use
it?

--joel

>
> --
> embedded brains GmbH
> Sebastian HUBER
> Dornierstr. 4
> 82178 Puchheim
> Germany
> email: sebastian.huber at embedded-brains.de
> Phone: +49-89-18 94 741 - 16
> Fax:   +49-89-18 94 741 - 08
> PGP: Public key available on request.
>
> embedded brains GmbH
> Registergericht: Amtsgericht München
> Registernummer: HRB 157899
> Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
> Unsere Datenschutzerklärung finden Sie hier:
> https://embedded-brains.de/datenschutzerklaerung/
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20201117/5cde6f3c/attachment.html>


More information about the devel mailing list