aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2011-01-28 01:26:09 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2011-01-28 01:26:09 +0000
commit3bce8fdfe8fa45a281e75bc02678166c58d37e61 (patch)
treec2a94948b49cc5f63a5e9b1d904ad30dd114f9fb /chapter06
parentbae0409e64033c4417871d065bf7eb24ecd5a9de (diff)
Add a sed that modifies incorrect defines in glibc
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9452 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/glibc.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index 693d0d993..8c4721020 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -96,6 +96,11 @@ unset DL</userinput></screen>
<screen><userinput remap="pre">patch -Np1 -i ../&glibc-gcc_fix-patch;</userinput></screen>
+ <para>Fix a stack imbalance that occurs under some conditions:</para>
+
+<screen><userinput remap="pre">sed -i '195,213 s/PRIVATE_FUTEX/FUTEX_CLOCK_REALTIME/' \
+nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timed{rd,wr}lock.S</userinput></screen>
+
<para>The Glibc documentation recommends building Glibc outside of the source
directory in a dedicated build directory:</para>