Ignore:
Timestamp:
03/26/2012 08:29:25 PM (12 years ago)
Author:
Matthew Burgess <matthew@…>
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, 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:
2a70ae8
Parents:
c8f104d
Message:

Upgrade to Glibc-2.15. Fixes #3045.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/glibc.xml

    rc8f104d r0c0d7c1  
    4444    <title>Installation of Glibc</title>
    4545
    46     <para>Fix a bug that prevents Glibc from building with GCC-&gcc-version;:</para>
    47 
    48     <screen><userinput remap="pre">patch -Np1 -i ../&glibc-gcc_fix-patch;</userinput></screen>
    49 
    50     <para>Also address a header check that fails due to an incomplete build
    51     environment at this point:</para>
    52 
    53     <screen><userinput remap="pre">patch -Np1 -i ../&glibc-cpuid-patch;</userinput></screen>
     46     <para>Address a header check that fails due to an incomplete build
     47     environment at this point:</para>
     48
     49    <screen><userinput remap="pre">sed -i 's#$ac_includes_default#\n\n#' sysdeps/i386/configure</userinput></screen>
     50
     51    <para>Fix a path that is hardcoded:</para>
     52
     53    <screen><userinput remap="pre">sed -i 's#/var/db#/tools/var/db#' Makeconfig</userinput></screen>
    5454
    5555    <para>The Glibc documentation recommends building Glibc outside of the source
     
    8484      --with-headers=/tools/include                   \
    8585      libc_cv_forced_unwind=yes                       \
     86      libc_cv_ctors_header=yes                        \
    8687      libc_cv_c_cleanup=yes</userinput></screen>
    8788
     
    150151          <command>configure</command> script so that the test is skipped and C
    151152          cleanup handling support is configured.</para>
     153        </listitem>
     154      </varlistentry>
     155      <varlistentry>
     156        <term><parameter>libc_cv_ctors_header=yes</parameter></term>
     157        <listitem>
     158          <para>Simlarly, we pass libc_cv_ctors_header=yes through to the
     159          <command>configure</command> script so that the test is skipped and
     160          gcc constructor support is configured.</para>
    152161        </listitem>
    153162      </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.