package/gcc: bump to version 12.2.0
Subsystems (2)
See announce:
https://gcc.gnu.org/pipermail/gcc-announce/2022/000174.html
---
.../0001-disable-split-stack-for-non-thread-builds.patch | 0
package/gcc/Config.in.host | 2 +-
package/gcc/gcc.hash | 4 ++--
3 files changed, 3 insertions(+), 3 deletions(-)
rename package/gcc/{12.1.0 => 12.2.0}/0001-disable-split-stack-for-non-thread-builds.patch (100%)package/gcc/12.2.0/0001-disable-split-stack-for-non-thread-builds.patch renamed from package/gcc/12.1.0/0001-disable-split-stack-for-non-thread-builds.patch +0 -0
package/gcc/Config.in.host +1 -1
@@ -83,7 +83,7 @@ config BR2_GCC_VERSION default "8.4.0" if BR2_GCC_VERSION_POWERPC_SPE default "10.4.0" if BR2_GCC_VERSION_10_X default "11.3.0" if BR2_GCC_VERSION_11_X - default "12.1.0" if BR2_GCC_VERSION_12_X + default "12.2.0" if BR2_GCC_VERSION_12_X default "arc-2020.09-release" if BR2_GCC_VERSION_ARC config BR2_EXTRA_GCC_CONFIG_OPTIONS
package/gcc/gcc.hash +2 -2
@@ -4,8 +4,8 @@ sha512 6de904f552a02de33b11ef52312bb664396efd7e1ce3bbe37bfad5ef617f133095b3767b sha512 440c08ca746da450d9a1b35e8fd2305cb27e7e6987cd9d0f7d375f3b1fc9e4b0bd7acb3cd7bf795e72fcbead59cdef5b6c152862f5d35cd9fbfe6902101ce648 gcc-10.4.0.tar.xz # From https://gcc.gnu.org/pub/gcc/releases/gcc-11.3.0/sha512.sum sha512 f0be5ad705c73b84477128a69c047f57dd47002f375eb60e1e842e08cf2009a509e92152bca345823926d550b7395ae6d4de7db51d1ee371c2dc37313881fca7 gcc-11.3.0.tar.xz -# From https://gcc.gnu.org/pub/gcc/releases/gcc-12.1.0/sha512.sum -sha512 2121d295292814a6761edf1fba08c5f633ebe16f52b80e7b73a91050e71e1d2ed98bf17eebad263e191879561c02b48906c53faa4c4670c486a26fc75df23900 gcc-12.1.0.tar.xz +# From https://gcc.gnu.org/pub/gcc/releases/gcc-12.2.0/sha512.sum +sha512 e9e857bd81bf7a370307d6848c81b2f5403db8c7b5207f54bce3f3faac3bde63445684092c2bc1a2427cddb6f7746496d9fbbef05fbbd77f2810b2998f1f9173 gcc-12.2.0.tar.xz # Locally calculated (fetched from Github) sha512 b0853e2b1c5998044392023fa653e399e74118c46e616504ac59e1a2cf27620f94434767ce06b6cf4ca3dfb57f81d6eda92752befaf095ea5e564a9181b4659c gcc-arc-2020.09-release.tar.gz
Signature · 6 lines
2.37.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
[Buildroot] [for-next] configs: select uclibc when needed
Following the switch to Glibc as the default libc in Buildroot [1], all defconfigs expecting uClibc with wchar (or any other uClibc specific option) must now select BR2_TOOLCHAIN_BUILDROOT_UCLIBC too.
Some defconfigs provided by Buildroot select BR2_TOOLCHAIN_BUILDROOT_WCHAR without selecting BR2_TOOLCHAIN_BUILDROOT_UCLIBC.
Fixes:
https://gitlab.com/kubu93/buildroot/-/jobs/2911738579
[1] 4057e36ca9665edd5248512e4edba2c243b8f4be
---
This also break all defconfig fragments from support/config-fragments/autobuild, but they are now deprecated following utils/genrandconfig --no-toolchains-csv option:aeee90ec109b83c42779e6a2617f7d57e25a2b65
--- configs/aarch64_efi_defconfig | 1 + configs/at91sam9x5ek_dev_defconfig | 1 + configs/at91sam9x5ek_mmc_dev_defconfig | 1 + configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig | 1 + configs/atmel_sama5d2_xplained_mmc_dev_defconfig | 1 + configs/atmel_sama5d3_xplained_dev_defconfig | 1 + configs/atmel_sama5d3_xplained_mmc_dev_defconfig | 1 + configs/atmel_sama5d4_xplained_dev_defconfig | 1 + configs/atmel_sama5d4_xplained_mmc_dev_defconfig | 1 + configs/bananapro_defconfig | 1 + configs/engicam_imx6qdl_icore_qt5_defconfig | 1 + configs/galileo_defconfig | 1 + configs/imx6-sabresd_qt5_defconfig | 1 + configs/kontron_smarc_sal28_defconfig | 1 + configs/lego_ev3_defconfig | 1 + configs/mender_x86_64_efi_defconfig | 1 + configs/microchip_sam9x60ek_mmc_dev_defconfig | 1 + configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig | 1 + configs/microchip_sama5d2_icp_mmc_dev_defconfig | 1 + configs/microchip_sama7g5ek_mmc_dev_defconfig | 1 + configs/minnowboard_max_defconfig | 1 + configs/pc_x86_64_bios_defconfig | 1 + configs/pc_x86_64_efi_defconfig | 1 + configs/qemu_aarch64_sbsa_defconfig | 1 + 24 files changed, 24 insertions(+)
configs/aarch64_efi_defconfig +1 -0
@@ -2,6 +2,7 @@ BR2_aarch64=y # Toolchain, required for eudev and grub +BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y BR2_TOOLCHAIN_BUILDROOT_WCHAR=y # System
configs/at91sam9x5ek_dev_defconfig +1 -0
@@ -3,6 +3,7 @@ BR2_arm=y BR2_arm926t=y # Toolchain +BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y # Needed for some packages BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
configs/at91sam9x5ek_mmc_dev_defconfig +1 -0
@@ -3,6 +3,7 @@ BR2_arm=y BR2_arm926t=y # Toolchain +BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y # Needed for some packages BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig +1 -0
@@ -4,6 +4,7 @@ BR2_ARM_ENABLE_NEON=y BR2_ARM_ENABLE_VFP=y BR2_ARM_INSTRUCTIONS_THUMB2=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y BR2_TOOLCHAIN_BUILDROOT_WCHAR=y BR2_PTHREAD_DEBUG=y BR2_TOOLCHAIN_BUILDROOT_CXX=y
configs/atmel_sama5d2_xplained_mmc_dev_defconfig +1 -0
@@ -6,6 +6,7 @@ BR2_ARM_ENABLE_VFP=y BR2_ARM_INSTRUCTIONS_THUMB2=y # Toolchain +BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y # Needed for some packages BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
configs/atmel_sama5d3_xplained_dev_defconfig +1 -0
@@ -5,6 +5,7 @@ BR2_ARM_ENABLE_VFP=y BR2_ARM_INSTRUCTIONS_THUMB2=y # Toolchain +BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y # Needed for some packages BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
configs/atmel_sama5d3_xplained_mmc_dev_defconfig +1 -0
@@ -5,6 +5,7 @@ BR2_ARM_ENABLE_VFP=y BR2_ARM_INSTRUCTIONS_THUMB2=y # Toolchain +BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y # Needed for some packages BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
configs/atmel_sama5d4_xplained_dev_defconfig +1 -0
@@ -6,6 +6,7 @@ BR2_ARM_ENABLE_VFP=y BR2_ARM_INSTRUCTIONS_THUMB2=y # Toolchain +BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y # Needed for some packages BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
configs/atmel_sama5d4_xplained_mmc_dev_defconfig +1 -0
@@ -6,6 +6,7 @@ BR2_ARM_ENABLE_VFP=y BR2_ARM_INSTRUCTIONS_THUMB2=y # Toolchain +BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y # Needed for some packages BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
configs/bananapro_defconfig +1 -0
@@ -9,6 +9,7 @@ BR2_ARM_FPU_NEON_VFPV4=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y # Toolchain +BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y BR2_TOOLCHAIN_BUILDROOT_WCHAR=y # System configuration
configs/engicam_imx6qdl_icore_qt5_defconfig +1 -0
@@ -47,6 +47,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/engicam/icorem6/genimage.cfg" BR2_ROOTFS_OVERLAY="board/engicam/icorem6/rootfs_overlay" # qt5 dependencies +BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y BR2_TOOLCHAIN_BUILDROOT_WCHAR=y BR2_TOOLCHAIN_BUILDROOT_CXX=y
configs/galileo_defconfig +1 -0
@@ -1,5 +1,6 @@ BR2_x86_x1000=y BR2_GLOBAL_PATCH_DIR="board/intel/galileo/patches" +BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y # Needed for TARGET_GRUB2 BR2_TOOLCHAIN_BUILDROOT_WCHAR=y # Linux headers same as kernel, a 3.14 series
configs/imx6-sabresd_qt5_defconfig +1 -0
@@ -7,6 +7,7 @@ BR2_ARM_FPU_VFPV3=y # Linux headers same as kernel, a 5.15 series BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y +BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y # Additional features needed for packages BR2_TOOLCHAIN_BUILDROOT_WCHAR=y BR2_TOOLCHAIN_BUILDROOT_CXX=y
configs/kontron_smarc_sal28_defconfig +1 -0
@@ -1,6 +1,7 @@ BR2_aarch64=y BR2_cortex_a72=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y +BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y BR2_TOOLCHAIN_BUILDROOT_WCHAR=y BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y BR2_ROOTFS_OVERLAY="board/kontron/smarc-sal28/rootfs_overlay"
configs/lego_ev3_defconfig +1 -0
@@ -3,6 +3,7 @@ BR2_arm=y BR2_arm926t=y # Toolchain +BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y BR2_TOOLCHAIN_BUILDROOT_WCHAR=y # system
configs/mender_x86_64_efi_defconfig +1 -0
@@ -2,6 +2,7 @@ BR2_x86_64=y # Toolchain +BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_17=y # Required for eudev (to autoload drivers) BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
configs/microchip_sam9x60ek_mmc_dev_defconfig +1 -0
@@ -1,5 +1,6 @@ BR2_arm=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y BR2_TOOLCHAIN_BUILDROOT_WCHAR=y BR2_PTHREAD_DEBUG=y BR2_TOOLCHAIN_BUILDROOT_CXX=y
configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig +1 -0
@@ -4,6 +4,7 @@ BR2_ARM_ENABLE_NEON=y BR2_ARM_ENABLE_VFP=y BR2_ARM_INSTRUCTIONS_THUMB2=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y BR2_TOOLCHAIN_BUILDROOT_WCHAR=y BR2_PTHREAD_DEBUG=y BR2_TOOLCHAIN_BUILDROOT_CXX=y
configs/microchip_sama5d2_icp_mmc_dev_defconfig +1 -0
@@ -4,6 +4,7 @@ BR2_ARM_ENABLE_NEON=y BR2_ARM_ENABLE_VFP=y BR2_ARM_INSTRUCTIONS_THUMB2=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y BR2_TOOLCHAIN_BUILDROOT_WCHAR=y BR2_PTHREAD_DEBUG=y BR2_TOOLCHAIN_BUILDROOT_CXX=y
configs/microchip_sama7g5ek_mmc_dev_defconfig +1 -0
@@ -2,6 +2,7 @@ BR2_arm=y BR2_cortex_a7=y BR2_ARM_FPU_NEON_VFPV4=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y +BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y BR2_TOOLCHAIN_BUILDROOT_WCHAR=y BR2_PTHREAD_DEBUG=y BR2_TOOLCHAIN_BUILDROOT_CXX=y
configs/minnowboard_max_defconfig +1 -0
@@ -10,6 +10,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/minnowboard/genimage.cfg" # Linux headers same as kernel, a 5.10 series BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y # Needed for grub2 BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
configs/pc_x86_64_bios_defconfig +1 -0
@@ -2,6 +2,7 @@ BR2_x86_64=y # Toolchain, required for eudev (to autoload drivers) +BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y BR2_TOOLCHAIN_BUILDROOT_WCHAR=y # System
configs/pc_x86_64_efi_defconfig +1 -0
@@ -2,6 +2,7 @@ BR2_x86_64=y # Toolchain, required for eudev (to autoload drivers) +BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y BR2_TOOLCHAIN_BUILDROOT_WCHAR=y # System
configs/qemu_aarch64_sbsa_defconfig +1 -0
@@ -3,6 +3,7 @@ BR2_aarch64=y BR2_cortex_a57=y # Toolchain +BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y BR2_TOOLCHAIN_BUILDROOT_WCHAR=y # System
Signature · 6 lines
2.37.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [for-next] configs: select uclibc when needed
Hello,
Quoted 6 lines · On Sun, 21 Aug 2022 17:31:04 +0200 Romain Naour <[email protected]> wrote:
Following the switch to Glibc as the default libc in Buildroot [1], all defconfigs expecting uClibc with wchar (or any other uClibc specific option) must now select
BR2_TOOLCHAIN_BUILDROOT_UCLIBCtoo.Some defconfigs provided by Buildroot select
BR2_TOOLCHAIN_BUILDROOT_WCHARwithout selectingBR2_TOOLCHAIN_BUILDROOT_UCLIBC.
I think we should rather switch those defconfigs to use the new default, i.e glibc.
Best regards,
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [for-next] configs: select uclibc when needed
Hello Thomas,
Le 21/08/2022 à 23:03, Thomas Petazzoni a écrit :
Quoted 9 lines
Hello,
Quoted 4 lines · On Sun, 21 Aug 2022 17:31:04 +0200 Romain Naour <[email protected]> wrote:
Following the switch to Glibc as the default libc in Buildroot [1], all defconfigs expecting uClibc with wchar (or any other uClibc specific option) must now select
BR2_TOOLCHAIN_BUILDROOT_UCLIBCtoo.
Quoted 5 lines
Quoted 2 lines
Some defconfigs provided by Buildroot select
BR2_TOOLCHAIN_BUILDROOT_WCHARwithout selectingBR2_TOOLCHAIN_BUILDROOT_UCLIBC.I think we should rather switch those defconfigs to use the new default, i.e glibc.
I'm agree on the principle to switch them to glibc but boards defconfig where only runtime tested with uclibc. Also we may need to increase the file system image (BR2_TARGET_ROOTFS_EXT2_SIZE) when needed.That's why I choose to keep uclibc in this patch.
But all other defconfig switched already to glibc... maybe BR2_TARGET_ROOTFS_EXT2_SIZE=60M is now too small for some case?
Best regards,
Romain
Quoted 4 lines
Best regards,
Thomas
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [for-next] configs: select uclibc when needed
Quoted 2 lines · On Sun, 21 Aug 2022 23:56:19 +0200 Romain Naour <[email protected]> wrote:
I'm agree on the principle to switch them to glibc but boards defconfig where only runtime tested with uclibc.
True, but I don't have much doubt that glibc will work fine if uclibc was working fine. We're anyway already updating the versions of gcc/binutils/uclibc for all defconfigs without necessarily checking again on hardware.
Quoted 3 lines
Also we may need to increase the file system
image (BR2_TARGET_ROOTFS_EXT2_SIZE) when needed.That's why I choose to keep uclibc in this patch.
The size issue is not an issue: we will get a hard build failure if we reach the maximum size, so it's easy to detect and fix.
So I think I would still prefer the defconfigs to not enforce a C library, and use the default of Buildroot, which is now glibc.
Thanks!
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 10 lines · On Sun, 21 Aug 2022 17:31:03 +0200 Romain Naour <[email protected]> wrote:
See announce:
https://gcc.gnu.org/pipermail/gcc-announce/2022/000174.htmlSigned-off-by Romain Naour <[email protected]>--- .../0001-disable-split-stack-for-non-thread-builds.patch | 0 package/gcc/Config.in.host | 2 +- package/gcc/gcc.hash | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) rename package/gcc/{12.1.0 => 12.2.0}/0001-disable-split-stack-for-non-thread-builds.patch (100%)
Applied to next, thanks.
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot