1 | <sect2><title> </title><para> </para></sect2>
|
---|
2 |
|
---|
3 | <sect2>
|
---|
4 | <title>Installation of Fileutils</title>
|
---|
5 |
|
---|
6 | <para>The programs from a statically linked Fileutils package may cause
|
---|
7 | segmentation faults on certain systems, if your distribution has
|
---|
8 | Glibc-2.2.3 installed. It seems to happen mostly on machines
|
---|
9 | powered by an AMD CPU, but there is a case or two where an Intel system
|
---|
10 | is affected as well. If your system falls in this category, apply the
|
---|
11 | patch.</para>
|
---|
12 |
|
---|
13 | <para>Note that in some cases using this patch will result in not being
|
---|
14 | able to compile this package at all, even when your system has an AMD CPU
|
---|
15 | and has Glibc-2.2.3 (or higher) installed. If that's the case, you'll need
|
---|
16 | to remove the fileutils-&fileutils-version; directory and unpack it again
|
---|
17 | from the tarball before continuing. We believe this may be the case when
|
---|
18 | your distribution has altered Glibc-2.2.3 somehow, but details are
|
---|
19 | unavailable at this time.</para>
|
---|
20 |
|
---|
21 | <para>To fix this package to compile properly on AMD/Glibc-2.2.3
|
---|
22 | machines, run the following command. Do <emphasis>NOT</emphasis>
|
---|
23 | attempt this fix if you don't have Glibc-2.2.3 installed. It will more
|
---|
24 | than likely result in all kinds of compile time problems.</para>
|
---|
25 |
|
---|
26 | <para><screen><userinput>patch -Np1 -i ../fileutils-&fileutils-patch-version;.patch</userinput></screen></para>
|
---|
27 |
|
---|
28 | <para>Install Fileutils by running the following commands:</para>
|
---|
29 |
|
---|
30 | <para><screen><userinput>LDFLAGS="-static" \
|
---|
31 | ./configure --disable-nls --prefix=$LFS/static
|
---|
32 | make
|
---|
33 | make install</userinput></screen></para>
|
---|
34 |
|
---|
35 | <para>Once you have installed Fileutils, you can test whether the
|
---|
36 | segmentation fault problem has been avoided by running
|
---|
37 | <userinput>$LFS/static/bin/ls</userinput>. If this works, then you are OK. If
|
---|
38 | not, then you need to re-do the installation with the patch if you didn't
|
---|
39 | use it, or without the patch if you did use it.</para>
|
---|
40 |
|
---|
41 | </sect2>
|
---|
42 |
|
---|