Errata for CLFS 2.1.0

3.1 Introduction


  • md5sum should be sha1sum
    • sha1sum -c SHA1SUMS

Cross-tools Binutils

Fix ld search path for Multilib

  • Change --with-lib-path=/tools/lib
    • --with-lib-path=/tools/lib:/tools/lib64

Cross-tools EGLIBC

Hosts with Make 4.x

  • Apply a sed before creating eglibc-build directory
    • sed -r -i 's/(3..89..)/\1 | 4.*/' configure

Boot and Chroot method Util-Linux

Hosts with Pkg-config installed

  • Add PKG_CONFIG= before ./configure
    • PKG_CONFIG= ./configure ...

Testsuite Tools and Check

Hosts with Pkg-config and libsubunit installed

  • Add PKG_CONFIG= before ./configure
    • PKG_CONFIG= ./configure ...

Installation of Check

Move Check to Temp-System regardless if installing testsuite tools

  • 32-bit and Pure64
    • PKG_CONFIG= ./configure --prefix=/tools --build=${CLFS_HOST} --host=${CLFS_TARGET}
  • 64-bit Multilib
    • CC="${CC} ${BUILD64}" PKG_CONFIG= ./configure --prefix=/tools --build=${CLFS_HOST} --host=${CLFS_TARGET} --libdir=/tools/lib64

X86 Section 8.4 Before Entering Chroot

Using config.guess from Automake

  • execute lib/config.guess rather than build-aux/config.guess