Ignore:
Timestamp:
06/12/2009 05:25:14 AM (15 years ago)
Author:
Bryan Kadzban <bryan@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
8effec6
Parents:
8e66c9d
Message:

Add a sed to glibc to fix the constants passed to futex(2) in 32-bit builds. Seems to fix testsuite hangs (the tst-mutex9 process never exits, for instance).

This change is in upstream git, so this can be reverted once we upgrade glibc.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8944 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/glibc.xml

    r8e66c9d r2594b0a  
    4343  <sect2 role="installation">
    4444    <title>Installation of Glibc</title>
     45
     46    <!-- This sed can be removed for any glibc newer than 2.10.1 (along with the
     47         matching sed in chapter 6).  See glibc bug 10262. -->
     48    <para>Fix an error in the constants that get passed to the futex system
     49    call in some cases, causing certain pthread_mutex operations to fail:</para>
     50
     51<screen><userinput remap="pre">cp nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S{,.orig}
     52sed -e 's/FUTEX_WAIT\( | FUTEX_CLOCK_REALTIME, reg\)/FUTEX_WAIT_BITSET\1/' \
     53        &lt;nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S.orig \
     54        &gt;nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S</userinput></screen>
    4555
    4656    <para>The Glibc documentation recommends building Glibc outside of the source
Note: See TracChangeset for help on using the changeset viewer.