diff options
Diffstat (limited to 'chapter06/glibc.xml')
-rw-r--r-- | chapter06/glibc.xml | 5 |
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> |