Commit Graph

8128 Commits

Author SHA1 Message Date
Xi Ruoyao
96fa6f2558
systemd: trivial indent fix :) 2022-02-23 15:10:03 +08:00
Xi Ruoyao
a8c849848f
doc: correct the URL of BLFS docbook-xml-4.5 page 2022-02-23 02:10:17 +08:00
Xi Ruoyao
186f52656e
glibc: document tst-nss-files-hosts-multi failure ...
on the systems without non-loopback IP address

We'd observed this long ago with "unknown reason".  I just saw it again
and did some investigation, found it depends on getaddrinfo() with
AI_ADDRCONFIG, which requires a non-loopback address.
2022-02-22 16:44:04 +08:00
Xi Ruoyao
188fba74b4
ch03 intro: "newer version" -> "different version", and ...
warn about the difference between release tarballs and repo snapshots
2022-02-22 13:34:59 +08:00
Xi Ruoyao
25dc9a8cfa
part 3 intro: warn that don't copy source tree with cp -R 2022-02-22 13:34:36 +08:00
Ken Moffat
a8ac5440a7 Vim-8.2.4383 included a security update. 2022-02-19 21:02:14 +00:00
Xi Ruoyao
d6006ef769
relax host system requirements
A requirement on Glibc is not needed at all.  It's enough once
$LFS_TGT-* is runnable.  A test on Alpine (using musl as libc) has
practically proved this.

We'd raised binutils and GCC requirements mostly for Glibc.  But now
Glibc is cross compiled by our cross toolchain with latest GCC and
binutils release, the host tools really does not matter.  In the Glibc
building process only two .c files are build with BUILD_CC (the C
compiler from the host), and they are highly conservative (mostly
unchanged for years).

Binutils does not have too much requirement on host GCC & Binutils:
there is even a Binutils commit in this week fixing a build failure with
GCC-4.2!

So the most strict limitation comes from GCC.  GCC requires host GCC to
support ISO C++ 11 so GCC >= 4.8 is needed.  And both GCC-4.8 and latest
GCC-11.2 claims a requirement for Binutils-2.12 (for x86_64) or 2.13.1
(for 32-bit x86), so we make minimal Binutils version 2.13.1.

And, host bzip2 is never used now: the only .tar.bz2 files are elfutils
and python docs.  They are not decompressed before entering chroot.
2022-02-19 10:29:47 +08:00
Bruce Dubbs
9904ecb1de Spelling/Typos 2022-02-18 14:49:40 -06:00
Xi Ruoyao
9f0a6427ab
short description should not end with "." 2022-02-18 14:03:51 +08:00
Bruce Dubbs
988a68e3c8 Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2022-02-17 23:39:07 -06:00
Bruce Dubbs
01cf1502c2 Remove reference to test failures 2022-02-17 23:38:53 -06:00
Xi Ruoyao
52155b6c33
shadow: add --disable-static
Approved by bdubbs for 11.1.

To editors: no need to rebuild system and re-tag anything, AFAIK nothing
in BLFS uses libsubid now.  You may delete /usr/lib/libsubid.a on your
system manually.
2022-02-18 12:51:41 +08:00
Xi Ruoyao
b5e4ab72f1
shadow: add description for libsubid 2022-02-17 19:39:07 +08:00
Xi Ruoyao
662f6497ff
systemd: remove systemd-cryptenroll and bootctl
bootctl is not built because LFS doesn't have gnu-efi.

systemd-cryptenroll is disabled if cryptsetup is not installed (should
be added into BLFS).
2022-02-17 19:39:07 +08:00
Xi Ruoyao
e5b4b3fff6
gcc: update contents and descriptions
Add lto-dump and libitm, and reword description for liblto_plugin
because it's actually used by libbfd (from binutils).
2022-02-17 19:39:07 +08:00
Xi Ruoyao
24fe054b4e
dejagnu: add description for "dejagnu" command 2022-02-17 19:39:07 +08:00
Xi Ruoyao
85d9756bbe
expect: fix library name in description, and remove unused expect-lib-version 2022-02-17 19:39:07 +08:00
Xi Ruoyao
b7daa52a5c
glibc: update desc for content
Add libc_malloc_check.so (it's like libmcheck.a, but should be used with
LD_PRELOAD).

Add description for libmvec.

"libnss" -> "libnss_*", and reword the description.
2022-02-17 19:39:07 +08:00
Bruce Dubbs
d6f5aab381 Binutils fix to fix some package builds
This fix was found on an i368 system when building openjdk.  The
fix does not help or hurt x86_64 systems.
2022-02-16 16:56:04 -06:00
Xi Ruoyao
c5755859a8
binutils: reword the desc for LTO patch
Prevent from misleading people to think "I don't build binutils with LTO,
so I can skip the patch".
2022-02-16 14:32:24 +08:00
Bruce Dubbs
83e41daaa6 Typo 2022-02-15 19:52:28 -06:00
Bruce Dubbs
8dd179b044 Fix typos in glibc and for systemd-oom group syntax 2022-02-15 13:22:46 -06:00
Bruce Dubbs
9a612a967b Document a failing test 2022-02-15 11:35:46 -06:00
Bruce Dubbs
2ff3adaa70 Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2022-02-15 09:56:39 -06:00
Bruce Dubbs
6af4dabc16 Package updates and fixes.
Add binutils-2.38 LTO patch.
Update to util-linux-2.37.4.
Update to man-db-2.10.1.
Update to linux-5.16.9.
Update to vim-8.2.4383.
Update to iana-etc-20220207.
2022-02-15 09:55:45 -06:00
Xi Ruoyao
2cf3c176cf
break very long line 2022-02-15 15:45:00 +08:00
Xi Ruoyao
174d1bf948
libstdc++ pass 1: rephrase the explanation for --with-gxx-include-dir
I just received a private mail from some guy obviously puzzled by this
switch.  Expand the explanation a little to make it more clear.
2022-02-15 15:29:35 +08:00
Xi Ruoyao
81d3242ba4
glibc: add ld.so to programs list
Quote from the NEWS file:

    A symbolic link to the dynamic linker is now installed under
    /usr/bin/ld.so (or more precisely, '${bindir}/ld.so').
2022-02-13 11:01:29 +08:00
Pierre Labastie
ab824a51d1 Fix a missing space 2022-02-11 18:29:12 +01:00
Xi Ruoyao
db3c501657
glibc: update contents & descriptions for 2.35 2022-02-11 11:18:13 +08: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
Pierre Labastie
b35ab48b26 Add glib2 as an optional dependency of pkg-config 2022-02-10 10:28:23 +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
Xi Ruoyao
d759d8b20c
systemd net cfg: fix unclosed <...> 2022-02-06 07:08:18 +08:00
Xi Ruoyao
c633b87ef4
systemd net cfg: fix ambigious "it" 2022-02-05 22:29:27 +08:00
Xi Ruoyao
f09dd59a81
systemd: /etc/{passwd,group} was created in Chapter 7 2022-02-05 22:17:26 +08:00
Xi Ruoyao
0079acc87d
systemd: remove unneeded group "systemd-bus-proxy" 2022-02-05 22:16:25 +08:00
Xi Ruoyao
cfdc7ab3c2
fix a stupid typo in changelog 2022-02-05 22:03:00 +08:00
Xi Ruoyao
b852cef995
chapter 8: rename revisedchroot to cleanup
There is no "revision for chroot" now.
2022-02-05 21:59:24 +08:00
Xi Ruoyao
d79ba5b01c
systemd network config: slightly reword about resolv.conf 2022-02-05 21:35:14 +08:00
Xi Ruoyao
490dc15317
remove "+h" in bash commands in chroot (#4998)
In the new cross-compilation approach, the $PATH in chroot does not
contain '/tools/bin'.  So "+h" is useless in chroot as the newly
installed tools always replace the temporary counterpart at the same
location.

"+h" in chapter4/settingenviron.xml is kept deliberately.  Currently
$LFS/tools/bin only contains programs prefixed with
"x86_64-lfs-linux-gnu-", and it's highly unlikely that any distro will
ever ship a program named with such prefix.  So it may seems that we can
remove this "+h" as well.  However, the situation may change in future
and we can take this oppertunity to teach the advantage and disvantage
of bash hash feature.
2022-02-05 20:48:27 +08:00
Xi Ruoyao
69c4524b6d
systemd: remove unneeded LANG=en_US.UTF-8 settings
They were added because ninja had printed warnings about "non UTF-8
locale".  Current version of ninja no longer does this.
2022-02-05 20:37:44 +08:00
Xi Ruoyao
e954006b16
util-linux: add --bindir and --sbindir
The defaults are /bin and /sbin.  We don't like them because of "DESTDIR
on merged-usr system" issue.
2022-02-05 20:37:44 +08:00
Xi Ruoyao
50c357d363
util-linux: revise contents and short descriptions
* tailf is removed completely
* fdformat is disabled by default, and we don't really have any reason
  to enable it (and we'll need to workaround the missing man page issue
  if we want to enable it)
* irqtop, lsirq, scriptreplay, and uclampset added
2022-02-05 20:37:44 +08:00
Xi Ruoyao
db2d98f7a9
man-db: update to man-db-2.10.0 (#5002) 2022-02-05 20:37:44 +08:00
Xi Ruoyao
f26f74cb24
kmod: update the status for test suite 2022-02-05 20:37:44 +08:00
Xi Ruoyao
f5923aa8b4
kmod: link to openssl 2022-02-05 20:37:43 +08:00
Xi Ruoyao
ab8c166cbb
gdbm: update to gdbm-1.23 (#5000) 2022-02-05 20:37:34 +08:00
Xi Ruoyao
889f3811e5
Revert "gdbm: document gdbmtool tests fail, add -k"
This reverts commit ae3f78a382.

No longer needed with gdbm-1.22 or later:

https://git.gnu.org.ua/gdbm.git/commit/?id=5b62babd
https://git.gnu.org.ua/gdbm.git/commit/?id=f586b159
2022-02-05 17:51:06 +08:00
Xi Ruoyao
51e4ab228f
gcc: add "or later" for "Glibc-2.34", as we have 2.35 now 2022-02-05 17:03:36 +08:00