Changeset 318ac4f for BOOK/final-system


Ignore:
Timestamp:
Aug 3, 2006, 2:09:45 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:
a309e85
Parents:
ec626ab
Message:

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

File:
1 edited

Legend:

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

    rec626ab r318ac4f  
    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.