aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/glibc.xml
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2012-08-05 14:25:02 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2012-08-05 14:25:02 +0000
commitf1c177f9587a73e995b274d60babc763a4ed2f61 (patch)
tree0b8e3139ea25ac4106cbb4d044c61a46e962fc1f /chapter05/glibc.xml
parent36ba266b6f3981db638891ec5fa369bc5ae258a2 (diff)
Upgrade to Glibc-2.16.0. Fixes #3131.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9922 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/glibc.xml')
-rw-r--r--chapter05/glibc.xml16
1 files changed, 4 insertions, 12 deletions
diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml
index 53d3d5713..05607b344 100644
--- a/chapter05/glibc.xml
+++ b/chapter05/glibc.xml
@@ -43,18 +43,6 @@
<sect2 role="installation">
<title>Installation of Glibc</title>
- <para>Address a header check that fails due to an incomplete build
- environment at this point:</para>
-
- <screen><userinput remap="pre">sed -i 's#$ac_includes_default#\n\n#' sysdeps/i386/configure</userinput></screen>
-
- <para>Fix a path that is hardcoded:</para>
-
- <screen><userinput remap="pre">sed -i 's#/var/db#/tools/var/db#' Makeconfig</userinput></screen>
-
- <para>Fix a bug that prevents Glibc from building with GCC-&gcc-version;:</para>
-<screen><userinput remap="pre">patch -Np1 -i ../&glibc-gcc_fix-patch;</userinput></screen>
-
<para>The Glibc documentation recommends building Glibc outside of the source
directory in a dedicated build directory:</para>
@@ -75,6 +63,10 @@ cd ../glibc-build</userinput></screen>
i?86) echo "CFLAGS += -march=i486 -mtune=native" &gt; configparms ;;
esac</userinput></screen>
+ <para>Fix an issue when building Glibc-&glibc-version; with GCC-&gcc-version;:</para>
+
+<screen><userinput remap="pre">sed -i 's/ -lgcc_s//' ../glibc-&glibc-version;/Makeconfig</userinput></screen>
+
<para>Next, prepare Glibc for compilation:</para>
<screen><userinput remap="configure">../glibc-&glibc-version;/configure \