Changeset d3a0268 for BOOK


Ignore:
Timestamp:
Jul 29, 2006, 3:47:06 PM (18 years ago)
Author:
Ken Moffat <zarniwhoop@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
06f2dec
Parents:
7615f86
Message:

Finish the fix for libtool-32 test failure, and move the detail back into multilib/libtool.xml because multilib referencing an item in ppc64 and ppc64 referencing a different item in multilib causes recursion which prevents it rendering.

Location:
BOOK
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/multilib/libtool-n32.xml

    r7615f86 rd3a0268  
    3131
    3232    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    33     href="libtool.xml"
     33    href="../common/libtool.xml"
    3434    xpointer="xpointer(//*[@os='c'])"/>
    3535
    3636    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    37     href="libtool.xml"
     37    href="../common/libtool.xml"
    3838    xpointer="xpointer(//*[@os='d'])"/>
    3939
    40     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    41     href="libtool.xml"
    42     xpointer="xpointer(//*[@os='e'])"/>
     40    <para os="e">To test the results, identify the correct emulation, then issue:
     41    <userinput>make LDEMULATION=[emulation] check</userinput>. The correct
     42    emulation will be elf32btsmipn32 for a big-endian machine and elf32ltsmipn32
     43    for a little-endian machine.</para>
    4344
    4445    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/multilib/libtool.xml

    r7615f86 rd3a0268  
    1010
    1111  <title>Libtool-&libtool-version; 32 Bit Libraries</title>
     12
     13<!-- with the introduction of an LDEMULATION  on make check, to fix a test
     14 failure which has appeared for unknown reasons, this text is now specific
     15 to mips -o32. -->
    1216
    1317  <indexterm zone="ch-system-libtool-32">
     
    3741    xpointer="xpointer(//*[@os='d'])"/>
    3842
    39     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    40     href="../common/libtool.xml"
    41     xpointer="xpointer(//*[@os='e'])"/>
     43    <para os="e">To test the results, first identify whether you are on a big- or
     44    little-endian machine.  SGI machines are usually big-endian, Cobalt are
     45    usually little-endian.  If in doubt you can <command>echo ${MACHTYPE} | grep 'el-'
     46    </command>- this will match a little-endian machine.</para>
     47
     48    <para os="e2">To test on a little-endian machine issue:
     49    <userinput>make LDEMULATION=elf32ltsmip check</userinput>.</para>
     50
     51    <para os="e1">To test on a big-endian machine issue:
     52    <userinput>make LDEMULATION=elf32btsmip check</userinput>.</para>
     53
     54    <variablelist os="c">
     55      <title>The meaning of the override on make check:</title>
     56
     57      <varlistentry>
     58        <term><parameter>LDEMULATION=[emulation]</parameter></term>
     59        <!-- <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     60        href="../ppc64/libtool.xml"
     61        xpointer="xpointer(//*[@os='c2'])"/> -->
     62        <listitem os="c2">
     63          <para>Libtool tends to do the wrong thing when building for multilib,
     64          at least on the non-default size(s) of architecture.  These causes of
     65          these errors are not well understood and they can appear, or disappear,
     66          as a result of apparently innocuous other changes in the build.  In
     67          this version of the book, one of the tests (pdemo-make) fails to link
     68          because it tries to link the 32-bit objects against 64-bit system
     69          libraries. This option enables the test to succeed without impacting
     70          the other tests (compare the common alternative fixes of
     71          <literal>LD="gcc ${BUILD32}"</literal> which causes far fewer tests
     72          to be executed, and configuring with
     73          <literal>LDFLAGS='-L/lib -L/usr/lib'</literal> which in this case
     74          causes other tests to fail.)</para>
     75        </listitem>
     76      </varlistentry>
     77
     78    </variablelist>
    4279
    4380    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/ppc64/libtool.xml

    r7615f86 rd3a0268  
    4747      <varlistentry>
    4848        <term><parameter>LDEMULATION=elf32ppc</parameter></term>
    49         <listitem os="c2">
    50           <para>Libtool tends to do the wrong thing when building for multilib,
    51           at least on the non-default size(s) of architecture.  These causes of
    52           these errors are not well understood and they can appear, or disappear,
    53           as a result of apparently innocuous other changes in the build.  In
    54           this version of the book, one of the tests (pdemo-make) fails to link
    55           because it tries to link the 32-bit objects against 64-bit system
    56           libraries. This option enables the test to succeed without impacting
    57           the other tests (compare the common alternative fixes of
    58           <literal>LD="gcc ${BUILD32}"</literal> which causes far fewer tests
    59           to be executed, and configuring with
    60           <literal>LDFLAGS='-L/lib -L/usr/lib'</literal> which in this case
    61           causes other tests to fail.)</para>
    62         </listitem>
     49        <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     50        href="../multilib/libtool.xml"
     51        xpointer="xpointer(//*[@os='c2'])"/>
    6352      </varlistentry>
    6453
  • BOOK/final-system/sparc64/libtool.xml

    r7615f86 rd3a0268  
    4848        <term><parameter>LDEMULATION=elf32_sparc</parameter></term>
    4949        <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    50         href="../ppc64/libtool.xml"
     50        href="../multilib/libtool.xml"
    5151        xpointer="xpointer(//*[@os='c2'])"/>
    5252      </varlistentry>
  • BOOK/final-system/x86_64/libtool.xml

    r7615f86 rd3a0268  
    4848        <term><parameter>LDEMULATION=elf_i386</parameter></term>
    4949        <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    50         href="../ppc64/libtool.xml"
     50        href="../multilib/libtool.xml"
    5151        xpointer="xpointer(//*[@os='c2'])"/>
    5252      </varlistentry>
  • BOOK/introduction/mips64/changelog.xml

    r7615f86 rd3a0268  
    3535
    3636    <listitem>
     37      <para>July 29, 2006</para>
     38      <itemizedlist>
     39        <listitem>
     40          <para>[ken] - Apply the fix for libtool 32-bit test failures to the
     41          -o32 and -n32 arches. Thanks to Jeremy and Joe for explaining about
     42          these and identifying the available emulations.</para>
     43        </listitem>
     44      </itemizedlist>
     45    </listitem>
     46
     47    <listitem>
    3748      <para>July 24, 2006</para>
    3849      <itemizedlist>
Note: See TracChangeset for help on using the changeset viewer.