Changeset 8d8b6cd


Ignore:
Timestamp:
Aug 3, 2006, 2:09:45 PM (18 years ago)
Author:
Ken Moffat <zarniwhoop@…>
Children:
cff49eb
Parents:
924eff6
Message:

Fix the gettext -fPIC testsuite problem, now that the original fix no longer works.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • final-system/x86_64-64/gettext.xml

    r924eff6 r8d8b6cd  
    2222    <title>Installation of Gettext</title>
    2323
    24     <para os="x1">Gettext includes its own version of Libtool which is broken
    25     for x86_64 (it tries to link statically linked archives compiled without
    26     -fPIC against shared objects) see (<ulink
    27     url="http://lists.gnu.org/archive/html/bug-libtool/2005-03/msg00070.html"/>).
    28     Use the following <command>sed</command> to skip certain tests so that
    29     the main language tests can be run.</para>
     24    <para os="x1">Gettext fails to pass <literal>-fPIC</literal> to the testsuite
     25    for its internal libtool. On x86_64 it is not possible to link statically
     26    linked archives compiled without -fPIC against shared objects and the suite
     27    stops without running the main body of the tests.  Use the following
     28    <command>sed</command> to add this into the <literal>TESTS_ENVIRONMENT</literal>
     29    parameters:</para>
    3030
    31 <screen os="x2"><userinput>sed -i -e '2iexit 77' autoconf-lib-link/tests/rpath-3*[ef]</userinput></screen>
    32 
    33     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     31<screen os="x2"><userinput>sed -i \
     32    "s/CC='@CC@' CFLAGS='@CFLAGS@'/CC='@CC@' CFLAGS='@CFLAGS@ -fPIC'/" \
     33    autoconf-lib-link/tests/Makefile.in</userinput></screen>
     34 
     35   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    3436    href="../common/gettext.xml"
    3537    xpointer="xpointer(//*[@os='a'])"/>
  • introduction/x86_64-64/changelog.xml

    r924eff6 r8d8b6cd  
    3333
    3434-->
     35    <listitem>
     36      <para>August 3, 2006</para>
     37      <itemizedlist>
     38        <listitem>
     39          <para>[ken] - Fix the testsuite sed for gettext. This fixes
     40          ticket #80, thanks to Jonathan Davis for the initial report and Go Moko
     41          for the initial analysis.</para>
     42        </listitem>
     43      </itemizedlist>
     44    </listitem>
     45
    3546    <listitem>
    3647      <para>March 12, 2006</para>
  • introduction/x86_64/changelog.xml

    r924eff6 r8d8b6cd  
    3333
    3434-->
     35
     36    <listitem>
     37      <para>August 3, 2006</para>
     38      <itemizedlist>
     39        <listitem>
     40          <para>[ken] - Fix the testsuite sed for 64-bit gettext. This fixes
     41          ticket #80, thanks to Jonathan Davis for the initial report and Go Moko
     42          for the initial analysis.</para>
     43        </listitem>
     44      </itemizedlist>
     45    </listitem>
    3546
    3647    <listitem>
Note: See TracChangeset for help on using the changeset viewer.