From 70cdda10ac6a8a5c395135c349693a1e20b7815a Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Fri, 7 Sep 2001 20:51:36 +0000 Subject: reworded the glibc-2.2.3 fix. it had better be clear now git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1198 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/fileutils-inst.xml | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/chapter05/fileutils-inst.xml b/chapter05/fileutils-inst.xml index 9495c5e4f..a26f96fcb 100644 --- a/chapter05/fileutils-inst.xml +++ b/chapter05/fileutils-inst.xml @@ -2,18 +2,26 @@ Installation of Fileutils 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. +segmentation faults on certain systems, if your distribution has +Glibc-2.2.3 or higher installed. It also seems to happen mostly on machines +powered by an AMD CPU, but there is a case or two where an Intel system +is affected as well. If your system falls under this category, try the +following fix. Note that in some cases using these sed commands will result in -problems not being able to compile this at package at all. If that's the -case, you'll need to remove the fileutils-&fileutils-version; directory -and unpack it again from the tarball before continuing. +problems not being able to compile this at package at all, even when your +system has and AMD CPU and has Glibc-2.2.3 (or higher) installed. If that's +the case, you'll need to remove the fileutils-&fileutils-version; directory +and unpack it again from the tarball before continuing. We believe this +may be the case when your distribution has altered Glibc-2.2.3 somehow, +but details are unavailable at the time. -cp lib/Makefile.in lib/Makefile.in.backup && +To fix this package to compile properly on AMD/Glibc-2.2.3 +machines, run the following commands. do not +attempt this fix your don't have Glibc-2.2.3 installed. It will more +than likely result in all kinds of compile time problems. + +cp lib/Makefile.in lib/Makefile.in.backup && sed -e 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \    -e 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \    lib/Makefile.in > lib/Makefile.in~ && -- cgit v1.2.3-54-g00ecf