|
@@ -6,6 +6,12 @@ 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
|
|
segmentation faults once we enter chroot in Chapter 6. The sed commands for
|
|
those using glibc-2.2.3 are:
|
|
those using glibc-2.2.3 are:
|
|
|
|
|
|
|
|
+<para>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.
|
|
|
|
+
|
|
<screen><userinput>sed 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \</userinput>
|
|
<screen><userinput>sed 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \</userinput>
|
|
<userinput> lib/Makefile.in > tmp &&</userinput>
|
|
<userinput> lib/Makefile.in > tmp &&</userinput>
|
|
<userinput>sed 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \</userinput>
|
|
<userinput>sed 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \</userinput>
|
|
@@ -21,9 +27,10 @@ those using glibc-2.2.3 are:
|
|
|
|
|
|
<para>Once you have installed fileutils, you can test whether the
|
|
<para>Once you have installed fileutils, you can test whether the
|
|
segmentation fault problem has been avoided by running
|
|
segmentation fault problem has been avoided by running
|
|
-<userinput>$LFS/bin/ls</userinput>. If this works then you are OK, if
|
|
|
|
-not, then you need to re-do the installation using the seds if you
|
|
|
|
-didn't the first time or vice-versa.</para>
|
|
|
|
|
|
+<userinput>$LFS/bin/ls</userinput>. 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.</para>
|
|
|
|
|
|
</sect2>
|
|
</sect2>
|
|
|
|
|