Changeset d8f87e8


Ignore:
Timestamp:
Jun 7, 2009, 9:43:43 PM (12 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
2026a2e
Parents:
d06a4e5
Message:

This commit will address most of the EGLIBC test suite failures

Files:
1 added
21 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/alpha/eglibc.xml

    rd06a4e5 rd8f87e8  
    2525    href="../common/eglibc.xml"
    2626    xpointer="xpointer(//*[@os='z'])"/>
     27
     28    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     29    href="../common/eglibc.xml"
     30    xpointer="xpointer(//*[@os='p1'])"/>
     31
     32    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     33    href="../common/eglibc.xml"
     34    xpointer="xpointer(//*[@os='p2'])"/>
     35
     36    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     37    href="../common/eglibc.xml"
     38    xpointer="xpointer(//*[@os='l1'])"/>
     39
     40    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     41    href="../common/eglibc.xml"
     42    xpointer="xpointer(//*[@os='l2'])"/>
    2743
    2844    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/common/eglibc.xml

    rd06a4e5 rd8f87e8  
    3939    </note>
    4040
     41    <para os="p1">EGLIBC has various issues addressed by the following patch:</para>
     42
     43<screen os="p2"><userinput>patch -Np1 -i ../&eglibc-fixes-patch;</userinput></screen>
     44
     45    <para os="l1">The following sed makes sure that newly built EGLIBC is tested,
     46    during make install, instead of the one we previously build:</para>
     47
     48<screen os="l2"><userinput>LINKER=$(readelf -l $(file /tools/lib/libc-* | cut -f1 -d:) | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')
     49sed -i "s|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=${LINKER} -o|" \
     50  scripts/test-installation.pl
     51unset LINKER</userinput></screen>
     52
    4153    <para os="b">The EGLIBC build system is self-contained and will install
    4254    perfectly, even though the compiler specs file and linker are still
     
    8193    </important>
    8294
    83     <para os="m">Test the results:</para>
     95    <para os="m">Before running the tests, copy a file from the source tree into our
     96    build tree to prevent a couple of test failures, then run the tests:</para>
    8497
    8598<!-- items n,o,p no longer the master, use x86_64 which has no failures -->
    8699
    87 <screen os="n"><userinput>make -k check &gt;eglibc-check-log 2&gt;&amp;1 ; grep Error eglibc-check-log</userinput></screen>
     100<screen os="n"><userinput>cp -v ../glibc-&eglibc-version;/iconvdata/gconv-modules iconvdata
     101make -k check &gt;eglibc-check-log 2&gt;&amp;1 ; grep Error eglibc-check-log</userinput></screen>
    88102
    89103    <para os="o">The EGLIBC test suite is highly dependent on certain functions of
  • BOOK/final-system/mips/eglibc.xml

    rd06a4e5 rd8f87e8  
    2525    href="../common/eglibc.xml"
    2626    xpointer="xpointer(//*[@os='z'])"/>
     27
     28    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     29    href="../common/eglibc.xml"
     30    xpointer="xpointer(//*[@os='p1'])"/>
     31
     32    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     33    href="../common/eglibc.xml"
     34    xpointer="xpointer(//*[@os='p2'])"/>
     35
     36    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     37    href="../common/eglibc.xml"
     38    xpointer="xpointer(//*[@os='l1'])"/>
     39
     40    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     41    href="../common/eglibc.xml"
     42    xpointer="xpointer(//*[@os='l2'])"/>
    2743
    2844    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/mips64-64/eglibc.xml

    rd06a4e5 rd8f87e8  
    2525    href="../common/eglibc.xml"
    2626    xpointer="xpointer(//*[@os='z'])"/>
     27
     28    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     29    href="../common/eglibc.xml"
     30    xpointer="xpointer(//*[@os='p1'])"/>
     31
     32    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     33    href="../common/eglibc.xml"
     34    xpointer="xpointer(//*[@os='p2'])"/>
     35
     36    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     37    href="../common/eglibc.xml"
     38    xpointer="xpointer(//*[@os='l1'])"/>
     39
     40    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     41    href="../common/eglibc.xml"
     42    xpointer="xpointer(//*[@os='l2'])"/>
    2743
    2844    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/mips64/eglibc-64bit.xml

    rd06a4e5 rd8f87e8  
    2121  <sect2 role="installation">
    2222    <title>Installation of EGLIBC</title>
     23
     24    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     25    href="../common/eglibc.xml"
     26    xpointer="xpointer(//*[@os='p1'])"/>
     27
     28    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     29    href="../common/eglibc.xml"
     30    xpointer="xpointer(//*[@os='p2'])"/>
     31
     32    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     33    href="../common/eglibc.xml"
     34    xpointer="xpointer(//*[@os='l1'])"/>
     35
     36    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     37    href="../multilib/eglibc-64bit.xml"
     38    xpointer="xpointer(//*[@os='l2'])"/>
    2339
    2440    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/mips64/eglibc-n32.xml

    rd06a4e5 rd8f87e8  
    2121  <sect2 role="installation">
    2222    <title>Installation of EGLIBC</title>
     23
     24    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     25    href="../common/eglibc.xml"
     26    xpointer="xpointer(//*[@os='p1'])"/>
     27
     28    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     29    href="../common/eglibc.xml"
     30    xpointer="xpointer(//*[@os='p2'])"/>
     31
     32    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     33    href="../common/eglibc.xml"
     34    xpointer="xpointer(//*[@os='l1'])"/>
     35
     36<screen os="l2"><userinput>LINKER=$(readelf -l $(file /tools/lib32/libc-* | cut -f1 -d:) | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')
     37sed -i "s|libs -o|libs -L/usr/lib32 -Wl,-dynamic-linker=${LINKER} -o|" \
     38  scripts/test-installation.pl
     39unset LINKER</userinput></screen>
    2340
    2441    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/mips64/eglibc.xml

    rd06a4e5 rd8f87e8  
    2626    href="../common/eglibc.xml"
    2727    xpointer="xpointer(//*[@os='z'])"/>
     28
     29    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     30    href="../common/eglibc.xml"
     31    xpointer="xpointer(//*[@os='p1'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     34    href="../common/eglibc.xml"
     35    xpointer="xpointer(//*[@os='p2'])"/>
     36
     37    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     38    href="../common/eglibc.xml"
     39    xpointer="xpointer(//*[@os='l1'])"/>
     40
     41    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     42    href="../common/eglibc.xml"
     43    xpointer="xpointer(//*[@os='l2'])"/>
    2844
    2945    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/multilib/eglibc-64bit.xml

    rd06a4e5 rd8f87e8  
    2121  <sect2 role="installation">
    2222    <title>Installation of EGLIBC</title>
     23
     24    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     25    href="../common/eglibc.xml"
     26    xpointer="xpointer(//*[@os='p1'])"/>
     27
     28    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     29    href="../common/eglibc.xml"
     30    xpointer="xpointer(//*[@os='p2'])"/>
     31
     32    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     33    href="../common/eglibc.xml"
     34    xpointer="xpointer(//*[@os='l1'])"/>
     35
     36<screen os="l2"><userinput>LINKER=$(readelf -l $(file /tools/lib64/libc-* | cut -f1 -d:) | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')
     37sed -i "s|libs -o|libs -L/usr/lib64 -Wl,-dynamic-linker=${LINKER} -o|" \
     38  scripts/test-installation.pl
     39unset LINKER</userinput></screen>
    2340
    2441    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/multilib/eglibc.xml

    rd06a4e5 rd8f87e8  
    2626    href="../common/eglibc.xml"
    2727    xpointer="xpointer(//*[@os='z'])"/>
     28
     29    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     30    href="../common/eglibc.xml"
     31    xpointer="xpointer(//*[@os='p1'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     34    href="../common/eglibc.xml"
     35    xpointer="xpointer(//*[@os='p2'])"/>
     36
     37    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     38    href="../common/eglibc.xml"
     39    xpointer="xpointer(//*[@os='l1'])"/>
     40
     41    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     42    href="../common/eglibc.xml"
     43    xpointer="xpointer(//*[@os='l2'])"/>
    2844
    2945    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/ppc/eglibc.xml

    rd06a4e5 rd8f87e8  
    2525    href="../common/eglibc.xml"
    2626    xpointer="xpointer(//*[@os='z'])"/>
     27
     28    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     29    href="../common/eglibc.xml"
     30    xpointer="xpointer(//*[@os='p1'])"/>
     31
     32    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     33    href="../common/eglibc.xml"
     34    xpointer="xpointer(//*[@os='p2'])"/>
     35
     36    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     37    href="../common/eglibc.xml"
     38    xpointer="xpointer(//*[@os='l1'])"/>
     39
     40    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     41    href="../common/eglibc.xml"
     42    xpointer="xpointer(//*[@os='l2'])"/>
    2743
    2844    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/ppc64/eglibc-64bit.xml

    rd06a4e5 rd8f87e8  
    2121  <sect2 role="installation">
    2222    <title>Installation of EGLIBC</title>
     23
     24    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     25    href="../common/eglibc.xml"
     26    xpointer="xpointer(//*[@os='p1'])"/>
     27
     28    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     29    href="../common/eglibc.xml"
     30    xpointer="xpointer(//*[@os='p2'])"/>
     31
     32    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     33    href="../common/eglibc.xml"
     34    xpointer="xpointer(//*[@os='l1'])"/>
     35
     36    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     37    href="../multilib/eglibc-64bit.xml"
     38    xpointer="xpointer(//*[@os='l2'])"/>
    2339
    2440    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/ppc64/eglibc.xml

    rd06a4e5 rd8f87e8  
    2626    href="../common/eglibc.xml"
    2727    xpointer="xpointer(//*[@os='z'])"/>
     28
     29    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     30    href="../common/eglibc.xml"
     31    xpointer="xpointer(//*[@os='p1'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     34    href="../common/eglibc.xml"
     35    xpointer="xpointer(//*[@os='p2'])"/>
     36
     37    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     38    href="../common/eglibc.xml"
     39    xpointer="xpointer(//*[@os='l1'])"/>
     40
     41    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     42    href="../common/eglibc.xml"
     43    xpointer="xpointer(//*[@os='l2'])"/>
    2844
    2945    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/sparc64-64/eglibc.xml

    rd06a4e5 rd8f87e8  
    2525    href="../common/eglibc.xml"
    2626    xpointer="xpointer(//*[@os='z'])"/>
     27
     28    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     29    href="../common/eglibc.xml"
     30    xpointer="xpointer(//*[@os='p1'])"/>
     31
     32    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     33    href="../common/eglibc.xml"
     34    xpointer="xpointer(//*[@os='p2'])"/>
     35
     36    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     37    href="../common/eglibc.xml"
     38    xpointer="xpointer(//*[@os='l1'])"/>
     39
     40    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     41    href="../common/eglibc.xml"
     42    xpointer="xpointer(//*[@os='l2'])"/>
    2743
    2844    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/sparc64/eglibc-64bit.xml

    rd06a4e5 rd8f87e8  
    2121  <sect2 role="installation">
    2222    <title>Installation of EGLIBC</title>
     23
     24    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     25    href="../common/eglibc.xml"
     26    xpointer="xpointer(//*[@os='p1'])"/>
     27
     28    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     29    href="../common/eglibc.xml"
     30    xpointer="xpointer(//*[@os='p2'])"/>
     31
     32    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     33    href="../common/eglibc.xml"
     34    xpointer="xpointer(//*[@os='l1'])"/>
     35
     36    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     37    href="../multilib/eglibc-64bit.xml"
     38    xpointer="xpointer(//*[@os='l2'])"/>
    2339
    2440    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/x86/eglibc.xml

    rd06a4e5 rd8f87e8  
    2525    href="../common/eglibc.xml"
    2626    xpointer="xpointer(//*[@os='z'])"/>
     27
     28    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     29    href="../common/eglibc.xml"
     30    xpointer="xpointer(//*[@os='p1'])"/>
     31
     32    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     33    href="../common/eglibc.xml"
     34    xpointer="xpointer(//*[@os='p2'])"/>
     35
     36    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     37    href="../common/eglibc.xml"
     38    xpointer="xpointer(//*[@os='l1'])"/>
     39
     40    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     41    href="../common/eglibc.xml"
     42    xpointer="xpointer(//*[@os='l2'])"/>
    2743
    2844    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/x86_64-64/eglibc.xml

    rd06a4e5 rd8f87e8  
    2525    href="../common/eglibc.xml"
    2626    xpointer="xpointer(//*[@os='z'])"/>
     27
     28    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     29    href="../common/eglibc.xml"
     30    xpointer="xpointer(//*[@os='p1'])"/>
     31
     32    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     33    href="../common/eglibc.xml"
     34    xpointer="xpointer(//*[@os='p2'])"/>
     35
     36    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     37    href="../common/eglibc.xml"
     38    xpointer="xpointer(//*[@os='l1'])"/>
     39
     40    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     41    href="../common/eglibc.xml"
     42    xpointer="xpointer(//*[@os='l2'])"/>
    2743
    2844    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/x86_64/eglibc-64bit.xml

    rd06a4e5 rd8f87e8  
    2121  <sect2 role="installation">
    2222    <title>Installation of Glibc</title>
     23
     24    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     25    href="../common/eglibc.xml"
     26    xpointer="xpointer(//*[@os='p1'])"/>
     27
     28    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     29    href="../common/eglibc.xml"
     30    xpointer="xpointer(//*[@os='p2'])"/>
     31
     32    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     33    href="../common/eglibc.xml"
     34    xpointer="xpointer(//*[@os='l1'])"/>
     35
     36    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     37    href="../multilib/eglibc-64bit.xml"
     38    xpointer="xpointer(//*[@os='l2'])"/>
    2339
    2440    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/x86_64/eglibc.xml

    rd06a4e5 rd8f87e8  
    2626    href="../common/eglibc.xml"
    2727    xpointer="xpointer(//*[@os='z'])"/>
     28
     29    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     30    href="../common/eglibc.xml"
     31    xpointer="xpointer(//*[@os='p1'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     34    href="../common/eglibc.xml"
     35    xpointer="xpointer(//*[@os='p2'])"/>
     36
     37    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     38    href="../common/eglibc.xml"
     39    xpointer="xpointer(//*[@os='l1'])"/>
     40
     41    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     42    href="../common/eglibc.xml"
     43    xpointer="xpointer(//*[@os='l2'])"/>
    2844
    2945    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/introduction/common/changelog.xml

    rd06a4e5 rd8f87e8  
    4545        <listitem>
    4646          <para>[Jim] - Updated Findutils to 4.4.2.</para>
     47        </listitem>
     48        <listitem>
     49          <para>[Jim] - Updated EGLIBC to prevent most testsuite failures.</para>
    4750        </listitem>
    4851      </itemizedlist>
  • BOOK/materials/common/patches.xml

    rd06a4e5 rd8f87e8  
    6565
    6666    <varlistentry>
     67      <term>EGLIBC Fixes Patch - <token>&eglibc-fixes-patch-size;</token>:</term>
     68      <listitem>
     69        <para>Download: <ulink
     70        url="&patches-root;&eglibc-fixes-patch;"/></para>
     71        <para>MD5 sum: <literal>&eglibc-fixes-patch-md5;</literal></para>
     72      </listitem>
     73    </varlistentry>
     74
     75    <varlistentry>
    6776      <term>Expect Avoid TCL Internals Patch - <token>&expect-avoid_tcl_internals-patch-size;</token>:</term>
    6877      <listitem>
  • BOOK/patches.ent

    rd06a4e5 rd8f87e8  
    2525<!ENTITY diffutils-i18n-patch-size "17 KB">
    2626
     27<!ENTITY eglibc-fixes-patch "eglibc-&eglibc-version;-fixes-1.patch">
     28<!ENTITY eglibc-fixes-patch-md5 "d6291ad34fbf3f75f5fabc7c3089da06">
     29<!ENTITY eglibc-fixes-patch-size "2 KB">
     30
    2731<!ENTITY expect-avoid_tcl_internals-patch "expect-&expect-version;-avoid-tcl-internals-1.patch">
    2832<!ENTITY expect-avoid_tcl_internals-patch-md5 "5661004ca23ddc9592f488142367c2f5">
Note: See TracChangeset for help on using the changeset viewer.