aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/binutils-pass2.xml
Commit message (Collapse)AuthorAgeFilesLines
* Edit English idiom. punctuation, etc., throughout chapter 6.David Bryant2022-11-031-5/+5
|
* Remove libtool archive (.la) files in Chapter 5 and 6Xi Ruoyao2022-08-191-0/+5
| | | | | | | | | | | | | | They are really harmful. In Binutils pass 2, libstdc++.la caused the building system to use host /usr/lib/libstdc++.so for gprofng. We now has disabled gprofng for pass 2, but the similar issue also exists in GCC pass 2. In a normal LFS build, the building system silently uses /usr/lib/libstdc++.so (I guess it does not blow up simply because some blind luck); in a real cross build (x86 -> ARM for example) the build will fail. Remove the .la files to fix this issue. Instead of only modifying clfs-ng, it makes more sense to apply the change for trunk: though the build does not fail, using host library is still a contamination.
* Package updates.Bruce Dubbs2022-08-061-0/+1
| | | | | | | Update to binutils-2.38. Update to util-linux-2.38.1. Update to Python3-3.10.6. Update to glibc-2.36.
* binutils-pass2: workaround "binaries link to host libraries" issueXi Ruoyao2022-02-101-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | A very old libtool copy (2009-11-29) is shipped in binutils tarball. It does not support sysroot, so the cross-built binutils binaries may link to libraries from the host distro, if certain libraries are available. The ideal solution should be updating libtool, as libtool-2.4.6 (in LFS) has sysroot support. However, updating libtool for binutils is not trivial: it would require to rerun autoconf and binutils building system sticks to autoconf-2.69. Another issue is the sysroot support for libtool has introduced a configure option "--with-sysroot", which conflicts with an already existing option with the same name in GCC and binutils building system (we are using the GCC/binutils version of --with-sysroot in chapter 5). GCC building system has --with-build-sysroot (we are using this for GCC pass 2) for this issue. Binutils copied GCC building system, but it does not respect --with-build-sysroot. So for now we just edit libtool code to prevent "-L/usr/lib" in $LFS_TGT_gcc command line. It should fix the issue about host libiberty (reported in #lfs-support) as well, but it still need to be confirmed by someone having such a host. Tested with a jhalfs run on LFS.
* Revert "binutils: use -j1 for make install"Xi Ruoyao2022-02-041-1/+1
| | | | | | | This reverts commit 03a41fd0cd6635843d313c02150692a05d6b8bd2. It's no longer needed after binutils-gdb commit "install dependencies for ld -> bfd and libctf -> bfd" (755ba58e).
* binutils: use -j1 for make installXi Ruoyao2021-03-171-1/+1
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12166 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* ch06/binutils: remove duplicated commandXi Ruoyao2021-02-031-9/+4
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12113 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Really apply various fixes for building with glibc-2.33,Pierre Labastie2021-02-021-1/+2
| | | | | | | and change the order in chapter 8 so that everything is built against chapter 8 glibc. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12112 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* remove ch6 zlib, and workaround binutils issueXi Ruoyao2021-02-021-0/+8
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12108 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Add explanations for new configure switches in binutils pass 2Pierre Labastie2020-06-151-5/+12
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11944 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* add --enable-64-bit-bfd to binutils pass 2 to prevent an abi mismatch whenPierre Labastie2020-06-151-1/+2
| | | | | | reintalling binutils in chpater 8 git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11943 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Rename package entities to be independent of chapter numberingThomas Trepl2020-06-111-2/+2
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11921 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Initial commit of alternative cross LFSBruce Dubbs2020-06-071-0/+94
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11897 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689