Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <peter@korsgaard.com>
To: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Romain Naour <romain.naour@smile.fr>,
	 buildroot@buildroot.org, arnout@rnout.be,
	 Julien Olivain <ju.o@free.fr>
Subject: Re: [Buildroot] [PATCH 2/2] package/glibc: riscv w/ ISA RVV needs gcc >= 15
Date: Thu, 15 Oct 2026 13:32:03 +0200	[thread overview]
Message-ID: <874iengpxo.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <as3sD0VIZZwk-tXn@windsurf> (Thomas Petazzoni's message of "Tue,  13 Oct 2026 10:31:33 +0200")

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes:

Hi,

 >> +++ b/package/glibc/Config.in
 >> @@ -27,6 +27,9 @@ config BR2_PACKAGE_GLIBC_ARCH_SUPPORTS
 >> # glibc needs atomic instructions, and does not support
 >> # single-precision floating point ABIs (ilp32f and lp64f)
 >> depends on (BR2_RISCV_ISA_RVA && !BR2_RISCV_ABI_ILP32F && !BR2_RISCV_ABI_LP64F) || !BR2_riscv
 >> +	# glibc >= 2.43 needs at gcc >= 15 when Vector
 >> +	# Instructions (V) are enabled.
 >> +	depends on (BR2_RISCV_ISA_RVV && BR2_TOOLCHAIN_GCC_AT_LEAST_15) || !BR2_riscv

 > This will hide glibc if gcc 15.x is not used. I was wondering if it
 > would make more sense to turn things around and hide gcc 14.x instead
 > if glibc is used on RISC-V RVV-enabled platforms?

 > Peter, Arnout, Julien, thoughts?

Yes, that sounds more sensible and then the logic would also just go away
when GCC 14.x support is dropped.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2026-10-15 11:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-07 21:30 [Buildroot] [PATCH 1/2] configs/sipeed_licheepi_4a_defconfig: glibc needs gcc >= 15 Romain Naour via buildroot
2026-06-07 21:30 ` [Buildroot] [PATCH 2/2] package/glibc: riscv w/ ISA RVV " Romain Naour via buildroot
2026-10-13  8:31   ` Thomas Petazzoni via buildroot
2026-10-15 11:32     ` Peter Korsgaard [this message]
2026-10-13  8:30 ` [Buildroot] [PATCH 1/2] configs/sipeed_licheepi_4a_defconfig: glibc " Thomas Petazzoni via buildroot

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=874iengpxo.fsf@dell.be.48ers.dk \
    --to=peter@korsgaard.com \
    --cc=arnout@rnout.be \
    --cc=buildroot@buildroot.org \
    --cc=ju.o@free.fr \
    --cc=romain.naour@smile.fr \
    --cc=thomas.petazzoni@bootlin.com \
    /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