diff --git a/SHA256SUMS.sources b/SHA256SUMS.sources index 065c16d..b44e5cd 100644 --- a/SHA256SUMS.sources +++ b/SHA256SUMS.sources @@ -33,6 +33,7 @@ a4adadf76b496a6bc50795702253ecfcb6f0d159b68038f31a5362009340bca2 help2man-1.36. 093c993767f563a11e41c1cf887f4e9065247129679d4c1e213d0544d16d8303 m4-1.4.7.tar.gz 64b30b41fde2ebf669e6af489883fb1df6a06ac30555a96cfa3c39ecce7267dd make-3.80.tar.gz 1370c9a812b2cf2a7d92802510cca0058cc37e66a7bedd70051f0a34015022a3 musl-1.1.24.tar.gz +9b969322012d796dc23dda27a35866034fa67d8fb67e0e2c45c913c3d43219dd musl-1.2.2.tar.gz ecb5c6469d732bcf01d6ec1afe9e64f1668caba5bfdb103c28d7f537ba3cdb8a patch-2.5.9.tar.gz 1ae43c8d2983404b9eec61c96e3ffa27e7b07e08215c95c015a4ab0095373ef3 perl-5.000.tar.gz 9fa29beb2fc4a3c373829fc051830796de301f32a719d0b52a400d1719bbd7b1 perl-5.003.tar.gz diff --git a/parts.rst b/parts.rst index f277803..a7d642c 100644 --- a/parts.rst +++ b/parts.rst @@ -524,3 +524,8 @@ The GNU Compiler Collection (GCC) is an optimizing compiler produced by the GNU GCC is a key component of the GNU toolchain and the standard compiler for most projects related to GNU and the Linux kernel. Only C frontend is built at this stage. + +musl 1.2.2 +========== + +This is the latest musl version as of the time of writing. diff --git a/rootfs.sh b/rootfs.sh index 588ebcd..ba1dfed 100755 --- a/rootfs.sh +++ b/rootfs.sh @@ -264,6 +264,9 @@ get_file https://ftp.gnu.org/gnu/automake/automake-1.9.6.tar.bz2 # gcc 4.0.4 get_file https://ftp.gnu.org/gnu/gcc/gcc-4.0.4/gcc-core-4.0.4.tar.bz2 0 gcc-4.0.4.tar.bz2 +# musl 1.2.2 +get_file https://musl.libc.org/releases/musl-1.2.2.tar.gz + # General cleanup find tmp -name .git -exec rm -rf \; diff --git a/sysa/musl-1.2.2/checksums b/sysa/musl-1.2.2/checksums new file mode 100644 index 0000000..8f13fa4 --- /dev/null +++ b/sysa/musl-1.2.2/checksums @@ -0,0 +1,14 @@ +40e7962d82241e166dba1b12a7c4c0658ec8ade4e7b93e20a57485811a92f366 /after/lib/musl/Scrt1.o +13ae7b4895a3ce59ab6b8219e03b5e65ca3d9400b673325c1df86d75bb1b9ff9 /after/lib/musl/crt1.o +73f64b61e6e9ae83726ab4cc909a7b549b06b6df2b087aedddbcd39cb7146f69 /after/lib/musl/crti.o +f5e325819d86fb381574692b8f9ea24f88f44f185a75adfe461705ecf2619c6e /after/lib/musl/crtn.o +15b76dac0837370a1d1dea59e4570d15c1a5ab522810b758e3f32518975c9be3 /after/lib/musl/libc.a +f0a17a43c74d2fe5474fa2fd29c8f14799e777d7d75a2cc4d11c20a6e7b161c5 /after/lib/musl/libcrypt.a +f0a17a43c74d2fe5474fa2fd29c8f14799e777d7d75a2cc4d11c20a6e7b161c5 /after/lib/musl/libdl.a +f0a17a43c74d2fe5474fa2fd29c8f14799e777d7d75a2cc4d11c20a6e7b161c5 /after/lib/musl/libm.a +f0a17a43c74d2fe5474fa2fd29c8f14799e777d7d75a2cc4d11c20a6e7b161c5 /after/lib/musl/libpthread.a +f0a17a43c74d2fe5474fa2fd29c8f14799e777d7d75a2cc4d11c20a6e7b161c5 /after/lib/musl/libresolv.a +f0a17a43c74d2fe5474fa2fd29c8f14799e777d7d75a2cc4d11c20a6e7b161c5 /after/lib/musl/librt.a +f0a17a43c74d2fe5474fa2fd29c8f14799e777d7d75a2cc4d11c20a6e7b161c5 /after/lib/musl/libutil.a +f0a17a43c74d2fe5474fa2fd29c8f14799e777d7d75a2cc4d11c20a6e7b161c5 /after/lib/musl/libxnet.a +ee385035a4d9b3f4f9a1c73148821ddf26a1b3c2e607aa948c70d8612559cf7d /after/lib/musl/rcrt1.o diff --git a/sysa/musl-1.2.2/musl-1.2.2.sh b/sysa/musl-1.2.2/musl-1.2.2.sh new file mode 100755 index 0000000..aa723b7 --- /dev/null +++ b/sysa/musl-1.2.2/musl-1.2.2.sh @@ -0,0 +1,19 @@ +# SPDX-FileCopyrightText: 2021 Andrius Štikonas +# +# SPDX-License-Identifier: GPL-3.0-or-later + +src_configure() { + CC=gcc ./configure \ + --host=i386 \ + --disable-shared \ + --prefix=/after \ + --libdir=/after/lib/musl \ + --includedir=/after/include/ + + # configure script creates this file + test -f /dev/null && rm /dev/null && mknod -m 666 /dev/null c 1 3 +} + +src_compile() { + make CROSS_COMPILE= +} diff --git a/sysa/run2.sh b/sysa/run2.sh index 09c6a47..5fbef92 100755 --- a/sysa/run2.sh +++ b/sysa/run2.sh @@ -14,6 +14,10 @@ build automake-1.9.6 stage2.sh build gcc-4.0.4 stage1.sh +build musl-1.2.2 + +build musl-1.2.2 + echo "Bootstrapping completed." exec env - PATH=/after/bin PS1="\w # " bash -i