Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/common/eglibc.xml

    rdabbced r00a58649  
    2727    risk.</para>
    2828
    29     <para os="db">Disable linking to <filename>libgcc_eh</filename>:</para>
     29    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     30    href="../../final-system/common/eglibc.xml"
     31    xpointer="xpointer(//*[@os='s1'])"/>
    3032
    31 <screen os="dc"><userinput>cp -v Makeconfig{,.orig}
    32 sed -e 's/-lgcc_eh//g' Makeconfig.orig > Makeconfig</userinput></screen>
     33    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     34    href="../../final-system/common/eglibc.xml"
     35    xpointer="xpointer(//*[@os='s2'])"/>
    3336
    3437    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    4043    xpointer="xpointer(//*[@os='f'])"/>
    4144
    42     <para os="dd">The following lines need to be added to
    43     <filename>config.cache</filename> for EGLIBC to support NPTL:</para>
     45    <para os="dd">Add the following to <filename>config.cache</filename>
     46    to disable ssp when building EGLIBC:</para>
    4447
    45 <screen os="de"><userinput>cat &gt; config.cache &lt;&lt; "EOF"
    46 libc_cv_forced_unwind=yes
    47 libc_cv_c_cleanup=yes
    48 libc_cv_gnu89_inline=yes
    49 libc_cv_ssp=no
    50 EOF</userinput></screen>
     48<screen os="de"><userinput>echo "libc_cv_ssp=no" &gt; config.cache</userinput></screen>
    5149
    5250    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    5856    ../eglibc-&eglibc-version;/configure --prefix=/tools \
    5957    --host=${CLFS_TARGET} --build=${CLFS_HOST} \
    60     --disable-profile --enable-add-ons \
    61     --with-tls --enable-kernel=2.6.0 --with-__thread \
    62     --with-binutils=/cross-tools/bin --with-headers=/tools/include \
     58    --disable-profile --with-tls --enable-kernel=2.6.32 \
     59    --with-__thread --with-binutils=/cross-tools/bin \
     60    --with-headers=/tools/include --enable-obsolete-rpc \
    6361    --cache-file=config.cache</userinput></screen>
    6462
     
    107105
    108106      <varlistentry os="dg6">
    109         <term><parameter>--enable-add-ons</parameter></term>
    110         <listitem>
    111           <para>This tells EGLIBC to utilize all add-ons that are
    112           available.</para>
    113         </listitem>
    114       </varlistentry>
    115 
    116       <varlistentry os="dg7">
    117107        <term><parameter>--with-tls</parameter></term>
    118108        <listitem>
     
    121111      </varlistentry>
    122112
    123       <varlistentry os="dg8">
    124         <term><parameter>--enable-kernel=2.6.0</parameter></term>
     113      <varlistentry os="dg7">
     114        <term><parameter>--enable-kernel=2.6.32</parameter></term>
    125115        <listitem>
    126116          <para>This tells EGLIBC to compile the library with support
    127           for 2.6.x Linux kernels.</para>
     117          for 2.6.32 and later Linux kernels.</para>
    128118        </listitem>
    129119      </varlistentry>
    130120
    131       <varlistentry os="dg9">
     121      <varlistentry os="dg8">
    132122        <term><parameter>--with-__thread</parameter></term>
    133123        <listitem>
     
    137127      </varlistentry>
    138128
    139       <varlistentry os="dg10">
     129      <varlistentry os="dg9">
    140130        <term><parameter>--with-binutils=/cross-tools/bin</parameter></term>
    141131        <listitem>
     
    145135      </varlistentry>
    146136
    147       <varlistentry os="dg11">
     137      <varlistentry os="dg10">
    148138        <term><parameter>--with-headers=/tools/include</parameter></term>
    149139        <listitem>
     
    155145      </varlistentry>
    156146
    157       <varlistentry os="dg12">
     147      <varlistentry os="dg11">
    158148        <term><parameter>--cache-file=config.cache</parameter></term>
    159149        <listitem>
Note: See TracChangeset for help on using the changeset viewer.