aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/glibc-inst.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2001-09-05 14:13:36 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2001-09-05 14:13:36 +0000
commitb43aab15735430e5973ca9022bcde67bccbc7ff5 (patch)
tree921eb0e10ce3ee5e9a5c6e0ac4ab7a26b2e81483 /chapter06/glibc-inst.xml
parent5dff45e4a356d9475c830493a29bdecf721fcfeb (diff)
Added notes that gcc, binutils and glibc behave badly when optimized and
thus should be left alone. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1172 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/glibc-inst.xml')
-rw-r--r--chapter06/glibc-inst.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml
index 2f6326863..69e7e9813 100644
--- a/chapter06/glibc-inst.xml
+++ b/chapter06/glibc-inst.xml
@@ -6,6 +6,12 @@ glibc-&glibc-version; directory and unpack glibc-linuxthreads inside
the glibc-&glibc-version; directory, not in /usr/src as you normally
would do.</para>
+<para>This package is known to behave badly when you have changed it's default
+optimization flags (including the -march and -mcpu options). Glibc is
+best left alone, so we recommend you unsetting CFLAGS, CXXFLAGS and other
+such variables/settings that would change the default optimization that
+it comes with.</para>
+
<para>Install Glibc by running the following commands:</para>
<para><screen><userinput>mknod -m 0666 /dev/null c 1 3 &amp;&amp;</userinput>