* [Buildroot] [PATCH 1/2] configs/sipeed_licheepi_4a_defconfig: glibc needs gcc >= 15 @ 2026-06-07 21:30 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:30 ` [Buildroot] [PATCH 1/2] configs/sipeed_licheepi_4a_defconfig: glibc " Thomas Petazzoni via buildroot 0 siblings, 2 replies; 4+ messages in thread From: Romain Naour via buildroot @ 2026-06-07 21:30 UTC (permalink / raw) To: buildroot; +Cc: Romain Naour The sipeed_licheepi_4a defconfig doesn't build since the glibc version bump to 2.43 [1]. Glibc increased the minimal gcc version for riscv w/ ISA RVV in commit [2]. Select gcc 15 in this defconfig to be able to build a glibc based toolchain. Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/14728914049 (sipeed_licheepi_4a_defconfig) [1] 227378b5930b681c79a13476ae60a98753a98a03 [2] https://sourceware.org/git/?p=glibc.git;a=commit;h=47975914fb106b83c42bc0baf6435a0944a23d30 Signed-off-by: Romain Naour <romain.naour@smile.fr> --- configs/sipeed_licheepi_4a_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/sipeed_licheepi_4a_defconfig b/configs/sipeed_licheepi_4a_defconfig index c7867ed05d..602cd50e0b 100644 --- a/configs/sipeed_licheepi_4a_defconfig +++ b/configs/sipeed_licheepi_4a_defconfig @@ -2,6 +2,7 @@ BR2_riscv=y BR2_RISCV_ISA_RVC=y BR2_RISCV_ISA_RVV=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_12=y +BR2_GCC_VERSION_15_X=y BR2_GLOBAL_PATCH_DIR="board/sipeed/licheepi_4a/patches" BR2_DOWNLOAD_FORCE_CHECK_HASHES=y BR2_TARGET_GENERIC_HOSTNAME="licheepi4a" -- 2.54.0 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] package/glibc: riscv w/ ISA RVV needs gcc >= 15 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 ` Romain Naour via buildroot 2026-10-13 8:31 ` Thomas Petazzoni via buildroot 2026-10-13 8:30 ` [Buildroot] [PATCH 1/2] configs/sipeed_licheepi_4a_defconfig: glibc " Thomas Petazzoni via buildroot 1 sibling, 1 reply; 4+ messages in thread From: Romain Naour via buildroot @ 2026-06-07 21:30 UTC (permalink / raw) To: buildroot; +Cc: Romain Naour The sipeed_licheepi_4a defconfig doesn't build since the glibc version bump to 2.43 [1]. Glibc increased the minimal gcc version for riscv w/ ISA RVV in commit [2]. Add a new glibc dependency on gcc 15 when ISA RVV is enabled. [1] 227378b5930b681c79a13476ae60a98753a98a03 [2] https://sourceware.org/git/?p=glibc.git;a=commit;h=47975914fb106b83c42bc0baf6435a0944a23d30 Signed-off-by: Romain Naour <romain.naour@smile.fr> --- package/glibc/Config.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/glibc/Config.in b/package/glibc/Config.in index 2bf44bb70b..8e5b08ab7f 100644 --- a/package/glibc/Config.in +++ 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 depends on BR2_USE_MMU config BR2_PACKAGE_GLIBC_SUPPORTS -- 2.54.0 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH 2/2] package/glibc: riscv w/ ISA RVV needs gcc >= 15 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 0 siblings, 0 replies; 4+ messages in thread From: Thomas Petazzoni via buildroot @ 2026-10-13 8:31 UTC (permalink / raw) To: Romain Naour; +Cc: arnout, Julien Olivain, buildroot Hello, Adding some maintainers in Cc. On Sun, Jun 07, 2026 at 11:30:30PM +0200, Romain Naour via buildroot wrote: > The sipeed_licheepi_4a defconfig doesn't build since the glibc version > bump to 2.43 [1]. Glibc increased the minimal gcc version for riscv > w/ ISA RVV in commit [2]. > > Add a new glibc dependency on gcc 15 when ISA RVV is enabled. > > [1] 227378b5930b681c79a13476ae60a98753a98a03 > [2] https://sourceware.org/git/?p=glibc.git;a=commit;h=47975914fb106b83c42bc0baf6435a0944a23d30 > > Signed-off-by: Romain Naour <romain.naour@smile.fr> > --- > package/glibc/Config.in | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/package/glibc/Config.in b/package/glibc/Config.in > index 2bf44bb70b..8e5b08ab7f 100644 > --- a/package/glibc/Config.in > +++ 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? 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH 1/2] configs/sipeed_licheepi_4a_defconfig: glibc needs gcc >= 15 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:30 ` Thomas Petazzoni via buildroot 1 sibling, 0 replies; 4+ messages in thread From: Thomas Petazzoni via buildroot @ 2026-10-13 8:30 UTC (permalink / raw) To: Romain Naour; +Cc: buildroot On Sun, Jun 07, 2026 at 11:30:29PM +0200, Romain Naour via buildroot wrote: > The sipeed_licheepi_4a defconfig doesn't build since the glibc version > bump to 2.43 [1]. Glibc increased the minimal gcc version for riscv > w/ ISA RVV in commit [2]. > > Select gcc 15 in this defconfig to be able to build a glibc based > toolchain. > > Fixes: > https://gitlab.com/buildroot.org/buildroot/-/jobs/14728914049 (sipeed_licheepi_4a_defconfig) > > [1] 227378b5930b681c79a13476ae60a98753a98a03 > [2] https://sourceware.org/git/?p=glibc.git;a=commit;h=47975914fb106b83c42bc0baf6435a0944a23d30 > > Signed-off-by: Romain Naour <romain.naour@smile.fr> Applied to master, thanks! Best regards, Thomas Petazzoni -- 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-10-13 17:54 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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-13 8:30 ` [Buildroot] [PATCH 1/2] configs/sipeed_licheepi_4a_defconfig: glibc " Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox