Good bye uClibc, hello musl-libc! Plus lots of other fixes including a real sysroot that's completely separate from the target file system.
Boot tested arm with hard float vfpv3-d16 on a beaglebone. Have not yet fully tested mips or i386 but testers are welcome. Thanks! -Andrew The following changes since commit ccb1a8e458cfa37336c7a5061e6a6d477d6bcd62: general: Update date (2013-10-08 13:11:53 -0400) are available in the git repository at: https://github.com/bradfa/clfs-embedded.git musl-me-baby for you to fetch changes up to 35fc5aa578b6329a250053e485a40c046fd96df8: general: Update date (2013-10-16 15:24:36 -0400) ---------------------------------------------------------------- Andrew Bradford (56): arm: Remove archs that aren't armv{4,5,6,7} gcc-static: Do mpfr, gmp, and mpc, too gcc-final: Do mpfr, gmp, and mpc, too audience: Remove big CLFS bits hostreqs: Upcase GCC name resources: Remove LFS-references broken link Move mkdir build-dir to materials Retitle ch2 to include build dir creation materials: Move sources dir create with ${CLFS} materials: remove arch specific packages & patches materials: Make everything common Delete arm abi choice arm-fpu: Update recommendations, remove wrong fpus gcc: Linewrap configure options createbuilddir: Make a sysroot dir binutils: Wrap configure options binutils: Use new sysroot dir gcc: Remove AR=ar and LDFLAGS from gcc builds linux-hdr: Install headers into sysroot gcc: Use new sysroot dir gcc-static: Add --disable-lib{quadmath,atomic} gcc-final: Remove --enable-shared, it's the default Delete gmp, mpc, and mpfr completely gcc-final: Disable libmudflap gcc-final: Don't copy libgcc anywhere, yet Delete scripts dir gcc-final: Remove gccbug and cc Move creatingdirs to final-system creatingdirs: Create target in ${CLFS}/targetfs/ iana-etc: STRIP iana-etc: Install to ${CLFS}/targetfs busybox: Install to ${CLFS}/targetfs fstab: Install to ${CLFS}/targetfs Update all bootscripts ch to use ${CLFS}/targetfs zlib: Update to use ${CLFS}/cross-tools/sysroot beyond-net: Use ${CLFS}/targetfs beyond-fs: Use ${CLFS}/targetfs Don't remove any files, won't be needed cleanup: Use ${CLFS}/targetfs final-system: Make all arch common cleanup: Copy libs to target Convert from uClibc to musl-libc Add musl patches for gcc and binutils gcc: Just C compiler should be mentioned gcc: Add --with-mpfr directives to configure Use ${CLFS}/cross-tools/${CLFS_TARGET} as sysroot dir creatingbuilddir: Fix white space on soft link Move sysroot dir creation to cross-tools libc: Correct musl configure/make sequence Update busybox to version 1.21.1 Add busybox-musl patch Delete busybox config patch libc: Create symlinks for musl ld busybox: Add seds for removing inetd & ifplugd changelog: Update general: Update date BOOK/arm-index.xml | 5 +- BOOK/beyond-filesys/common/e2fsprogs.xml | 4 +- BOOK/beyond-lib/common/zlib.xml | 13 +- BOOK/beyond-net/common/dropbear.xml | 16 +- BOOK/beyond-net/common/hostapd.xml | 6 +- BOOK/beyond-net/common/iptables.xml | 2 +- BOOK/beyond-net/common/libnl.xml | 2 +- BOOK/beyond-net/common/wireless_tools.xml | 4 +- BOOK/bootable/common/fstab.xml | 2 +- BOOK/bootscripts/common/bootscripts.xml | 8 +- BOOK/bootscripts/common/hostname.xml | 2 +- BOOK/bootscripts/common/hosts.xml | 4 +- BOOK/bootscripts/common/inittab.xml | 2 +- BOOK/bootscripts/common/mdev.xml | 2 +- BOOK/bootscripts/common/network.xml | 16 +- BOOK/bootscripts/common/profile.xml | 2 +- BOOK/cleanup/chapter.xml | 2 +- BOOK/cleanup/chowning.xml | 8 +- BOOK/cleanup/copy-to-target.xml | 2 +- BOOK/cleanup/copylibs.xml | 23 + BOOK/cleanup/remove-files.xml | 39 - BOOK/create-dir/chapter.xml | 16 - BOOK/cross-tools/arm-chapter.xml | 7 +- BOOK/cross-tools/arm/abi.xml | 26 - BOOK/cross-tools/arm/gcc-final.xml | 50 +- BOOK/cross-tools/arm/gcc-static.xml | 50 +- BOOK/cross-tools/arm/variables.xml | 53 +- BOOK/cross-tools/common/binutils.xml | 15 +- BOOK/cross-tools/common/gcc-final.xml | 88 +- BOOK/cross-tools/common/gcc-static.xml | 131 +- BOOK/cross-tools/common/gmp.xml | 82 -- BOOK/cross-tools/common/{uclibc.xml => libc.xml} | 84 +- BOOK/cross-tools/common/linux-headers.xml | 9 +- BOOK/cross-tools/common/mpc.xml | 77 - BOOK/cross-tools/common/mpfr.xml | 76 - BOOK/cross-tools/common/sysroot.xml | 20 + BOOK/cross-tools/mips-chapter.xml | 6 +- BOOK/cross-tools/mips/gcc-final.xml | 51 +- BOOK/cross-tools/mips/gcc-static.xml | 51 +- BOOK/cross-tools/mips/uclibc.xml | 83 -- BOOK/cross-tools/mips/variables.xml | 8 +- BOOK/cross-tools/x86-chapter.xml | 6 +- BOOK/cross-tools/x86/gcc-final.xml | 45 +- BOOK/cross-tools/x86/gcc-static.xml | 47 +- BOOK/cross-tools/x86/variables.xml | 10 +- BOOK/final-preps/chapter.xml | 3 - BOOK/final-preps/creatingcrossdir.xml | 25 - BOOK/final-system/{arm-chapter.xml => chapter.xml} | 2 + BOOK/final-system/common/busybox.xml | 38 +- .../common}/creatingdirs.xml | 30 +- .../common}/creatingfiles.xml | 26 +- BOOK/final-system/common/iana-etc.xml | 4 +- BOOK/final-system/mips-chapter.xml | 20 - BOOK/final-system/x86-chapter.xml | 20 - BOOK/general.ent | 2 +- BOOK/introduction/arm/changelog.xml | 12 + BOOK/introduction/common/changelog.xml | 20 + BOOK/introduction/common/how.xml | 10 +- BOOK/introduction/common/resources.xml | 9 - BOOK/materials/arm/packages.xml | 23 - BOOK/materials/arm/patches.xml | 21 - BOOK/materials/{arm-chapter.xml => chapter.xml} | 7 +- .../common}/creatingbuilddir.xml | 18 +- BOOK/materials/common/introduction.xml | 40 +- BOOK/materials/common/packages.xml | 8 +- BOOK/materials/common/patches.xml | 33 +- BOOK/materials/mips-chapter.xml | 20 - BOOK/materials/mips/packages.xml | 23 - BOOK/materials/mips/patches.xml | 17 - BOOK/materials/x86-chapter.xml | 20 - BOOK/materials/x86/packages.xml | 22 - BOOK/materials/x86/patches.xml | 34 - BOOK/mips-index.xml | 5 +- BOOK/packages.ent | 16 +- BOOK/patches.ent | 18 +- BOOK/prologue/common/audience.xml | 15 +- BOOK/prologue/common/hostreqs.xml | 2 +- BOOK/x86-index.xml | 5 +- patches/binutils-2.23.2-musl-1.patch | 47 + patches/busybox-1.21.0-config-1.patch | 1002 ------------- patches/busybox-1.21.1-musl-1.patch | 44 + patches/gcc-4.7.3-musl-1.patch | 746 ++++++++++ patches/uClibc-0.9.31-configs-3.patch | 1544 -------------------- scripts/patch/busybox-patch.sh | 87 -- scripts/patch/uclibc-patches.sh | 58 - 85 files changed, 1505 insertions(+), 3846 deletions(-) create mode 100644 BOOK/cleanup/copylibs.xml delete mode 100644 BOOK/cleanup/remove-files.xml delete mode 100644 BOOK/create-dir/chapter.xml delete mode 100644 BOOK/cross-tools/arm/abi.xml delete mode 100644 BOOK/cross-tools/common/gmp.xml rename BOOK/cross-tools/common/{uclibc.xml => libc.xml} (56%) delete mode 100644 BOOK/cross-tools/common/mpc.xml delete mode 100644 BOOK/cross-tools/common/mpfr.xml create mode 100644 BOOK/cross-tools/common/sysroot.xml delete mode 100644 BOOK/cross-tools/mips/uclibc.xml delete mode 100644 BOOK/final-preps/creatingcrossdir.xml rename BOOK/final-system/{arm-chapter.xml => chapter.xml} (83%) rename BOOK/{final-preps => final-system/common}/creatingdirs.xml (72%) rename BOOK/{final-preps => final-system/common}/creatingfiles.xml (90%) delete mode 100644 BOOK/final-system/mips-chapter.xml delete mode 100644 BOOK/final-system/x86-chapter.xml delete mode 100644 BOOK/materials/arm/packages.xml delete mode 100644 BOOK/materials/arm/patches.xml rename BOOK/materials/{arm-chapter.xml => chapter.xml} (67%) rename BOOK/{create-dir => materials/common}/creatingbuilddir.xml (53%) delete mode 100644 BOOK/materials/mips-chapter.xml delete mode 100644 BOOK/materials/mips/packages.xml delete mode 100644 BOOK/materials/mips/patches.xml delete mode 100644 BOOK/materials/x86-chapter.xml delete mode 100644 BOOK/materials/x86/packages.xml delete mode 100644 BOOK/materials/x86/patches.xml create mode 100644 patches/binutils-2.23.2-musl-1.patch delete mode 100644 patches/busybox-1.21.0-config-1.patch create mode 100644 patches/busybox-1.21.1-musl-1.patch create mode 100644 patches/gcc-4.7.3-musl-1.patch delete mode 100644 patches/uClibc-0.9.31-configs-3.patch delete mode 100755 scripts/patch/busybox-patch.sh delete mode 100755 scripts/patch/uclibc-patches.sh _______________________________________________ Clfs-dev mailing list Clfs-dev@lists.cross-lfs.org http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org