Changeset 426913e for chapter06/binutils-pass2.xml
- Timestamp:
- 02/10/2022 01:05:33 PM (2 years ago)
- Branches:
- 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- db3c501
- Parents:
- b35ab48b
- git-author:
- Xi Ruoyao <xry111@…> (02/10/2022 12:13:21 PM)
- git-committer:
- Xi Ruoyao <xry111@…> (02/10/2022 01:05:33 PM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/binutils-pass2.xml
rb35ab48b r426913e 44 44 <title>Installation of Binutils</title> 45 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> 53 46 54 <para>Create a separate build directory again:</para> 47 55 … … 86 94 <screen><userinput remap="make">make</userinput></screen> 87 95 88 <para>Install the package, and 89 workaround an issue causing 90 <filename class="libraryfile">libctf.so</filename> 91 to link against zlib from the host distribution:</para> 96 <para>Install the package:</para> 92 97 93 <screen><userinput remap="install">make DESTDIR=$LFS install 94 install -vm755 libctf/.libs/libctf.so.0.0.0 $LFS/usr/lib</userinput></screen> 98 <screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen> 95 99 96 100 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.