Installation of Fileutils Before we install fileutils statically, if you are using glibc-2.2.3 you need to apply two seds in order to prevent them giving segmentation faults once we enter chroot in Chapter 6. The sed commands for those using glibc-2.2.3 are: The programs from a statically linked fileutils package may cause segmentation faults on certain systems. These systems are often, but not limited to, Linux systems that run Glibc-2.2.3 with an AMD CPU (Athlons and Durons are the most reported used CPU's). If you are in this category, run the following to sed commands before you compile this package. sed 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \    lib/Makefile.in > tmp && sed 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \    tmp > lib/Makefile.in Install fileutils by running the following commands: ./configure --disable-nls \    --prefix=$LFS/usr --libexecdir=$LFS/bin --bindir=$LFS/bin && make LDFLAGS=-static && make install && cd $LFS/usr/bin && ln -sf ../../bin/install Once you have installed fileutils, you can test whether the segmentation fault problem has been avoided by running $LFS/bin/ls. If this works, then you are OK. If not, then you need to re-do the installation using the sed commands if you didn't use them, or without the sed commands if you did use them.