From 311c0536e8f29eee3fedb1f13df5ecadaee511df Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Mon, 2 Feb 2026 22:28:11 +0100 Subject: [PATCH] support/config-fragments/autobuild: add a really old toolchain Testing with a really old toolchain is helpful to catch issues related to kernel headers version issues, gcc version issues, etc. We chose a glibc toolchain though as old musl or uClibc-ng versions tend to lack a number of features that are needed by modern software. This toolchain is placed near the top of toolchain-configs.csv, so that it is used as part of the "base" set of toolchain that test-pkg uses, even without the -a option. test-pkg takes the 6 first toolchains of this CSV file for its base test, and actually the comment in toolchain-configs.csv was wrong since commit 53a8c5150e5eeeb6dbbead0275dbf9141f507511, which removed a toolchain from the base set, but not realizing that test-pkg would anyway continue to test the first 6 toolchains. Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard (cherry picked from commit 85d47bbc40bb9b62d2b59b6f5653f6e69c494372) Signed-off-by: Thomas Perale --- .../autobuild/bootlin-aarch64-glibc-old.config | 9 +++++++++ support/config-fragments/autobuild/toolchain-configs.csv | 3 +++ 2 files changed, 12 insertions(+) create mode 100644 support/config-fragments/autobuild/bootlin-aarch64-glibc-old.config diff --git a/support/config-fragments/autobuild/bootlin-aarch64-glibc-old.config b/support/config-fragments/autobuild/bootlin-aarch64-glibc-old.config new file mode 100644 index 0000000000..1b811f267a --- /dev/null +++ b/support/config-fragments/autobuild/bootlin-aarch64-glibc-old.config @@ -0,0 +1,9 @@ +BR2_aarch64=y +BR2_TOOLCHAIN_EXTERNAL=y +BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y +BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y +BR2_TOOLCHAIN_EXTERNAL_URL="http://toolchains.bootlin.com/downloads/releases/toolchains/aarch64--glibc--bleeding-edge-2017.05-toolchains-1-2.tar.bz2" +BR2_TOOLCHAIN_EXTERNAL_GCC_6=y +BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_9=y +BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y +BR2_TOOLCHAIN_EXTERNAL_CXX=y diff --git a/support/config-fragments/autobuild/toolchain-configs.csv b/support/config-fragments/autobuild/toolchain-configs.csv index 3ea05775f8..7103d903c9 100644 --- a/support/config-fragments/autobuild/toolchain-configs.csv +++ b/support/config-fragments/autobuild/toolchain-configs.csv @@ -18,6 +18,9 @@ support/config-fragments/autobuild/bootlin-x86-64-musl.config,x86_64 # Test a MMU toolchain without dynamic library support support/config-fragments/autobuild/br-arm-full-static.config,x86_64 +# Test a really old toolchain (gcc 6.x, headers 4.9) +support/config-fragments/autobuild/bootlin-aarch64-glibc-old.config,x86_64 + # Toolchains used by test-pkg only when the '-a' option is passed: support/config-fragments/autobuild/arm-aarch64.config,x86_64 support/config-fragments/autobuild/bootlin-aarch64-glibc.config,x86_64