Changeset 8375

Show
Ignore:
Timestamp:
09/15/07 18:21:26 (10 months ago)
Author:
jhuntwork
Message:

Upgrade to Glibc-2.6.1. Fixes #2018. Thanks to several people mentioned in the changelog.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/BOOK/chapter01/changelog.xml

    r8374 r8375  
    4141      <itemizedlist> 
    4242        <listitem> 
     43          <para>[jhuntwork] - Upgrade to Glibc-2.6.1. Fixes 
     44          <ulink url="&lfs-ticket-root;2018">#2018</ulink>. 
     45          Thanks to Matthew Burgess for preparing a discrete patch, 
     46          Robert Connolly and Dan Nicholson for investigating how best 
     47          to adjust CFLAGS, and Greg Schafer for showing the technical 
     48          benefits of using CFLAGS with Glibc.</para> 
     49        </listitem> 
     50        <listitem> 
    4351          <para>[jhuntwork] - Upgrade to GCC-4.2.1. Fixes 
    4452          <ulink url="&lfs-ticket-root;2002">#2002</ulink>. 
  • trunk/BOOK/chapter01/whatsnew.xml

    r8374 r8375  
    8484      <para>Gettext &gettext-version;</para> 
    8585    </listitem>--> 
    86     <!--<listitem> 
     86    <listitem> 
    8787      <para>Glibc &glibc-version;</para> 
    88     </listitem>--> 
     88    </listitem> 
    8989    <!--<listitem> 
    9090      <para>Grep &grep-version;</para> 
  • trunk/BOOK/chapter05/coreutils.xml

    r8366 r8375  
    4444    <title>Installation of Coreutils</title> 
    4545 
     46    <para>The version of the function <quote>futimens</quote> used 
     47    by Coreutils is incompatible with the version that current 
     48    Glibc provides, so we'll rename the function:</para> 
     49 
     50<screen><userinput>for file in src/{copy,touch}.c lib/utimens.{c,h} ; do \ 
     51   cp -v $file{,.orig} 
     52   sed 's/futimens/gl_&amp;/' $file.orig &gt; $file 
     53done</userinput></screen> 
     54 
    4655    <para>Prepare Coreutils for compilation:</para> 
    4756 
  • trunk/BOOK/chapter05/glibc.xml

    r8366 r8375  
    4949<screen><userinput>mkdir -v ../glibc-build 
    5050cd ../glibc-build</userinput></screen> 
     51 
     52    <para>Because Glibc no longer supports i386, its developers say to use the 
     53    compiler flag <parameter>-march=i486</parameter> when building it for x86 
     54    machines. There are several ways to accomplish that, but testing shows that 
     55    the flag is best placed inside the build variable <quote>CFLAGS</quote>. 
     56    Instead of overriding completely what Glibc's internal build system uses 
     57    for CFLAGS, append the new flag to the existing contents of CFLAGS by 
     58    making use of the special file <filename>configparms</filename>:</para> 
     59 
     60<screen><userinput>echo "CFLAGS += -march=i486" &gt; configparms</userinput></screen> 
    5161 
    5262    <para>Next, prepare Glibc for compilation:</para> 
  • trunk/BOOK/chapter05/gzip.xml

    r8366 r8375  
    4444    <title>Installation of Gzip</title> 
    4545 
     46    <para>The version of the function <quote>futimens</quote> used 
     47    by Gzip is incompatible with the version that current 
     48    Glibc provides, so we'll rename the function:</para> 
     49 
     50<screen><userinput>for file in gzip.c lib/utimens.{c,h} ; do \ 
     51   cp -v $file{,.orig} 
     52   sed 's/futimens/gl_&amp;/' $file.orig &gt; $file 
     53done</userinput></screen> 
     54 
    4655    <para>Prepare Gzip for compilation:</para> 
    4756 
  • trunk/BOOK/chapter06/coreutils.xml

    r8366 r8375  
    4141  <sect2 role="installation"> 
    4242    <title>Installation of Coreutils</title> 
     43 
     44    <para>The version of the function <quote>futimens</quote> used 
     45    by Coreutils is incompatible with the version that current 
     46    Glibc provides, so we'll rename the function:</para> 
     47 
     48<screen><userinput>sed -i 's/futimens/gl_&amp;/' src/{copy,touch}.c lib/utimens.{c,h}</userinput></screen> 
    4349 
    4450    <para>A known issue with the <command>uname</command> program from 
  • trunk/BOOK/chapter06/glibc.xml

    r8366 r8375  
    102102<screen><userinput>mkdir -v ../glibc-build 
    103103cd ../glibc-build</userinput></screen> 
     104 
     105    <para>Again, add the needed compiler flag to CFLAGS:</para> 
     106 
     107<screen><userinput>echo "CFLAGS += -march=i486" &gt; configparms</userinput></screen> 
    104108 
    105109    <para>Prepare Glibc for compilation:</para> 
  • trunk/BOOK/chapter06/gzip.xml

    r8366 r8375  
    4242    <title>Installation of Gzip</title> 
    4343 
     44    <para>The version of the function <quote>futimens</quote> used 
     45    by Gzip is incompatible with the version that current 
     46    Glibc provides, so we'll rename the function:</para> 
     47 
     48<screen><userinput>sed -i 's/futimens/gl_&amp;/' gzip.c lib/utimens.{c,h}</userinput></screen> 
     49 
    4450    <para>Prepare Gzip for compilation:</para> 
    4551 
  • trunk/BOOK/packages.ent

    r8374 r8375  
    191191<!ENTITY gettext-ch6-sbu "1 SBU"> 
    192192 
    193 <!ENTITY glibc-version "2.5.1"> 
    194 <!ENTITY glibc-size "15,060 KB"> 
     193<!ENTITY glibc-version "2.6.1"> 
     194<!ENTITY glibc-size "15,398 KB"> 
    195195<!ENTITY glibc-url "&gnu;glibc/glibc-&glibc-version;.tar.bz2"> 
    196 <!ENTITY glibc-md5 "10ea72e2c4d56c6aa13dabb7c4f9b195"> 
     196<!ENTITY glibc-md5 "11cf6d3fc86dbe0890b8d00372eb6286"> 
    197197<!ENTITY glibc-home "&gnu-software;libc/"> 
    198198<!ENTITY glibc-ch5-du "342 MB"> 
     
    201201<!ENTITY glibc-ch6-sbu "19.5 SBU testsuite included"> 
    202202<!ENTITY glibc-libidn-version "&glibc-version;"> 
    203 <!ENTITY glibc-libidn-size "123 KB"> 
    204 <!ENTITY glibc-libidn-url "&gnu;glibc/glibc-libidn-&glibc-libidn-version;.tar.gz"> 
    205 <!ENTITY glibc-libidn-md5 "51b46f055908a5f8e409c4200d828093"> 
     203<!ENTITY glibc-libidn-size "100 KB"> 
     204<!ENTITY glibc-libidn-url "&gnu;glibc/glibc-libidn-&glibc-libidn-version;.tar.bz2"> 
     205<!ENTITY glibc-libidn-md5 "503f1315afd808728ebaa75b3d87a7d9"> 
    206206<!ENTITY glibc-libidn-home " "> 
    207207