Changeset 9f9a9b4
- Timestamp:
- 09/08/2023 01:49:06 PM (13 months ago)
- Branches:
- 12.1, 12.1-rc1, 12.2, 12.2-rc1, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/update-glibc
- Children:
- c7df34cb
- Parents:
- aa5fa04
- git-author:
- Xi Ruoyao <xry111@…> (09/08/2023 01:45:15 PM)
- git-committer:
- Xi Ruoyao <xry111@…> (09/08/2023 01:49:06 PM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/binutils-pass2.xml
raa5fa04 r9f9a9b4 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 copy of libtool in the tarball. It lacks 49 sysroot support, so the produced binaries will be mistakenly linked to 50 libraries from the host distro. Work around this issue:</para> 46 <!-- Don't remove this until Binutils upstream resolves this issue. 47 We can test by building Binutils on a complete system with 48 zlib (libz.so) installed, passing enable-shared and 49 without-system-zlib. If the resulted libctf.so still links against 50 libz.so (check with readelf -d) despite we are saying 51 without-system-zlib, then the issue is still unresolved. --> 52 <para>Binutils relies on an internal libtool copy to link against 53 internal static libraries, but the libiberty and zlib copies shipped 54 in the package do not use libtool. This inconsistency may cause 55 produced binaries mistakenly linked against libraries from the host 56 distro. Work around this issue:</para> 51 57 52 58 <screen><userinput remap="pre">sed '6009s/$add_dir//' -i ltmain.sh</userinput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.