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.

File:
1 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'])"/>
Note: See TracChangeset for help on using the changeset viewer.