Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/3] package/gdb: add support for GDB 14.1
Date: Tue, 2 Jan 2024 09:32:29 +0100	[thread overview]
Message-ID: <20240102093229.46f487ca@windsurf> (raw)
In-Reply-To: <ZYyZ0y4be97YCUee@landeda>

Hello,

On Wed, 27 Dec 2023 22:40:35 +0100
"Yann E. MORIN" <yann.morin.1998@free.fr> wrote:

> > +	select BR2_PACKAGE_MPFR if BR2_GDB_VERSION_14  
> 
> This is a bit fragile: when we add gdb 15, and drop gdb 12, gdb 14 will
> become the default version. Then, if the host variant is not selected,
> BR2_GDB_VERSION_14 will not be set. If the user enables the full gdb n
> target, mpfr will not be selected.

Yes, it requires some care. We had things like that in the past (gmp
became a mandatory dependency), and we were able to make it work, but I
agree it requires being careful when doing the version bumps.

> I've added a litle blurb in the config.in.host, pointing to this part of
> the code for an appropriate update.

Thanks!

> Alternatively, I wonder if we shouldn't jsut make mpfr unconditional for
> all versions of gdb, now.

No strong opinion on this: whenever possible I try to not build
unnecessary things, hence the proposed solution. But admittedly, mpfr
is becoming a mandatory dependency for gdb, so it means that anyway in
the not too distant future, everyone will have to build mpfr as a
pre-requisite of building gdb.

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      reply	other threads:[~2024-01-02  8:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-24 16:08 [Buildroot] [PATCH 1/3] package/gdb: add support for GDB 14.1 Thomas Petazzoni via buildroot
2023-12-24 16:08 ` [Buildroot] [PATCH 2/3] package/gdb: make GDB 13.x the default version Thomas Petazzoni via buildroot
2023-12-24 16:08 ` [Buildroot] [PATCH 3/3] package/gdb: remove support for GDB 11.x Thomas Petazzoni via buildroot
2023-12-27 21:40 ` [Buildroot] [PATCH 1/3] package/gdb: add support for GDB 14.1 Yann E. MORIN
2024-01-02  8:32   ` Thomas Petazzoni via buildroot [this message]

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=20240102093229.46f487ca@windsurf \
    --to=buildroot@buildroot.org \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=yann.morin.1998@free.fr \
    /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