Changeset f1c177f


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

Files:
25 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r36ba266 rf1c177f  
    3737
    3838-->
     39
     40    <listitem>
     41      <para>2012-08-05</para>
     42      <itemizedlist>
     43         <listitem>
     44           <para>[matthew] - Upgrade to Glibc-2.16.0. Fixes
     45           <ulink url="&lfs-ticket-root;3131">#3131</ulink>.</para>
     46         </listitem>
     47      </itemizedlist>
     48    </listitem>
    3949
    4050    <listitem>
  • chapter01/whatsnew.xml

    r36ba266 rf1c177f  
    233233
    234234    <listitem>
    235       <para>&glibc-fixes-patch;</para>
    236     </listitem>
    237 
    238     <listitem>
    239       <para>&glibc-gcc_fix-patch;</para>
    240     </listitem>
    241 
    242     <listitem>
    243235      <para>&kbd-fixes-patch;</para>
    244236    </listitem>
  • chapter03/patches.xml

    r36ba266 rf1c177f  
    5656        <para>Download: <ulink url="&patches-root;&flex-gcc-patch;"/></para>
    5757        <para>MD5 sum: <literal>&flex-gcc-patch-md5;</literal></para>
    58       </listitem>
    59     </varlistentry>
    60 
    61     <varlistentry>
    62       <term>Glibc Fixes Patch - <token>&glibc-fixes-patch-size;</token>:</term>
    63       <listitem>
    64         <para>Download: <ulink url="&patches-root;&glibc-fixes-patch;"/></para>
    65         <para>MD5 sum: <literal>&glibc-fixes-patch-md5;</literal></para>
    66       </listitem>
    67     </varlistentry>
    68 
    69     <varlistentry>
    70       <term>Glibc GCC Fix Patch - <token>&glibc-gcc_fix-patch-size;</token>:</term>
    71       <listitem>
    72         <para>Download: <ulink url="&patches-root;&glibc-gcc_fix-patch;"/></para>
    73         <para>MD5 sum: <literal>&glibc-gcc_fix-patch-md5;</literal></para>
    7458      </listitem>
    7559    </varlistentry>
  • chapter05/diffutils.xml

    r36ba266 rf1c177f  
    4444    <title>Installation of Diffutils</title>
    4545
     46    <para>Fix an incompatibility between this package and Glibc-&glibc-version;:</para>
     47
     48<screen><userinput remap="pre">sed -i -e '/gets is a/d' lib/stdio.in.h</userinput></screen>
     49
    4650    <para>Prepare Diffutils for compilation:</para>
    4751
  • chapter05/gcc-pass1.xml

    r36ba266 rf1c177f  
    9999    prevents unexpected changes to the original files in case the commands are
    100100    inadvertently run twice.  </para>
     101
     102    <para>GCC doesn't detect stack protection correctly, which causes problems
     103    for the build of Glibc-&glibc-version;, so fix that by issuing the following
     104    command:</para>
     105
     106<screen><userinput remap="pre">sed -i '/k prot/agcc_cv_libc_provides_ssp=yes' gcc/configure</userinput></screen>
    101107
    102108    <para>The GCC documentation recommends building GCC outside of the
  • chapter05/gettext.xml

    r36ba266 rf1c177f  
    4646    <para>For our temporary set of tools, we only need to build and install
    4747    one binary from Gettext.</para>
     48
     49    <para>Fix an incompatibility between this package and Glibc-&glibc-version;:</para>
     50
     51<screen><userinput remap="pre">sed -i -e '/gets is a/d' gettext-*/*/stdio.in.h</userinput></screen>
    4852
    4953    <para>Prepare Gettext for compilation:</para>
  • chapter05/glibc.xml

    r36ba266 rf1c177f  
    4343  <sect2 role="installation">
    4444    <title>Installation of Glibc</title>
    45 
    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>
    54 
    55   <para>Fix a bug that prevents Glibc from building with GCC-&gcc-version;:</para>
    56 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-gcc_fix-patch;</userinput></screen>
    5745
    5846    <para>The Glibc documentation recommends building Glibc outside of the source
     
    7563  i?86) echo "CFLAGS += -march=i486 -mtune=native" &gt; configparms ;;
    7664esac</userinput></screen>
     65
     66    <para>Fix an issue when building Glibc-&glibc-version; with GCC-&gcc-version;:</para>
     67
     68<screen><userinput remap="pre">sed -i 's/ -lgcc_s//' ../glibc-&glibc-version;/Makeconfig</userinput></screen>
    7769
    7870    <para>Next, prepare Glibc for compilation:</para>
  • chapter05/m4.xml

    r36ba266 rf1c177f  
    4444    <title>Installation of M4</title>
    4545
     46    <para>Fix an incompatibility between this package and Glibc-&glibc-version;:</para>
     47
     48<screen><userinput remap="pre">sed -i -e '/gets is a/d' lib/stdio.in.h</userinput></screen>
     49
    4650    <para>Prepare M4 for compilation:</para>
    4751
  • chapter05/tar.xml

    r36ba266 rf1c177f  
    4444    <title>Installation of Tar</title>
    4545
     46    <para>Fix an incompatibility between this package and Glibc-&glibc-version;:</para>
     47
     48<screen><userinput remap="pre">sed -i -e '/gets is a/d' gnu/stdio.in.h</userinput></screen>
     49
    4650    <para>Prepare Tar for compilation:</para>
    4751
  • chapter06/coreutils.xml

    r36ba266 rf1c177f  
    106106    <para>Now run the tests:</para>
    107107
    108 <screen><userinput remap="test">su nobody -s /bin/bash -c "make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen>
     108<screen><userinput remap="test">su nobody -s /bin/bash -c "make RUN_EXPENSIVE_TESTS=yes -k check || true"</userinput></screen>
    109109
    110110    <para>Remove the temporary group:</para>
  • chapter06/diffutils.xml

    r36ba266 rf1c177f  
    4141  <sect2 role="installation">
    4242    <title>Installation of Diffutils</title>
     43
     44    <para>Fix an incompatibility between this package and Glibc-&glibc-version;</para>
     45
     46<screen><userinput remap="pre">sed -i -e '/gets is a/d' lib/stdio.in.h</userinput></screen>
    4347
    4448    <para>Prepare Diffutils for compilation:</para>
  • chapter06/e2fsprogs.xml

    r36ba266 rf1c177f  
    114114    <para>To test the results, issue:</para>
    115115
    116 <screen><userinput remap="test">make check</userinput></screen>
     116<screen><userinput remap="test">make -k check</userinput></screen>
    117117
    118118    <para>One of the E2fsprogs tests will attempt to allocate 256 MB
  • chapter06/gettext.xml

    r36ba266 rf1c177f  
    4343  <sect2 role="installation">
    4444    <title>Installation of Gettext</title>
     45
     46    <para>Fix an incompatibility between this package and Glibc-&glibc-version;:</para>
     47
     48<screen><userinput remap="pre">sed -i -e '/gets is a/d' gettext-*/*/stdio.in.h</userinput></screen>
    4549
    4650    <para>Prepare Gettext for compilation:</para>
  • 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>
  • chapter06/grub.xml

    r36ba266 rf1c177f  
    4040  <sect2 role="installation">
    4141    <title>Installation of GRUB</title>
     42
     43    <para>Fix an incompatibility between this package and Glibc-&glibc-version;:</para>
     44
     45<screen><userinput remap="pre">sed -i -e '/gets is a/d' grub-core/gnulib/stdio.in.h</userinput></screen>
    4246
    4347    <para>Prepare GRUB for compilation:</para>
  • chapter06/inetutils.xml

    r36ba266 rf1c177f  
    4040  <sect2 role="installation">
    4141    <title>Installation of Inetutils</title>
     42
     43    <para>Fix an incompatibility between this package and Glibc-&glibc-version;</para>
     44
     45<screen><userinput remap="pre">sed -i -e '/gets is a/d' lib/stdio.in.h</userinput></screen>
     46
     47    <para>Prepare Inetutils for compilation:</para>
    4248
    4349<screen><userinput remap="configure">./configure --prefix=/usr  \
  • chapter06/libpipeline.xml

    r36ba266 rf1c177f  
    4141  <sect2 role="installation">
    4242    <title>Installation of Libpipeline</title>
     43
     44    <para>Fix an incompatibility between this package and Glibc-&glibc-version;:</para>
     45
     46<screen><userinput remap="pre">sed -i -e '/gets is a/d' gnulib/lib/stdio.in.h</userinput></screen>
    4347
    4448    <para>Prepare Libpipeline for compilation:</para>
  • chapter06/m4.xml

    r36ba266 rf1c177f  
    4040  <sect2 role="installation">
    4141    <title>Installation of M4</title>
     42
     43    <para>Fix an incompatibility between this package and Glibc-&glibc-version;:</para>
     44
     45<screen><userinput remap="pre">sed -i -e '/gets is a/d' lib/stdio.in.h</userinput></screen>
    4246
    4347    <para>Prepare M4 for compilation:</para>
  • chapter06/man-db.xml

    r36ba266 rf1c177f  
    4141  <sect2 role="installation">
    4242    <title>Installation of Man-DB</title>
     43
     44    <para>Fix an incompatibility between this package and Glibc-&glibc-version;</para>
     45
     46<screen><userinput remap="pre">sed -i -e '/gets is a/d' gnulib/lib/stdio.in.h</userinput></screen>
    4347
    4448    <para>Prepare Man-DB for compilation:</para>
  • chapter06/patch.xml

    r36ba266 rf1c177f  
    5858    <para>To test the results, issue:</para>
    5959
    60 <screen><userinput remap="test">make check</userinput></screen>
     60<screen><userinput remap="test">make -k check</userinput></screen>
    6161
    6262    <para>Install the package:</para>
  • chapter06/perl.xml

    r36ba266 rf1c177f  
    108108    </variablelist>
    109109
     110    <para>Fix an incompatibility between this package and Glibc-&glibc-version;:</para>
     111
     112<screen><userinput remap="pre">sed -i '/test-installation.pl/d' Makefile</userinput></screen>
     113
    110114    <para>Compile the package:</para>
    111115
     
    114118    <para>To test the results (approximately 2.5 SBU), issue:</para>
    115119
    116 <screen><userinput remap="test">make test</userinput></screen>
     120<screen><userinput remap="test">make -k test</userinput></screen>
    117121
    118122    <para>Install the package:</para>
  • chapter06/tar.xml

    r36ba266 rf1c177f  
    4040  <sect2 role="installation">
    4141    <title>Installation of Tar</title>
     42
     43    <para>Fix an incompatibility between this package and Glibc-&glibc-version;:</para>
     44
     45<screen><userinput remap="pre">sed -i -e '/gets is a/d' gnu/stdio.in.h</userinput></screen>
    4246
    4347    <para>Prepare Tar for compilation:</para>
  • general.ent

    r36ba266 rf1c177f  
    1 <!ENTITY version "SVN-20120725">
    2 <!ENTITY releasedate "July 25, 2012">
     1<!ENTITY version "SVN-20120805">
     2<!ENTITY releasedate "August 3, 2012">
    33<!ENTITY copyrightdate "1999-2012"><!-- jhalfs needs a literal dash, not &ndash; -->
    44<!ENTITY milestone "7.2">
  • packages.ent

    r36ba266 rf1c177f  
    199199<!ENTITY gettext-ch6-sbu "5.8 SBU">
    200200
    201 <!ENTITY glibc-version "2.15">
    202 <!ENTITY glibc-size "10,039 KB">
     201<!ENTITY glibc-version "2.16.0">
     202<!ENTITY glibc-size "9,756 KB">
    203203<!ENTITY glibc-url "&gnu;glibc/glibc-&glibc-version;.tar.xz">
    204 <!ENTITY glibc-md5 "4f9f3b0e780a8c7179a372d34e9452bc">
     204<!ENTITY glibc-md5 "80b181b02ab249524ec92822c0174cf7">
    205205<!ENTITY glibc-home "&gnu-software;libc/">
    206206<!ENTITY glibc-ch5-du "501 MB">
  • patches.ent

    r36ba266 rf1c177f  
    3636<!ENTITY gcc-startfiles-patch-md5 "799ef1971350d2e3c794f2123f247cc6">
    3737<!ENTITY gcc-startfiles-patch-size "1.5 KB">
    38 
    39 
    40 <!ENTITY glibc-fixes-patch "glibc-&glibc-version;-fixes-1.patch">
    41 <!ENTITY glibc-fixes-patch-md5 "78659b024e7175dcc28e9fc4552b1a27">
    42 <!ENTITY glibc-fixes-patch-size "6.5 KB">
    43 
    44 <!ENTITY glibc-gcc_fix-patch "glibc-&glibc-version;-gcc_fix-1.patch">
    45 <!ENTITY glibc-gcc_fix-patch-md5 "d1f28cb98acb9417fe52596908bbb9fd">
    46 <!ENTITY glibc-gcc_fix-patch-size "2.5 KB">
    4738
    4839
Note: See TracChangeset for help on using the changeset viewer.