musl: Mark not EXPERIMENTAL

Musl was marked experimental in commit 08d91d41 ("musl: config is broken
for !EXPERIMENTAL"). Most of the reasoning for that change no longer
applies and as it's been about 8 years it's time to let musl loose on
the world. Drop the `depends on EXPERIMENTAL` and update the sample
configs for aarch64 and x86_64.

For powerpc64 the ABI needs to be elfv2. Enforce this via the powerpc
config.  Add a sample configuration for powerpc-unknown-linux-musl.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
This commit is contained in:
Chris Packham 2024-05-18 16:14:55 +12:00
parent c1b9edd06a
commit e58fd0a23e
7 changed files with 19 additions and 6 deletions

View File

@ -126,6 +126,7 @@ jobs:
"mips64-unknown-linux-gnu",
"powerpc-unknown-linux-gnu",
"powerpc64-unknown-linux-gnu",
"powerpc64-unknown-linux-musl",
"riscv32-unknown-elf",
"riscv64-unknown-elf",
"s390-unknown-linux-gnu",

View File

@ -19,9 +19,10 @@
config ARCH_powerpc_ABI
string
default "" if ARCH_powerpc_ABI_DEFAULT
default "eabi" if ARCH_powerpc_ABI_EABI
default "spe" if ARCH_powerpc_ABI_SPE
default "" if ARCH_powerpc_ABI_DEFAULT
default "eabi" if ARCH_powerpc_ABI_EABI
default "spe" if ARCH_powerpc_ABI_SPE
default "elfv2" if ARCH_64 && LIBC_MUSL
choice
bool

View File

@ -1,7 +1,6 @@
# musl second-part option
## depends on ! WINDOWS && ! BARE_METAL
## depends on EXPERIMENTAL
## select LIBC_SUPPORT_THREADS_NATIVE
## select CC_CORE_NEEDED

View File

@ -1,5 +1,4 @@
CT_CONFIG_VERSION="4"
CT_EXPERIMENTAL=y
CT_ARCH_ARM=y
CT_ARCH_64=y
CT_TARGET_VENDOR=""

View File

@ -0,0 +1,11 @@
CT_CONFIG_VERSION="4"
CT_ARCH_POWERPC=y
CT_ARCH_64=y
CT_ARCH_ABI="elfv2"
CT_KERNEL_LINUX=y
CT_BINUTILS_PLUGINS=y
CT_LIBC_MUSL=y
CT_CC_LANG_CXX=y
CT_DEBUG_GDB=y
# CT_GDB_CROSS_PYTHON is not set
CT_GDB_NATIVE=y

View File

@ -0,0 +1,3 @@
reporter_name="Chris Packham <judge.packham@gmail.com>"
reporter_url="http://crosstool-ng.org/"
reporter_comment=""

View File

@ -1,5 +1,4 @@
CT_CONFIG_VERSION="4"
CT_EXPERIMENTAL=y
CT_ARCH_X86=y
CT_MULTILIB=y
CT_ARCH_64=y