Commit Graph

3089 Commits

Author SHA1 Message Date
Thomas Trepl (Moody)
bf8012e6d5 Automatic merge of trunk into multilib 2022-02-11 05:45:10 +01:00
Xi Ruoyao
426913ea08
binutils-pass2: workaround "binaries link to host libraries" issue
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.
2022-02-10 21:05:33 +08:00
Thomas Trepl (Moody)
64cae89ff8 Automatic merge of trunk into multilib 2022-02-10 05:45:10 +01:00
Bruce Dubbs
9c4ff70edf Package updates.
Update to bc-5.2.2.
Update to linux-5.16.8.
Update to binutils-2.38. Requires adding zlib to Chapter 6.
2022-02-09 20:54:15 -06:00
Thomas Trepl (Moody)
3e09569e0d Automatic merge of trunk into multilib 2022-02-05 05:45:10 +01:00
Xi Ruoyao
bca4876ac5
Revert "binutils: use -j1 for make install"
This reverts commit 03a41fd0cd.

It's no longer needed after binutils-gdb commit "install dependencies for
ld -> bfd and libctf -> bfd" (755ba58e).
2022-02-04 17:55:05 +08:00
Thomas Trepl (Moody)
c4595c3bd1 Fix usage of ISL in gcc 2022-01-20 23:31:05 +01:00
Thomas Trepl (Moody)
af974a9c05 Do not force to create pc files in ch6 for mx32/m32 2022-01-08 18:18:24 +01:00
Thomas Trepl (Moody)
dbcb9f4049 Automatic merge of trunk into multilib 2021-12-18 05:45:09 +01:00
Xi Ruoyao
e0f124e741
chapter 6 ncurses: disable stripping (invoking host strip) 2021-12-18 01:32:45 +08:00
Thomas Trepl (Moody)
4a74a6fd42 Automatic merge of trunk into multilib 2021-11-03 05:45:09 +01:00
Pierre Labastie
747287d8ad gawk, chap 6: now config.guess is in build-aux 2021-11-02 14:22:30 +01:00
Thomas Trepl (Moody)
716db1f765 Merge upstream 2021-09-20 09:37:34 +02:00
Pierre Labastie
2967da3223 Remove spaces at end o lines - chapter06 2021-09-07 22:41:43 +02:00
Bruce Dubbs
6851fc8b2f Spacing 2021-09-04 10:48:46 -05:00
Thomas Trepl (Moody)
00e8b5325a Merge upstream changes 2021-07-28 15:43:47 +02:00
Xi Ruoyao
8416b1f926
Revert coreutils library location change
libstdbuf.so is a LD_PRELOAD hook, instead of a library which would be
used at link time.  So let's keep the upstream default.
2021-07-28 18:48:09 +08:00
Thomas Trepl (Moody)
64a306d76a Automatic merge of trunk into multilib 2021-07-27 21:29:34 +02:00
Bruce Dubbs
11d5dee3a4 Minor instruction changes and text updates.
Move coreutils library from /usr/libexec to /usr/lib in both
Chapter 6 and Chapter 8.

Text updates in chapter08/pkgmgt.xml and chapter09/locale.xml.

Restore deletion of hanging test in chapter08/util-linux.xml.

Text changes in stripping and make instruction compatible with jhalfs.
2021-07-27 14:11:38 -05:00
Thomas Trepl (Moody)
0906e3caf3 Automatic merge of trunk into multilib 2021-07-16 05:45:08 +02:00
Bruce Dubbs
f3997370c5 Remove modifications to m4 that are no longer needed. 2021-07-15 12:30:07 -05:00
Thomas Trepl (Moody)
32f47b1fb5 Merge branch 'trunk' into multilib 2021-05-18 08:17:35 +02:00
Xi Ruoyao
7ffe1b8169
add --localstatedir= for temp findutils
It's to prevent the creation of an empty /usr/var.
2021-05-18 12:55:25 +08:00
Thomas Trepl (Moody)
0ebda11158 Remove entities for multilib pathes
Add usage of libc_cv_rtlddir
2021-05-14 12:47:43 +02:00
Thomas Trepl (Moody)
df462a9511 Merge pre-LFS-11-0 changes 2021-05-12 07:26:46 +02:00
Douglas R. Reno
d7a942197e Merge Xi's changes into trunk
Update to meson-0.58.0
Update to systemd-248
Update to gcc-11.1.0
Update to linux-5.12.1
Update to iproute2-5.12.0
Update to Python-3.9.5
Make /bin, /sbin, and /lib symlinks to their counterparts in /usr.
Thanks again for a significant portion of this work goes to Xi, I only
really merged it and made a couple of modifications for my updates. To
LFS 11.x we go!
2021-05-11 23:24:11 -05:00
Thomas Trepl
ceebda5df5
Merge changes from trunk to multilib
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@12176 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:41 +08:00
Thomas Trepl
a5c280368e
Merge changes from trunk to multilib
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@12130 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:41 +08:00
Thomas Trepl
9da9d0146a
Merge changes from trunk to multilib
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@12118 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:41 +08:00
Thomas Trepl
edd83dcce1
Merge changes from trunk to multilib
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@12107 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:41 +08:00
Thomas Trepl
38de42d0ed
Merge changes from trunk to multilib
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@12072 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:40 +08:00
Thomas Trepl
8acfbf673d
Remove zlib from chap6, not needed there.
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@12063 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:40 +08:00
Thomas Trepl
a2ef756a47
Add --without-ada to the 32bit instructions
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@12042 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:40 +08:00
Thomas Trepl
d7e0db5ccd
Merge changes from trunk to multilib
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@12034 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:40 +08:00
Thomas Trepl
032dc4e8e8
Merge changes from trunk to multilib
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@12012 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:40 +08:00
Thomas Trepl
51b58ad4fa
Merge changes from trunk to multilib
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11997 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:39 +08:00
Thomas Trepl
07b2c96502
Add missing files
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11989 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:39 +08:00
Thomas Trepl
6dfcfecca3
Update to new lfs structure
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11986 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:39 +08:00
Thomas Trepl
811b5a3978
MultiLib: Merge changes 11880:HEAD
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11882 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:39 +08:00
Thomas Trepl
6451cd1e10
MultiLib: Merge changes up to 11872
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11879 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:39 +08:00
Thomas Trepl
8d4f212fe3
MultiLib: Merge changes up to 11861
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11871 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:39 +08:00
Thomas Trepl
362282af3c
MultiLib: Merge changes up to 11858
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11860 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:39 +08:00
Thomas Trepl
d3da8c9bc8
Replace a arch specific placeholder by an arch independend one
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11858 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:38 +08:00
Thomas Trepl
66a21f1a48
MultiLib: Merge changes from trunk
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11855 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:38 +08:00
Thomas Trepl
95906db003
MultiLib: Merge changes from trunk
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11847 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:38 +08:00
Thomas Trepl
81e195d0ba
MultiLib: Merge changes from trunk
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11841 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:38 +08:00
Thomas Trepl
effa6e0496
MultiLib: Merge changes from trunk
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11828 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:38 +08:00
Thomas Trepl
751157321e
Create util-linux-links for {,x}32-bit also
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11826 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:38 +08:00
Thomas Trepl
e37764e832
MultiLib: Merge changes from trunk
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11821 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:38 +08:00
Thomas Trepl
566dbac3d6
MultiLib: Merge changes from trunk
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11810 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:38 +08:00