mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 16:24:17 -09:00
support/testing: TestExternalToolchainCtngMusl: disable yescrypt
The TestExternalToolchainCtngMusl use a really old toolchain generated by Crosstool-ng. Since it's used to test our external toolchain infra we want to keep it. But this test doesn't build since the last busybox bump to 1.38.0 [1]. Indeed, Busybox 1.38.0 added yescrypt algorithms that requires explicit_bzero() [2] introduced in Glibc 2.25 [3], uClibc-ng 1.0.47 [4] and musl 1.1.20 [5]. Add a new busybox config fragment to be used by old toolchains. While at it, apply the same change for TestExternalToolchainBuildrootuClibc (uClibc-ng < 1.0.47) and TestExternalToolchainBuildrootMusl (musl < 1.1.20). Note: TestExternalToolchainBuildrootuClibc configuration is reused for TestExternalToolchainCCache. [1]5a27004cff[2]80e676664e[3] https://sourceware.org/git/?p=glibc.git;a=commit;h=ea1bd74defcf9d5291d14972e63105168ca9eb4f [4]9e7b342fde[5] https://git.musl-libc.org/cgit/musl/commit/?id=05ac345f895098657cf44d419b5d572161ebaf43 Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/14622843888 (TestExternalToolchainCtngMusl) https://gitlab.com/buildroot.org/buildroot/-/jobs/14622843887 (TestExternalToolchainCCache) https://gitlab.com/buildroot.org/buildroot/-/jobs/14622843886 (TestExternalToolchainBuildrootuClibc) https://gitlab.com/buildroot.org/buildroot/-/jobs/14622843885 (TestExternalToolchainBuildrootMusl) Signed-off-by: Romain Naour <romain.naour@smile.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
aef531162c
commit
a627f004f7
1
support/testing/conf/busybox-for-old-toolchains.cfg
Normal file
1
support/testing/conf/busybox-for-old-toolchains.cfg
Normal file
@@ -0,0 +1 @@
|
||||
# CONFIG_USE_BB_CRYPT_YES is not set
|
||||
@@ -70,8 +70,10 @@ class TestExternalToolchainArmGnu(TestExternalToolchain):
|
||||
|
||||
|
||||
class TestExternalToolchainBuildrootMusl(TestExternalToolchain):
|
||||
busybox_fragment = \
|
||||
infra.filepath("conf/busybox-for-old-toolchains.cfg")
|
||||
config = BASIC_CONFIG + \
|
||||
"""
|
||||
f"""
|
||||
BR2_arm=y
|
||||
BR2_cortex_a9=y
|
||||
BR2_ARM_ENABLE_VFP=y
|
||||
@@ -83,6 +85,7 @@ class TestExternalToolchainBuildrootMusl(TestExternalToolchain):
|
||||
BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_12=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_CXX=y
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="{busybox_fragment}"
|
||||
"""
|
||||
toolchain_prefix = "arm-linux"
|
||||
|
||||
@@ -96,8 +99,10 @@ class TestExternalToolchainBuildrootMusl(TestExternalToolchain):
|
||||
|
||||
|
||||
class TestExternalToolchainCtngMusl(TestExternalToolchain):
|
||||
busybox_fragment = \
|
||||
infra.filepath("conf/busybox-for-old-toolchains.cfg")
|
||||
config = BASIC_CONFIG + \
|
||||
"""
|
||||
f"""
|
||||
BR2_arm=y
|
||||
BR2_cortex_a9=y
|
||||
BR2_ARM_ENABLE_VFP=y
|
||||
@@ -110,6 +115,7 @@ class TestExternalToolchainCtngMusl(TestExternalToolchain):
|
||||
BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_CXX=y
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="{busybox_fragment}"
|
||||
"""
|
||||
toolchain_prefix = "arm-ctng-linux-musleabihf"
|
||||
|
||||
@@ -123,8 +129,10 @@ class TestExternalToolchainCtngMusl(TestExternalToolchain):
|
||||
|
||||
|
||||
class TestExternalToolchainBuildrootuClibc(TestExternalToolchain):
|
||||
busybox_fragment = \
|
||||
infra.filepath("conf/busybox-for-old-toolchains.cfg")
|
||||
config = BASIC_CONFIG + \
|
||||
"""
|
||||
f"""
|
||||
BR2_arm=y
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
|
||||
@@ -135,6 +143,7 @@ class TestExternalToolchainBuildrootuClibc(TestExternalToolchain):
|
||||
BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
|
||||
# BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG is not set
|
||||
BR2_TOOLCHAIN_EXTERNAL_CXX=y
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="{busybox_fragment}"
|
||||
"""
|
||||
toolchain_prefix = "arm-linux"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user