Author: ken
Date: 2006-07-23 17:26:11 -0600 (Sun, 23 Jul 2006)
New Revision: 2140

Added:
   trunk/BOOK/final-system/ppc64/libtool.xml
Modified:
   trunk/BOOK/final-system/ppc64-chapter.xml
   trunk/BOOK/introduction/ppc64/changelog.xml
Log:
Fix 32-bit libtool tests on ppc64.

Added: trunk/BOOK/final-system/ppc64/libtool.xml
===================================================================
--- trunk/BOOK/final-system/ppc64/libtool.xml                           (rev 0)
+++ trunk/BOOK/final-system/ppc64/libtool.xml   2006-07-23 23:26:11 UTC (rev 
2140)
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"; [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-system-libtool-32" role="wrap">
+  <?dbhtml filename="libtool.html"?>
+
+  <title>Libtool-&libtool-version; 32 Bit Libraries</title>
+
+  <indexterm zone="ch-system-libtool-32">
+    <primary sortas="a-Libtool">Libtool</primary>
+    <secondary>32 Bit</secondary>
+  </indexterm>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude";
+  href="../common/libtool.xml"
+  xpointer="xpointer(//[EMAIL PROTECTED]'package'])"/>
+
+  <sect2 role="installation">
+    <title>Installation of Libtool</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude";
+    href="../common/libtool.xml"
+    xpointer="xpointer(//[EMAIL PROTECTED]'a'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude";
+    href="../multilib/libtool.xml"
+    xpointer="xpointer(//[EMAIL PROTECTED]'b'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude";
+    href="../common/libtool.xml"
+    xpointer="xpointer(//[EMAIL PROTECTED]'c'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude";
+    href="../common/libtool.xml"
+    xpointer="xpointer(//[EMAIL PROTECTED]'d'])"/>
+
+    <para os="e">To test the results, issue:
+    <userinput>make LDEMULATION=elf32ppc check</userinput>.</para>
+
+    <variablelist os="c">
+      <title>The meaning of the override on make check:</title>
+
+      <varlistentry>
+        <term><parameter>LDEMULATION=elf32ppc</parameter></term>
+        <listitem os="c2">
+          <para>Libtool tends to do the wrong thing when building for multilib,
+         at least on the non-default size(s) of architecture.  These causes of
+         these errors are not well understood and they can appear, or 
disappear,
+         as a result of apparently innocuous other changes in the build.  In
+         this version of the book, one of the tests (pdemo-make) fails to link
+         because it tries to link the 32-bit objects against 64-bit system
+         libraries. This option enables the test to succeed without impacting
+         the other tests (compare the common alternative fixes of
+         <literal>LD="gcc ${BUILD32}"</literal> which causes far fewer tests
+         to be executed, and configuring with
+         <literal>LDFLAGS='-L/lib -L/usr/lib'</literal> which in this case
+         causes other tests to fail.)</para>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude";
+    href="../common/libtool.xml"
+    xpointer="xpointer(//[EMAIL PROTECTED]'f'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude";
+    href="../common/libtool.xml"
+    xpointer="xpointer(//[EMAIL PROTECTED]'g'])"/>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title/>
+
+    <para>Details on this package are located in <xref
+    linkend="contents-libtool" role="."/></para>
+
+  </sect2>
+
+</sect1>

Modified: trunk/BOOK/final-system/ppc64-chapter.xml
===================================================================
--- trunk/BOOK/final-system/ppc64-chapter.xml   2006-07-23 19:48:49 UTC (rev 
2139)
+++ trunk/BOOK/final-system/ppc64-chapter.xml   2006-07-23 23:26:11 UTC (rev 
2140)
@@ -30,7 +30,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; 
href="multilib/procps.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; 
href="multilib/procps-64bit.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; 
href="multilib/sed.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; 
href="multilib/libtool.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; 
href="ppc64/libtool.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; 
href="multilib/libtool-64bit.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; 
href="multilib/perl-64bit.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; 
href="multilib/readline.xml"/>

Modified: trunk/BOOK/introduction/ppc64/changelog.xml
===================================================================
--- trunk/BOOK/introduction/ppc64/changelog.xml 2006-07-23 19:48:49 UTC (rev 
2139)
+++ trunk/BOOK/introduction/ppc64/changelog.xml 2006-07-23 23:26:11 UTC (rev 
2140)
@@ -34,6 +34,15 @@
 -->
 
     <listitem>
+      <para>July 23, 2006</para>
+      <itemizedlist>
+        <listitem>
+          <para>[ken] - Fix the 32-bit libtool testsuite.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>July 22, 2006</para>
       <itemizedlist>
         <listitem>

-- 
http://linuxfromscratch.org/mailman/listinfo/cross-lfs
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to