Skip to content

Add support for building toolchains with GCC 15.x

Thomas Petazzoni via buildroot buildroot 1 version Applied

Status from this message: Applied to 2025.02.x & 2025.05.x. Thanks

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7toolchain/Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_15 blind optiontoolchain/Config.in+5 -01 reply
2/7package/gcc: add support for GCC 15.x.checkpackageignore package/gcc/15.1.0/0001-disable-split-stack-for-non-thread-builds.patch package/gcc/Config.in.host +1 more+40 -00 replies
3/7package/gcc: switch to GCC 14.x as the defaultpackage/gcc/Config.in.host+1 -10 replies
4/7package/gcc: drop support for GCC 12.x.checkpackageignore Config.in.legacy package/gcc/12.4.0/0001-disable-split-stack-for-non-thread-builds.patch +7 more+9 -4330 replies
5/7package/gcc: drop stale hashpackage/gcc/gcc.hash+0 -21 reply
6/7package/gcc: drop dead code related to BR2_GCC_SUPPORTS_LIBCILKRTSpackage/gcc/Config.in.host package/gcc/gcc-final/gcc-final.mk+0 -241 reply
7/7package/gcc: drop useless condition on BR2_GCC_ENABLE_GRAPHITEpackage/gcc/Config.in.host+0 -41 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/7] Add support for building toolchains with GCC 15.x

Hello,

GCC 15.1.0 has been released earlier today, so it's about time for Buildroot to support it!

This series goes through the usual dance, plus brings a few additional cleanup commits, related to issues spotted while looking at the gcc package code.

This was built tested by building:

- A Buildroot config for AArch64, glibc, GCC 15.x
- A Buildroot config for ARM, musl, GCC 15.x
- A Buildroot config for x86-64, uclibc-ng, GCC 15.x

Thomas Petazzoni (7):
toolchain/Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_15 blind option package/gcc: add support for GCC 15.x
package/gcc: switch to GCC 14.x as the default package/gcc: drop support for GCC 12.x
package/gcc: drop stale hash
package/gcc: drop dead code related to BR2_GCC_SUPPORTS_LIBCILKRTS package/gcc: drop useless condition on BR2_GCC_ENABLE_GRAPHITE

 .checkpackageignore                           |   2 +-
 Config.in.legacy                              |   7 +
 ...ine-TARGET_HAVE_TLS-when-HAVE_AS_TLS.patch |  48 ------
 ...add-.note.GNU-stack-section-on-linux.patch | 105 -------------
 ...emove-crypt-and-crypt_r-interceptors.patch | 140 ------------------
 ...-along-with-_FILE_OFFSET_BITS-on-Lin.patch |  44 ------
 ...o-undef-_TIME_BITS-in-sanitizer_proc.patch |  53 -------
 ...le-split-stack-for-non-thread-builds.patch |   4 +-
 package/gcc/Config.in.host                    |  38 ++---
 package/gcc/gcc-final/gcc-final.mk            |  19 ---
 package/gcc/gcc.hash                          |   6 +-
 toolchain/Config.in                           |   5 +
 12 files changed, 31 insertions(+), 440 deletions(-)
 delete mode 100644 package/gcc/12.4.0/0002-or1k-Only-define-TARGET_HAVE_TLS-when-HAVE_AS_TLS.patch
 delete mode 100644 package/gcc/12.4.0/0003-xtensa-add-.note.GNU-stack-section-on-linux.patch
 delete mode 100644 package/gcc/12.4.0/0004-Remove-crypt-and-crypt_r-interceptors.patch
 delete mode 100644 package/gcc/12.4.0/0005-Undef-_TIME_BITS-along-with-_FILE_OFFSET_BITS-on-Lin.patch
 delete mode 100644 package/gcc/12.4.0/0006-libsanitizer-also-undef-_TIME_BITS-in-sanitizer_proc.patch
 rename package/gcc/{12.4.0 => 15.1.0}/0001-disable-split-stack-for-non-thread-builds.patch (91%)
Signature · 6 lines
2.49.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot