Ignore:
File:
1 edited

Legend:

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

    r00a58649 rdabbced  
    2727    risk.</para>
    2828
    29     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    30     href="../../final-system/common/eglibc.xml"
    31     xpointer="xpointer(//*[@os='s1'])"/>
     29    <para os="db">Disable linking to <filename>libgcc_eh</filename>:</para>
    3230
    33     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    34     href="../../final-system/common/eglibc.xml"
    35     xpointer="xpointer(//*[@os='s2'])"/>
     31<screen os="dc"><userinput>cp -v Makeconfig{,.orig}
     32sed -e 's/-lgcc_eh//g' Makeconfig.orig > Makeconfig</userinput></screen>
    3633
    3734    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    4340    xpointer="xpointer(//*[@os='f'])"/>
    4441
    45     <para os="dd">Add the following to <filename>config.cache</filename>
    46     to disable ssp when building EGLIBC:</para>
     42    <para os="dd">The following lines need to be added to
     43    <filename>config.cache</filename> for EGLIBC to support NPTL:</para>
    4744
    48 <screen os="de"><userinput>echo "libc_cv_ssp=no" &gt; config.cache</userinput></screen>
     45<screen os="de"><userinput>cat &gt; config.cache &lt;&lt; "EOF"
     46libc_cv_forced_unwind=yes
     47libc_cv_c_cleanup=yes
     48libc_cv_gnu89_inline=yes
     49libc_cv_ssp=no
     50EOF</userinput></screen>
    4951
    5052    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    5658    ../eglibc-&eglibc-version;/configure --prefix=/tools \
    5759    --host=${CLFS_TARGET} --build=${CLFS_HOST} \
    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 \
     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 \
    6163    --cache-file=config.cache</userinput></screen>
    6264
     
    105107
    106108      <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">
    107117        <term><parameter>--with-tls</parameter></term>
    108118        <listitem>
     
    111121      </varlistentry>
    112122
    113       <varlistentry os="dg7">
    114         <term><parameter>--enable-kernel=2.6.32</parameter></term>
     123      <varlistentry os="dg8">
     124        <term><parameter>--enable-kernel=2.6.0</parameter></term>
    115125        <listitem>
    116126          <para>This tells EGLIBC to compile the library with support
    117           for 2.6.32 and later Linux kernels.</para>
     127          for 2.6.x Linux kernels.</para>
    118128        </listitem>
    119129      </varlistentry>
    120130
    121       <varlistentry os="dg8">
     131      <varlistentry os="dg9">
    122132        <term><parameter>--with-__thread</parameter></term>
    123133        <listitem>
     
    127137      </varlistentry>
    128138
    129       <varlistentry os="dg9">
     139      <varlistentry os="dg10">
    130140        <term><parameter>--with-binutils=/cross-tools/bin</parameter></term>
    131141        <listitem>
     
    135145      </varlistentry>
    136146
    137       <varlistentry os="dg10">
     147      <varlistentry os="dg11">
    138148        <term><parameter>--with-headers=/tools/include</parameter></term>
    139149        <listitem>
     
    145155      </varlistentry>
    146156
    147       <varlistentry os="dg11">
     157      <varlistentry os="dg12">
    148158        <term><parameter>--cache-file=config.cache</parameter></term>
    149159        <listitem>
Note: See TracChangeset for help on using the changeset viewer.