Update to Bootlin toolchains 2024.05
cover Update to Bootlin toolchains 2024.05
Hello,
This short series updates toolchain-external-bootlin to the 2024.05 toolchains.
NOTE: this series depends on
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/,
which introduces the BR2_ARCH_NEEDS_GCC_AT_LEAST_15 symbol also used in this series.
Thanks,
Thomas
Thomas Petazzoni (2):
support/scripts/gen-bootlin-toolchains: tarballs are now xz-compressed toolchain/toolchain-external/toolchain-external-bootlin: bump to
2024.05
support/scripts/gen-bootlin-toolchains | 4 +- .../tests/toolchain/test_external_bootlin.py | 81 + .../Config.in.options | 1519 +++++++++-------- .../toolchain-external-bootlin.hash | 870 +++++----- .../toolchain-external-bootlin.mk | 890 +++++----- 5 files changed, 1758 insertions(+), 1606 deletions(-)
Signature · 6 lines
2.46.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 1/2 support/scripts/gen-bootlin-toolchains: tarballs are now xz-compressed
As of the 2024.05 toolchain release, the toolchain tarballs are now xz-compressed instead of bz2-compressed. Since this script is only meant to update to the latest toolchains, we don't really bother supporting the older toolchains that are bz2-compressed, and we simply assume the tarballs are xz-compressed.
--- support/scripts/gen-bootlin-toolchains | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
support/scripts/gen-bootlin-toolchains +2 -2
@@ -293,7 +293,7 @@ class Toolchain: @property def tarball_url(self): return os.path.join(BASE_URL, self.arch, "tarballs", - self.fname_prefix + ".tar.bz2") + self.fname_prefix + ".tar.xz") @property def hash_url(self):
@@ -416,7 +416,7 @@ class Toolchain: def gen_mk(self, f): f.write("ifeq ($(%s),y)\n" % self.option_name) f.write("TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = %s\n" % self.version) - f.write("TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = %s--%s--%s-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2\n" % + f.write("TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = %s--%s--%s-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.xz\n" % (self.arch, self.libc, self.variant)) f.write("TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = %s\n" % os.path.join(BASE_URL, self.arch, "tarballs"))
Signature · 6 lines
2.46.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/2 toolchain/toolchain-external/toolchain-external-bootlin: bump to 2024.05
In reply to Thomas Petazzoni via buildrootThis commit updates the Bootlin external toolchain package to use the recently released 2024.05 toolchains.
Notable changes:
- Tarballs are now xz-compressed instead of bz2-compressed
- We have new toolchains: RISC-V 32-bit glibc stable, RISC-V 32-bit uClibc, S390 uClibc, and the Sparc V8 is finally updated
All unit tests are passing, except 2 (see below):
https://gitlab.com/tpetazzoni/buildroot/-/pipelines/1417551794/builds
The two tests that are not passing are the RISC-V 32-bit musl:
https://gitlab.com/tpetazzoni/buildroot/-/jobs/7607519955
https://gitlab.com/tpetazzoni/buildroot/-/jobs/7607519954
This is due to a bug in Busybox, and already existed prior to this toolchain update.
---
NOTE: this patch depends on
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/,
which introduces the BR2_ARCH_NEEDS_GCC_AT_LEAST_15 symbol also used in this series.
.../tests/toolchain/test_external_bootlin.py | 81 + .../Config.in.options | 1519 +++++++++-------- .../toolchain-external-bootlin.hash | 870 +++++----- .../toolchain-external-bootlin.mk | 890 +++++----- 4 files changed, 1756 insertions(+), 1604 deletions(-)
support/testing/tests/toolchain/test_external_bootlin.py +81 -0
@@ -2262,6 +2262,23 @@ class TestExternalToolchainBootlinRiscv32ilp32dGlibcBleedingEdge(TestExternalToo TestExternalToolchain.common_check(self) +class TestExternalToolchainBootlinRiscv32ilp32dGlibcStable(TestExternalToolchain): + config = """ + BR2_riscv=y + BR2_riscv_g=y + BR2_RISCV_32=y + BR2_RISCV_ABI_ILP32D=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV32_ILP32D_GLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "riscv32-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + class TestExternalToolchainBootlinRiscv32ilp32dMuslBleedingEdge(TestExternalToolchain): config = """ BR2_riscv=y
@@ -2296,6 +2313,40 @@ class TestExternalToolchainBootlinRiscv32ilp32dMuslStable(TestExternalToolchain) TestExternalToolchain.common_check(self) +class TestExternalToolchainBootlinRiscv32ilp32dUclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_riscv=y + BR2_riscv_g=y + BR2_RISCV_32=y + BR2_RISCV_ABI_ILP32D=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV32_ILP32D_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "riscv32-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinRiscv32ilp32dUclibcStable(TestExternalToolchain): + config = """ + BR2_riscv=y + BR2_riscv_g=y + BR2_RISCV_32=y + BR2_RISCV_ABI_ILP32D=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV32_ILP32D_UCLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "riscv32-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + class TestExternalToolchainBootlinRiscv64lp64dGlibcBleedingEdge(TestExternalToolchain): config = """ BR2_riscv=y
@@ -2434,6 +2485,36 @@ class TestExternalToolchainBootlinS390xz13GlibcStable(TestExternalToolchain): TestExternalToolchain.common_check(self) +class TestExternalToolchainBootlinS390xz13MuslBleedingEdge(TestExternalToolchain): + config = """ + BR2_s390x=y + BR2_s390x_z13=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_S390X_Z13_MUSL_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "s390x-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinS390xz13MuslStable(TestExternalToolchain): + config = """ + BR2_s390x=y + BR2_s390x_z13=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_S390X_Z13_MUSL_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "s390x-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + class TestExternalToolchainBootlinShsh4GlibcBleedingEdge(TestExternalToolchain): config = """ BR2_sh=y
toolchain/toolchain-external/toolchain-external-bootlin/Config.in.options +775 -744
2,901 lines not on this page · raw message
toolchain/toolchain-external/toolchain-external-bootlin/toolchain-external-bootlin.hash +440 -430
870 lines not on this page · raw message
toolchain/toolchain-external/toolchain-external-bootlin/toolchain-external-bootlin.mk +460 -430
890 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 6 lines
2.46.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Part of the diff is not shown here. View the raw message.
Hello,
Thomas Petazzoni via buildroot wrote,
Quoted 9 lines
Hello,
This short series updates toolchain-external-bootlin to the 2024.05 toolchains.
NOTE: this series depends on
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/,
which introduces theBR2_ARCH_NEEDS_GCC_AT_LEAST_15symbol also used in this series.
Congrats to the new release.
Dear maintainers, what do you think about adding it to master instead of next? From uclibc-ng point of view the new toolchains are really a nice improvement.
Just my 2 cent.
best regards
Waldemar
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Yann E. MORIN
AppliedThomas, All,
On 2024-08-18 23:43 +0200, Thomas Petazzoni via buildroot spake thusly:
Quoted 8 lines
This short series updates toolchain-external-bootlin to the 2024.05 toolchains.
NOTE: this series depends on
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/,
which introduces theBR2_ARCH_NEEDS_GCC_AT_LEAST_15symbol also used in this series.
Quoted 8 lines
Thanks,
Thomas
Thomas Petazzoni (2):
support/scripts/gen-bootlin-toolchains: tarballs are now xz-compressed toolchain/toolchain-external/toolchain-external-bootlin: bump to2024.05
Applied to next, thanks.
Regards,
Yann E. MORIN.
Quoted 14 lines
support/scripts/gen-bootlin-toolchains | 4 +- .../tests/toolchain/test_external_bootlin.py | 81 + .../Config.in.options | 1519 +++++++++-------- .../toolchain-external-bootlin.hash | 870 +++++----- .../toolchain-external-bootlin.mk | 890 +++++----- 5 files changed, 1758 insertions(+), 1606 deletions(-)Signature · 6 lines
2.46.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot