- Timestamp:
- 09/15/2023 10:54:55 AM (13 months ago)
- Branches:
- xry111/clfs-ng
- Children:
- 7546d8b
- Parents:
- d58da4b (diff), ba40e32 (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. - Location:
- chapter06
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/binutils-pass2.xml
rd58da4b r2df066c9 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 building system relies on an shipped 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> … … 102 108 cross compilation, and remove unnecessary static libraries:</para> 103 109 104 <screen><userinput remap="install">rm -v $LFS/usr/lib/lib{bfd,ctf,ctf-nobfd,opcodes }.{a,la}</userinput></screen>110 <screen><userinput remap="install">rm -v $LFS/usr/lib/lib{bfd,ctf,ctf-nobfd,opcodes,sframe}.{a,la}</userinput></screen> 105 111 106 112 </sect2> -
chapter06/coreutils.xml
rd58da4b r2df066c9 44 44 <title>Installation of Coreutils</title> 45 45 46 <!--47 <screen><userinput remap="configure">export gl_cv_macro_MB_CUR_MAX_good=y</userinput></screen>48 -->49 46 <para>Prepare Coreutils for compilation:</para> 50 47 … … 53 50 --build=$(build-aux/config.guess) \ 54 51 --enable-install-program=hostname \ 55 --enable-no-install-program=kill,uptime \ 56 gl_cv_macro_MB_CUR_MAX_good=y</userinput></screen> 52 --enable-no-install-program=kill,uptime</userinput></screen> 57 53 58 54 <variablelist> -
chapter06/diffutils.xml
rd58da4b r2df066c9 46 46 <para>Prepare Diffutils for compilation:</para> 47 47 48 <screen><userinput remap="configure">./configure --prefix=/usr --host=$LFS_TGT</userinput></screen> 48 <screen><userinput remap="configure">./configure --prefix=/usr \ 49 --host=$LFS_TGT \ 50 --build=$(./build-aux/config.guess)</userinput></screen> 49 51 50 52 <para>Compile the package:</para> -
chapter06/grep.xml
rd58da4b r2df066c9 46 46 <para>Prepare Grep for compilation:</para> 47 47 48 <screen><userinput remap="configure">./configure --prefix=/usr \ 49 --host=$LFS_TGT</userinput></screen> 48 <screen><userinput remap="configure">./configure --prefix=/usr \ 49 --host=$LFS_TGT \ 50 --build=$(./build-aux/config.guess)</userinput></screen> 50 51 51 52 <para>Compile the package:</para> -
chapter06/sed.xml
rd58da4b r2df066c9 46 46 <para>Prepare Sed for compilation:</para> 47 47 48 <screen><userinput remap="configure">./configure --prefix=/usr \ 49 --host=$LFS_TGT</userinput></screen> 48 <screen><userinput remap="configure">./configure --prefix=/usr \ 49 --host=$LFS_TGT \ 50 --build=$(./build-aux/config.guess)</userinput></screen> 50 51 51 52 <para>Compile the package:</para>
Note:
See TracChangeset
for help on using the changeset viewer.