aboutsummaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2024-05-18 16:14:55 +1200
committerChris Packham <judge.packham@gmail.com>2024-05-24 10:14:13 +1200
commite58fd0a23e84cec8b27a13e614068117076958d9 (patch)
treed890e3290390636ca4f7c5fe562fb12057c0c7ad /samples
parentc1b9edd06a4fa14a02b0368ebff6ee702f991527 (diff)
downloadcrosstool-ng-e58fd0a23e84cec8b27a13e614068117076958d9.tar.gz
crosstool-ng-e58fd0a23e84cec8b27a13e614068117076958d9.tar.bz2
crosstool-ng-e58fd0a23e84cec8b27a13e614068117076958d9.zip
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>
Diffstat (limited to 'samples')
-rw-r--r--samples/aarch64-unknown-linux-musl/crosstool.config1
-rw-r--r--samples/powerpc64-unknown-linux-musl/crosstool.config11
-rw-r--r--samples/powerpc64-unknown-linux-musl/reported.by3
-rw-r--r--samples/x86_64-multilib-linux-musl/crosstool.config1
4 files changed, 14 insertions, 2 deletions
diff --git a/samples/aarch64-unknown-linux-musl/crosstool.config b/samples/aarch64-unknown-linux-musl/crosstool.config
index c1b6a9c6..ceb87d54 100644
--- a/samples/aarch64-unknown-linux-musl/crosstool.config
+++ b/samples/aarch64-unknown-linux-musl/crosstool.config
@@ -1,5 +1,4 @@
CT_CONFIG_VERSION="4"
-CT_EXPERIMENTAL=y
CT_ARCH_ARM=y
CT_ARCH_64=y
CT_TARGET_VENDOR=""
diff --git a/samples/powerpc64-unknown-linux-musl/crosstool.config b/samples/powerpc64-unknown-linux-musl/crosstool.config
new file mode 100644
index 00000000..bd97e306
--- /dev/null
+++ b/samples/powerpc64-unknown-linux-musl/crosstool.config
@@ -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
diff --git a/samples/powerpc64-unknown-linux-musl/reported.by b/samples/powerpc64-unknown-linux-musl/reported.by
new file mode 100644
index 00000000..15241934
--- /dev/null
+++ b/samples/powerpc64-unknown-linux-musl/reported.by
@@ -0,0 +1,3 @@
+reporter_name="Chris Packham <judge.packham@gmail.com>"
+reporter_url="http://crosstool-ng.org/"
+reporter_comment=""
diff --git a/samples/x86_64-multilib-linux-musl/crosstool.config b/samples/x86_64-multilib-linux-musl/crosstool.config
index 0fe7cda2..91813a62 100644
--- a/samples/x86_64-multilib-linux-musl/crosstool.config
+++ b/samples/x86_64-multilib-linux-musl/crosstool.config
@@ -1,5 +1,4 @@
CT_CONFIG_VERSION="4"
-CT_EXPERIMENTAL=y
CT_ARCH_X86=y
CT_MULTILIB=y
CT_ARCH_64=y