Changeset c48c555 for final-system


Ignore:
Timestamp:
Feb 21, 2006, 1:19:09 AM (19 years ago)
Author:
Jim Gifford <clfs@…>
Children:
9a8439f
Parents:
597e850
Message:

r766@server (orig r764): jim | 2005-11-28 15:07:41 -0800

r807@server: jim | 2005-11-28 15:07:12 -0800
Text updates to Glibc


Location:
final-system
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified final-system/mips64/glibc-64bit.xml

    r597e850 rc48c555  
    5050    xpointer="xpointer(//*[@os='f'])"/>
    5151
    52     <para>Now we make sure the Glibc goes into
    53     <filename class="directory">/lib64</filename>:</para>
     52    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     53    href="../multilib/glibc-64bit.xml"
     54    xpointer="xpointer(//*[@os='m1'])"/>
    5455
    55 <screen><userinput>echo "slibdir=/lib64" &gt;&gt; configparms</userinput></screen>
     56    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     57    href="../multilib/glibc-64bit.xml"
     58    xpointer="xpointer(//*[@os='m2'])"/>
    5659
    5760    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    5962    xpointer="xpointer(//*[@os='g'])"/>
    6063
    61 <screen><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
    62     ../glibc-&glibc-version;/configure --prefix=/usr \
    63     --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
    64     --libexecdir=/usr/lib64/glibc --libdir=/usr/lib64</userinput></screen>
     64    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     65    href="../multilib/glibc-64bit.xml"
     66    xpointer="xpointer(//*[@os='h'])"/>
    6567
    66     <variablelist>
    67       <title>The meaning of the new configure option:</title>
    68 
    69       <varlistentry>
    70         <term><parameter>--libexecdir=/usr/lib64/glibc</parameter></term>
    71         <listitem>
    72           <para>This changes the location of the <command>pt_chown</command>
    73           program from its default of <filename
    74           class="directory">/usr/libexec</filename> to <filename
    75           class="directory">/usr/lib64/glibc</filename>.</para>
    76         </listitem>
    77       </varlistentry>
    78     </variablelist>
     68    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     69    href="../multilib/glibc-64bit.xml"
     70    xpointer="xpointer(//*[@os='i'])"/>
    7971
    8072    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    9486    xpointer="xpointer(//*[@os='m'])"/>
    9587
    96 <!-- items n,o,p here are now the master, not multilib, because
    97  the tests are known to all pass on multilib_64 -->
     88    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     89    href="../multilib/glibc-64bit.xml"
     90    xpointer="xpointer(//*[@os='n'])"/>
    9891
    99 <screen os="n"><userinput>make check</userinput></screen>
     92    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     93    href="../multilib/glibc-64bit.xml"
     94    xpointer="xpointer(//*[@os='o'])"/>
    10095
    101     <para os="o">The Glibc test suite is highly dependent on certain functions of
    102     the host system, in particular the kernel. In general, the Glibc test
    103     suite is always expected to pass. However, in certain circumstances,
    104     some failures are unavoidable. This is a list of the most common
    105     issues:</para>
    106 
    107     <itemizedlist os="p">
    108       <listitem>
    109         <para>The <emphasis>math</emphasis> tests sometimes fail.
    110         Certain optimization settings are known to be a
    111         factor here.</para>
    112       </listitem>
    113       <listitem>
    114         <para>The <emphasis>gettext</emphasis> test sometimes fails due to
    115         host system issues. The exact reasons are not yet clear.</para>
    116       </listitem>
    117       <listitem>
    118         <para>If you have mounted the LFS partition with the
    119         <parameter>noatime</parameter> option, the <emphasis>atime</emphasis> test
    120         will fail. As mentioned in <xref linkend="ch-partitioning-mounting"/>,
    121         do not use the <parameter>noatime</parameter> option while building
    122         LFS.</para>
    123       </listitem>
    124       <listitem>
    125         <para>When running on older and slower hardware, some tests
    126         can fail because of test timeouts being exceeded.</para>
    127       </listitem>
    128     </itemizedlist>
     96    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     97    href="../multilib/glibc-64bit.xml"
     98    xpointer="xpointer(//*[@os='p'])"/>
    12999
    130100    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • TabularUnified final-system/mips64/glibc-n32.xml

    r597e850 rc48c555  
    5050    xpointer="xpointer(//*[@os='f'])"/>
    5151
    52     <para>Now we make sure the Glibc goes into
     52    <para os="m1">Now we make sure the Glibc goes into
    5353    <filename class="directory">/lib32</filename>:</para>
    5454
    55 <screen><userinput>echo "slibdir=/lib32" &gt;&gt; configparms</userinput></screen>
     55<screen os="m2"><userinput>echo "slibdir=/lib32" &gt;&gt; configparms</userinput></screen>
    5656
    5757    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    5959    xpointer="xpointer(//*[@os='g'])"/>
    6060
    61 <screen><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
     61<screen os="h"><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
    6262    ../glibc-&glibc-version;/configure --prefix=/usr \
    6363    --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
    6464    --libexecdir=/usr/lib32/glibc --libdir=/usr/lib32</userinput></screen>
    6565
    66     <variablelist>
     66    <variablelist os="i">
    6767      <title>The meaning of the new configure option:</title>
    6868
     
    9494    xpointer="xpointer(//*[@os='m'])"/>
    9595
    96 <!-- items n,o,p here are now the master, not multilib, because
    97  the tests are known to all pass on multilib_64 -->
     96    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     97    href="../multilib/glibc-64bit.xml"
     98    xpointer="xpointer(//*[@os='n'])"/>
    9899
    99 <screen os="n"><userinput>make check</userinput></screen>
     100    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     101    href="../multilib/glibc-64bit.xml"
     102    xpointer="xpointer(//*[@os='o'])"/>
    100103
    101     <para os="o">The Glibc test suite is highly dependent on certain functions of
    102     the host system, in particular the kernel. In general, the Glibc test
    103     suite is always expected to pass. However, in certain circumstances,
    104     some failures are unavoidable. This is a list of the most common
    105     issues:</para>
    106 
    107     <itemizedlist os="p">
    108       <listitem>
    109         <para>The <emphasis>math</emphasis> tests sometimes fail.
    110         Certain optimization settings are known to be a
    111         factor here.</para>
    112       </listitem>
    113       <listitem>
    114         <para>The <emphasis>gettext</emphasis> test sometimes fails due to
    115         host system issues. The exact reasons are not yet clear.</para>
    116       </listitem>
    117       <listitem>
    118         <para>If you have mounted the LFS partition with the
    119         <parameter>noatime</parameter> option, the <emphasis>atime</emphasis> test
    120         will fail. As mentioned in <xref linkend="ch-partitioning-mounting"/>,
    121         do not use the <parameter>noatime</parameter> option while building
    122         LFS.</para>
    123       </listitem>
    124       <listitem>
    125         <para>When running on older and slower hardware, some tests
    126         can fail because of test timeouts being exceeded.</para>
    127       </listitem>
    128     </itemizedlist>
     104    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     105    href="../multilib/glibc-64bit.xml"
     106    xpointer="xpointer(//*[@os='o'])"/>
    129107
    130108    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • TabularUnified final-system/mips64/glibc.xml

    r597e850 rc48c555  
    5959    xpointer="xpointer(//*[@os='g'])"/>
    6060
    61 <screen><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
    62     ../glibc-&glibc-version;/configure --prefix=/usr \
    63     --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
    64     --libexecdir=/usr/lib/glibc --host=${LFS_TARGET32}</userinput></screen>
     61    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     62    href="../multilib/glibc.xml"
     63    xpointer="xpointer(//*[@os='h'])"/>
    6564
    6665    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • TabularUnified final-system/multilib/glibc-64bit.xml

    r597e850 rc48c555  
    4242    xpointer="xpointer(//*[@os='f'])"/>
    4343
    44     <para>Now we make sure the Glibc goes into
     44    <para os="m1">Now we make sure the Glibc goes into
    4545    <filename class="directory">/lib64</filename>:</para>
    4646
    47 <screen><userinput>echo "slibdir=/lib64" &gt;&gt; configparms</userinput></screen>
     47<screen os="m2"><userinput>echo "slibdir=/lib64" &gt;&gt; configparms</userinput></screen>
    4848
    4949    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    5151    xpointer="xpointer(//*[@os='g'])"/>
    5252
    53 <screen><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
     53<screen os="h"><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
    5454    ../glibc-&glibc-version;/configure --prefix=/usr \
    5555    --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
    5656    --libexecdir=/usr/lib64/glibc --libdir=/usr/lib64</userinput></screen>
    5757
    58     <variablelist>
     58    <variablelist os="i">
    5959      <title>The meaning of the new configure option:</title>
    6060
  • TabularUnified final-system/multilib/glibc.xml

    r597e850 rc48c555  
    5151    xpointer="xpointer(//*[@os='g'])"/>
    5252
    53 <screen><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
     53<screen os="h"><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
    5454    ../glibc-&glibc-version;/configure --prefix=/usr \
    5555    --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
  • TabularUnified final-system/sparc64/glibc-64bit.xml

    r597e850 rc48c555  
    5050    xpointer="xpointer(//*[@os='f'])"/>
    5151
    52     <para>Now we make sure the Glibc goes into
    53     <filename class="directory">/lib64</filename>:</para>
     52    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     53    href="../multilib/glibc-64bit.xml"
     54    xpointer="xpointer(//*[@os='m1'])"/>
    5455
    55 <screen><userinput>echo "slibdir=/lib64" &gt;&gt; configparms</userinput></screen>
     56    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     57    href="../multilib/glibc-64bit.xml"
     58    xpointer="xpointer(//*[@os='m2'])"/>
    5659
    5760    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    5962    xpointer="xpointer(//*[@os='g'])"/>
    6063
    61 <screen><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
    62     ../glibc-&glibc-version;/configure --prefix=/usr \
    63     --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
    64     --libexecdir=/usr/lib64/glibc --libdir=/usr/lib64</userinput></screen>
     64    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     65    href="../multilib/glibc-64bit.xml"
     66    xpointer="xpointer(//*[@os='h'])"/>
    6567
    66     <variablelist>
    67       <title>The meaning of the new configure option:</title>
    68 
    69       <varlistentry>
    70         <term><parameter>--libexecdir=/usr/lib64/glibc</parameter></term>
    71         <listitem>
    72           <para>This changes the location of the <command>pt_chown</command>
    73           program from its default of <filename
    74           class="directory">/usr/libexec</filename> to <filename
    75           class="directory">/usr/lib64/glibc</filename>.</para>
    76         </listitem>
    77       </varlistentry>
    78     </variablelist>
     68    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     69    href="../multilib/glibc-64bit.xml"
     70    xpointer="xpointer(//*[@os='i'])"/>
    7971
    8072    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    9486    xpointer="xpointer(//*[@os='m'])"/>
    9587
    96 <!-- items n,o,p here are now the master, not multilib, because
    97  the tests are known to all pass on multilib_64 -->
     88    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     89    href="../multilib/glibc-64bit.xml"
     90    xpointer="xpointer(//*[@os='n'])"/>
    9891
    99 <screen os="n"><userinput>make check</userinput></screen>
     92    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     93    href="../multilib/glibc-64bit.xml"
     94    xpointer="xpointer(//*[@os='o'])"/>
    10095
    101     <para os="o">The Glibc test suite is highly dependent on certain functions of
    102     the host system, in particular the kernel. In general, the Glibc test
    103     suite is always expected to pass. However, in certain circumstances,
    104     some failures are unavoidable. This is a list of the most common
    105     issues:</para>
    106 
    107     <itemizedlist os="p">
    108       <listitem>
    109         <para>The <emphasis>math</emphasis> tests sometimes fail.
    110         Certain optimization settings are known to be a
    111         factor here.</para>
    112       </listitem>
    113       <listitem>
    114         <para>The <emphasis>gettext</emphasis> test sometimes fails due to
    115         host system issues. The exact reasons are not yet clear.</para>
    116       </listitem>
    117       <listitem>
    118         <para>If you have mounted the LFS partition with the
    119         <parameter>noatime</parameter> option, the <emphasis>atime</emphasis> test
    120         will fail. As mentioned in <xref linkend="ch-partitioning-mounting"/>,
    121         do not use the <parameter>noatime</parameter> option while building
    122         LFS.</para>
    123       </listitem>
    124       <listitem>
    125         <para>When running on older and slower hardware, some tests
    126         can fail because of test timeouts being exceeded.</para>
    127       </listitem>
    128     </itemizedlist>
     96    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     97    href="../multilib/glibc-64bit.xml"
     98    xpointer="xpointer(//*[@os='p'])"/>
    12999
    130100    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    146116  xpointer="xpointer(id('conf-glibc'))"/>
    147117
    148   <sect2 id="conf-ld" role="configuration">
    149     <title>Configuring Dynamic Loader</title>
    150 
    151     <indexterm zone="conf-ld">
    152       <primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary>
    153     </indexterm>
    154 
    155     <para>By default, the dynamic loader (<filename
    156     class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
    157     <filename class="directory">/lib</filename> and <filename
    158     class="directory">/usr/lib</filename> for dynamic libraries that are
    159     needed by programs as they are run. However, if there are libraries in
    160     directories other than <filename class="directory">/lib</filename> and
    161     <filename class="directory">/usr/lib</filename>, these need to be
    162     added to the <filename>/etc/ld.so.conf</filename> file in order
    163     for the dynamic loader to find them. Some directories that are commonly
    164     known to contain additional libraries are
    165     <filename class="directory">/usr/local/lib</filename>,
    166     <filename class="directory">/usr/local/lib32</filename>,
    167     <filename class="directory">/usr/local/lib64</filename>,
    168     <filename class="directory">/opt/lib</filename>,
    169     <filename class="directory">/opt/lib32</filename>,
    170     and <filename class="directory">/opt/lib64</filename>,
    171     so add those directories to the dynamic loader's search path.</para>
    172 
    173     <para>Create a new file <filename>/etc/ld.so.conf</filename> by running the
    174     following:</para>
    175 
    176 <screen><userinput>cat &gt; /etc/ld.so.conf &lt;&lt; "EOF"
    177 <literal># Begin /etc/ld.so.conf
    178 
    179 /usr/local/lib
    180 /usr/local/lib32
    181 /usr/local/lib64
    182 /opt/lib
    183 /opt/lib32
    184 /opt/lib64
    185 
    186 # End /etc/ld.so.conf</literal>
    187 EOF</userinput></screen>
    188 
    189   </sect2>
     118  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     119  href="../multilib/glibc-64bit.xml"
     120  xpointer="xpointer(id('conf-ld'))"/>
    190121
    191122  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • TabularUnified final-system/sparc64/glibc.xml

    r597e850 rc48c555  
    5959    xpointer="xpointer(//*[@os='g'])"/>
    6060
    61 <screen><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
    62     ../glibc-&glibc-version;/configure --prefix=/usr \
    63     --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
    64     --libexecdir=/usr/lib/glibc --host=${LFS_TARGET32}</userinput></screen>
     61    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     62    href="../multilib/glibc.xml"
     63    xpointer="xpointer(//*[@os='h'])"/>
    6564
    6665    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    67     href="../common/glibc.xml"
     66    href="../multilib/glibc.xml"
    6867    xpointer="xpointer(//*[@os='i'])"/>
    6968
Note: See TracChangeset for help on using the changeset viewer.