Author: jim
Date: 2006-08-03 17:46:38 -0600 (Thu, 03 Aug 2006)
New Revision: 2169

Modified:
   /
   trunk/BOOK/final-system/x86_64-64/gettext.xml
   trunk/BOOK/introduction/x86_64-64/changelog.xml
   trunk/BOOK/introduction/x86_64/changelog.xml
Log:
 [EMAIL PROTECTED] (orig r2294):  ken | 2006-08-03 14:09:45 -0700
 Fix the gettext -fPIC testsuite problem, now that the original fix no longer 
works.



Property changes on: 
___________________________________________________________________
Name: svk:merge
   - b6734a72-470d-0410-b049-f317dca95413:/:2293
   + b6734a72-470d-0410-b049-f317dca95413:/:2294

Modified: trunk/BOOK/final-system/x86_64-64/gettext.xml
===================================================================
--- trunk/BOOK/final-system/x86_64-64/gettext.xml       2006-08-03 16:01:15 UTC 
(rev 2168)
+++ trunk/BOOK/final-system/x86_64-64/gettext.xml       2006-08-03 23:46:38 UTC 
(rev 2169)
@@ -21,16 +21,18 @@
   <sect2 role="installation">
     <title>Installation of Gettext</title>
 
-    <para os="x1">Gettext includes its own version of Libtool which is broken
-    for x86_64 (it tries to link statically linked archives compiled without
-    -fPIC against shared objects) see (<ulink
-    
url="http://lists.gnu.org/archive/html/bug-libtool/2005-03/msg00070.html"/>).
-    Use the following <command>sed</command> to skip certain tests so that
-    the main language tests can be run.</para>
+    <para os="x1">Gettext fails to pass <literal>-fPIC</literal> to the 
testsuite
+    for its internal libtool. On x86_64 it is not possible to link statically
+    linked archives compiled without -fPIC against shared objects and the suite
+    stops without running the main body of the tests.  Use the following
+    <command>sed</command> to add this into the 
<literal>TESTS_ENVIRONMENT</literal>
+    parameters:</para>
 
-<screen os="x2"><userinput>sed -i -e '2iexit 77' 
autoconf-lib-link/tests/rpath-3*[ef]</userinput></screen>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude";
+<screen os="x2"><userinput>sed -i \
+    "s/CC='@CC@' CFLAGS='@CFLAGS@'/CC='@CC@' CFLAGS='@CFLAGS@ -fPIC'/" \
+    autoconf-lib-link/tests/Makefile.in</userinput></screen>
+ 
+   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude";
     href="../common/gettext.xml"
     xpointer="xpointer(//[EMAIL PROTECTED]'a'])"/>
 

Modified: trunk/BOOK/introduction/x86_64/changelog.xml
===================================================================
--- trunk/BOOK/introduction/x86_64/changelog.xml        2006-08-03 16:01:15 UTC 
(rev 2168)
+++ trunk/BOOK/introduction/x86_64/changelog.xml        2006-08-03 23:46:38 UTC 
(rev 2169)
@@ -34,6 +34,17 @@
 -->
 
     <listitem>
+      <para>August 3, 2006</para>
+      <itemizedlist>
+        <listitem>
+          <para>[ken] - Fix the testsuite sed for 64-bit gettext. This fixes
+         ticket #80, thanks to Jonathan Davis for the initial report and Go 
Moko
+         for the initial analysis.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>July 24, 2006</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/introduction/x86_64-64/changelog.xml
===================================================================
--- trunk/BOOK/introduction/x86_64-64/changelog.xml     2006-08-03 16:01:15 UTC 
(rev 2168)
+++ trunk/BOOK/introduction/x86_64-64/changelog.xml     2006-08-03 23:46:38 UTC 
(rev 2169)
@@ -33,6 +33,17 @@
 
 -->
     <listitem>
+      <para>August 3, 2006</para>
+      <itemizedlist>
+        <listitem>
+          <para>[ken] - Fix the testsuite sed for gettext. This fixes
+         ticket #80, thanks to Jonathan Davis for the initial report and Go 
Moko
+         for the initial analysis.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>March 12, 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