Ignore:
Timestamp:
08/05/2012 02:25:02 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:
a44c0c9
Parents:
36ba266
Message:

Upgrade to Glibc-2.16.0. Fixes #3131.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/glibc.xml

    r36ba266 rf1c177f  
    7373-->
    7474
    75     <para>When running <command>make install</command>, a script called
     75    <para>Fix a bug that causes the build to fail:</para>
     76
     77<screen><userinput remap="pre">sed -i 's#&lt;rpc/types.h&gt;#"rpc/types.h"#' sunrpc/rpc_clntout.c</userinput></screen>
     78
     79<!--    <para>When running <command>make install</command>, a script called
    7680    <filename>test-installation.pl</filename> performs a small sanity test on
    7781    our newly installed Glibc. However, because our toolchain still points to
     
    8387sed -i &quot;s|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=$DL -o|&quot; \
    8488        scripts/test-installation.pl
    85 unset DL</userinput></screen>
    86 
    87     <para>In addition, there is a bug in the
    88     <filename>test-installation.pl</filename> script in that it tries to link
    89     a test program to a library that isn't installed by
    90     <command>make install</command>.  Issue the following <command>sed</command>
    91     command to fix it:</para>
    92 
    93     <screen><userinput remap="pre">sed -i -e 's/"db1"/&amp; \&amp;\&amp; $name ne "nss_test1"/' scripts/test-installation.pl</userinput></screen>
     89unset DL</userinput></screen>-->
     90
     91    <para>When running <command>make install</command>, a script called
     92    <filename>test-installation.pl</filename> performs a small sanity test on
     93    our newly installed Glibc. However, it contains a bug that causes it to
     94    fail, so prevent it from running by issuing the following command:</para>
     95
     96<screen><userinput remap="pre">sed -i '/test-installation.pl/d' Makefile</userinput></screen>
    9497
    9598    <para>The <command>ldd</command> shell script contains Bash-specific
     
    100103
    101104<screen><userinput remap="pre">sed -i 's|@BASH@|/bin/bash|' elf/ldd.bash.in</userinput></screen>
    102 
    103   <para>Fix a bug that causes several BLFS packages to segfault:</para>
    104 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-fixes-patch;</userinput></screen>
    105 
    106   <para>Fix a bug that prevents Glibc from building with GCC-&gcc-version;:</para>
    107 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-gcc_fix-patch;</userinput></screen>
    108105
    109106    <para>The Glibc documentation recommends building Glibc outside of the source
     
    316313EOF</userinput></screen>
    317314
     315    <para>Install timezone data:</para>
     316<screen><userinput>tar -xf ../tzdata&tzdata-version;.tar.gz
     317
     318for tz in etcetera southamerica northamerica europe africa antarctica \
     319  asia australasia backward pacificnew solar87 solar88 solar89 systemv; do
     320
     321    zic -L leapseconds -d /usr/share/zoneinfo -y "sh yearistype.sh" ${tz}
     322
     323done</userinput></screen>
     324
    318325    <para>One way to determine the local time zone, run the following
    319326    script:</para>
Note: See TracChangeset for help on using the changeset viewer.