aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter05/fileutils-exp.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/chapter05/fileutils-exp.xml b/chapter05/fileutils-exp.xml
index b5ebb1d7b..669ff58ba 100644
--- a/chapter05/fileutils-exp.xml
+++ b/chapter05/fileutils-exp.xml
@@ -1,6 +1,15 @@
<sect2>
<title>Command explanations</title>
+<para><screen><userinput>sed 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \</userinput>
+<userinput> lib/Makefile.in &gt; tmp &amp;&amp;</userinput>
+<userinput>sed 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \</userinput>
+<userinput> tmp &gt; lib/Makefile.in : </userinput></screen> This is used
+to fix a problem with building fileutils statically on AMD systems. If
+this isn't done, then there is the possibility of all of the fileutils
+programs causing segmentation faults once chroot is entered in chapter
+6.</para>
+
<para><userinput>--libexecdir=$LFS/bin:</userinput> This configure option will
set the program executable directory to $LFS/bin. This is normally set
to /usr/libexec, but nothing is placed in it. Changing it just prevents