Ignore:
Timestamp:
02/11/2022 04:45:10 AM (2 years ago)
Author:
Thomas Trepl (Moody) <thomas@…>
Branches:
multilib
Children:
4513d8e
Parents:
64cae89 (diff), db3c501 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Automatic merge of trunk into multilib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/binutils-pass2.xml

    r64cae89 rbf8012e  
    4343  <sect2 role="installation">
    4444    <title>Installation of Binutils</title>
     45
     46    <!-- Don't remove this until Binutils upstream updates the libtool
     47         copy.  On some host distros the issue doesn't show up.  -->
     48    <para>Binutils ships an outdated libtool copy in the tarball.  It lacks
     49    sysroot support so the produced binaries will be mistakenly linked to
     50    libraries from the host distro.  Workaround this issue:</para>
     51
     52<screen><userinput remap="pre">sed '6009s/$add_dir//' -i ltmain.sh</userinput></screen>
    4553
    4654    <para>Create a separate build directory again:</para>
     
    102110<screen><userinput remap="make">make</userinput></screen>
    103111
    104     <para>Install the package, and
    105     workaround an issue causing
    106     <filename class="libraryfile">libctf.so</filename>
    107     to link against zlib from the host distribution:</para>
     112    <para>Install the package:</para>
    108113
    109 <screen><userinput remap="install">make DESTDIR=$LFS install
    110 install -vm755 libctf/.libs/libctf.so.0.0.0 $LFS/usr/lib</userinput></screen>
     114<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
    111115
    112116  </sect2>
Note: See TracChangeset for help on using the changeset viewer.