aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/glibc.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2015-02-24 05:35:29 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2015-02-24 05:35:29 +0000
commit9ee0e52a5b3b2c5b60f8cda0e2bb45583bc6cede (patch)
treec69eb66894ac5669348abc10f3eda0076299dc0d /chapter05/glibc.xml
parentb7804aeaec5719d68ff5672b64f2e3e11eca1c8a (diff)
Add a fix to glibc for 32-bit architectures
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10859 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/glibc.xml')
-rw-r--r--chapter05/glibc.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml
index 445c0c6c1..7d98d9008 100644
--- a/chapter05/glibc.xml
+++ b/chapter05/glibc.xml
@@ -52,6 +52,12 @@
su -c 'cp -v sunrpc/rpc/*.h /usr/include/rpc'
fi</userinput></screen>
+ <para>Fix is regression in the package that affects 32-bit architectures:</para>
+
+<screen><userinput remap="pre">sed -e '/ia32/s/^/1:/' \
+ -e '/SSE2/s/^1://' \
+ -i sysdeps/i386/i686/multiarch/mempcpy_chk.S</userinput></screen>
+
<para>The Glibc documentation recommends building Glibc outside of the source
directory in a dedicated build directory:</para>