9773 Commits
Author SHA1 Message Date
Bruce Dubbs 9a4ceea7bd Package updates.
Update to automake-1.19.
Update to elfutils-0.196.
Update to expat-2.8.4 (Security Update).
Update to iana-etc-20260911.
Update to iproute2-7.2.0.
Update to linux-7.2.6.
Update to man-pages-6.19.
Update to openssl-4.0.2 (Security Update).
Update to pcre2-10.48 (Security Update).
Update to pkgconf-3.0.7.
Update to systemd-261.3.
Update to tzdata2026d.
Update to vim-9.2.1099.
Update to xz-5.8.4 (Securiry Update).
2026-09-14 14:27:37 -05:00
Xi Ruoyao 64a7b203af gcc: remove gcc-testresults reference
99% of the results on the list are against trunk or a release branch,
not really meaningful when comparing with the release (tag).

The test result on linuxfromscratch.org is enough.
2026-09-13 18:53:19 +08:00
Xi Ruoyao 92476ee603 architecture: demote 32-bit x86 to historical
The old text was not so accurate.  Generally "32-bit x86" means i386 or
later but now the 32-bit x86 Linux kernel requires i586 (for cmpxchg8b)
so LFS can no longer support i386 and i486.  Even considering i586 I
don't think anyone has tried a recent LFS on that, and our host system
requirements have already disputed all 32-bit x86 systems: note that
after the removal of HIGHMEM64G from the kernel there's no way to use
more than 4 GiB of RAM on 32-bit x86; even only considering the 4-core
requirement it seems only satisfiable by some "large" Xeon or Opteron
systems.

The bottom line of Clang on 32-bit x86 is Pentium 4 so I think we can
draw the same bottom line (this may change if someone can test LFS on
earlier processors and submit the test result).  Also remove the "32-bit
can be sufficient" text as ... nobody really believes that now.

Update the URL of MLFS as well.
2026-09-05 19:35:09 +08:00
Bruce Dubbs 35f04271a3 Minor fixes.
The space needed to build gcc has grown.  Bump the minimum
recommended partition size to 15 GB.

Also provied a bette home page for the expect package..
2026-09-04 20:31:20 -05:00
Bruce Dubbs 2e45031d5a Set changelog for 13.1 r13.1 2026-08-31 14:44:21 -05:00
Bruce Dubbs 8955704c85 Revert changes for 13.1.
This reverts commit 5525d9c8dd.
2026-08-31 14:23:24 -05:00
Bruce Dubbs bdf689590e Update for 13.1 2026-08-31 12:42:04 -05:00
Bruce Dubbs 60bff57cb8 Update currency for sed, readline, libtool and gzip. 2026-08-31 12:03:52 -05:00
Bruce Dubbs 5525d9c8dd Fix xml. 2026-08-31 11:04:42 -05:00
Bruce Dubbs 6d48bb1d32 Update to vim-9.2.1025 (Security Update). 2026-08-31 11:03:43 -05:00
Xi Ruoyao fc12864f39 shadow: remove outdated "8-character limitation"
The current default (SHA512) already supports longer passwords.

Realign the backslashes by the way.
2026-08-28 08:47:49 +08:00
Bruce Dubbs 9d192a905d Update book credits. 2026-08-27 16:34:32 -05:00
Pierre Labastie c26acc0c3d Shadow: default ENCRYPT_METHOD is now SHA512
Use it in the sed for YESCRYPT. Change the text accordingly
2026-08-27 23:17:37 +02:00
Xi Ruoyao 76e7f45861 chapter03: use <systemitem class='domainname'> instead of <uri> for domain names
Per RFC 3986 a domain name (without scheme) is not a URI.
2026-08-27 01:39:42 +08:00
Xi Ruoyao 097553588a Revert "glibc: add -k -i for make check"
This reverts commit 8b989da79e.

The issue should be already fixed with the glibc upstream fixes patch.
2026-08-25 00:21:46 +08:00
Xi Ruoyao e4a75cac95 Revert "Update the GMP note about optimization issues."
This reverts commit f336bf33c5.

The configure script suggests to use --disable-assembly instead of
--host=none-linux-gun but it's actually lying: the former indeed
disables assembly but it still passes things like -march=nehalem to GCC
and produce a binary that may crash on processors earlier than nehalem.
But the latter really produces generic binaries.

See my comment at https://gcc.gnu.org/PR110789#c10.  And oops, I even
had added a XML comment below this but it was ignored :(.

Stick to the latter for now (until we find a better solution).
2026-08-24 20:54:53 +08:00
Bruce Dubbs 212f57fefe Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2026-08-24 02:07:43 -05:00
Bruce Dubbs f18927e7c6 Fix tcl currency.wq 2026-08-24 02:07:23 -05:00
Xi Ruoyao 6cda4a3c77 shadow: stop implying password shadowing was optional (or "potentionally incompatible)
Today everything expects shadowed password and the BLFS PAM
configuration does not work with unshadowed password at all.  I don't
think anyone still really uses an unshadowed configuration for real now.
2026-08-22 15:10:51 +08:00
Xi Ruoyao f273aa929d shadow: drop an unneeded sed
It was an ad-hoc fix for upstream issue in 4.20.0, but the issue is now
fixed with 4.20.2.
2026-08-22 14:55:58 +08:00
Pierre Labastie 09b2899225 Remove period after section numbering
having for example "5.2.1. Installation of Cross Binutils" is ugly
remove the period after numbering in sect{1,2,3}
2026-08-16 17:03:39 +02:00
Pierre Labastie 1854b8b0ff dump-commands.xsl: use a string for newline variable
This allows using copy-of, which is much faster than value-of
2026-08-16 09:30:31 +02:00
zeckma-tech a678738cb2 glibc: Switch from upstream_fix to fixes.
In addition to fixing the tanh issue, it also fixes some issues that
prop up when building and installing glibc using multiple make jobs.
This causes some sed commands to fail to run during installation but
is non-lethal to the make status, while it causes m32 to fail outright
during the build. The only around both issues is to use -j1. For trunk,
-j1 should be used in the install command. for m32/MLFS, -j1 should also
be used for the actual make command.
2026-08-15 14:11:12 -06:00
Bruce Dubbs 002098b7da Use a better gnu mirror. 2026-08-15 11:18:51 -05:00
Xi Ruoyao 49c288f6e5 kernel: mark TTY as forced and regenerate with latest kernel source
TTY is forced to y with !EXPERT, so set forced to make the rendering
match what the users will see (as the book discourages EXPERT).

IPv6 can no longer be built as module so the rendering is also changed.
2026-08-15 14:47:45 +08:00
Xi Ruoyao 6b45269521 util-linux: remove the reference to CONFIG_CRYPTO_USER_API_HASH
Many security bugs have been found with CONFIG_CRYPTO_USER_API_* so they
are now deprecated by upstream.  So I disabled them and the test suite
still works normally.
2026-08-15 14:40:02 +08:00
zeckma-tech 1c041dc1bf kernel systemd: Enable TTY in TOML.
kernel-config.py panics if TTY is not set to '*' since unsetting
LEGACY_TIOCSTI requires TTY to be set to Y. The XML already shows this,
but the TOML was incorrect. A line containing TTY may have been deleted
after the XML was generated. This fixes that.
2026-08-14 15:34:01 -06:00
Bruce Dubbs 34cca7cb70 Set kernel config to unset LEGACY_TIOCSTI
The alternate way to unset TIOCSTI is to
set /proc/sys/dev/tty/legacy_tiocsti to 0
from the command line.
2026-08-14 12:58:51 -05:00
Bruce Dubbs f336bf33c5 Update the GMP note about optimization issues. 2026-08-14 11:47:36 -05:00
Bruce Dubbs 88e6ea998d Package updates.
Update to expat-2.8.3 (Security Update).
Update to iana-etc-20260805.
Update to libffi-3.8.0.
Update to linux-7.1.8.
Update to meson-1.12.0.
Update to procps-ng-4.0.7.
Update to setuptools-84.0.0 (Python module).
Update to shadow-4.20.2.
Update to vim-9.2.0954.
Update to wheel-0.48.0 (Python module).
2026-08-14 10:01:08 -05:00
Bruce Dubbs cf40c04e15 Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2026-08-13 11:56:12 -05:00
Pierre Labastie 8cc9d2a18f Fix dump-commands for inner <userinput>
The stylesheet for dump-commands.xsl unconditionally insert a
new line after each <userinput>...</userinput> block. This
may not be intended if a <userinput> block contains an inner
<userinput> block. The fix is:
to apply-templates in <userinput> templates with a "mode="
attribute so that a template without mode cannot be used.
Then add the mode= attribute to any template that must be
processed inside a <userinput> block (currently only <replaceable>
ones). The inner <userinput> is then processed by the default
template (write text), and not the one in the stylesheet.
2026-08-13 17:08:39 +02:00
Bruce Dubbs 74ecd94876 Remove packages from the rationale that are no longer in LFS. 2026-08-12 12:26:19 -05:00
Xi Ruoyao a5e18ad3e1 ch06/coreutils: remove --enable-no-install-program
The kill and uptime programs are already disabled by default since 9.11
release, having this switch causes configure to warn about its
redundancy.

This switch is already removed from ch08 earlier.
2026-08-09 03:39:37 +08:00
Xi Ruoyao 12ef4d4741 findutils: document test-regex-el failure
As reported in #5983 and also confirmed by upstream wiki page.
2026-08-09 02:24:08 +08:00
Bruce Dubbs 60a709bb6d Package updates.
Update to flit_core-4.0.2 (Python module).
Update to gcc-16.2.0.
Update to linux-7.1.7.
Update to packaging-26.3 (Python module).
Update to pkgconf-3.0.5.
Update to Python-3.14.7 (Security Update).
2026-08-07 18:27:08 -05:00
Bruce Dubbs 2127ab5f72 Fix an md5sum and a change in teh libbfd version number. 2026-08-06 20:53:25 -05:00
Xi Ruoyao 73777c84b5 glibc: fix tanh crash on old processors 2026-08-06 12:56:07 +08:00
Xi Ruoyao 13fd162352 ch07 zlib: remove static library like ch08 2026-08-05 17:05:46 +08:00
Xi Ruoyao b9962747d3 changelog: fix a typo 2026-08-03 21:05:41 +08:00
Xi Ruoyao 8b989da79e glibc: add -k -i for make check
Workaround a testsuite bug (introduced by the changes for 2.44 to
improve the parallism of the test suite, but even -j1 cannot evade the
bug...) causing the test suite to bail out early.

I didn't see the issue in a LFS build but I saw it testing glibc on a
complete system, and IIUC it may occur building LFS too if the luck is
bad.
2026-08-02 03:09:03 +08:00
Bruce Dubbs 60fcba5efa Reword --with-lib-path explanation. 2026-08-01 12:37:53 -05:00
Xi Ruoyao e981d9b10f binutils: add --with-lib-path
Helps to prevent the lib64 puzzle that happened several times.  Also
simplifies the sanity check output in glibc.
2026-08-01 16:00:59 +08:00
Xi Ruoyao 2c63342db4 binutils: add --with-lib-path=/usr/lib 2026-08-01 15:58:14 +08:00
Xi Ruoyao f328c972b6 pkgconf: run the test suite
The 3.0.x release no longer requires the non-LFS packages to run the
test.
2026-08-01 04:14:04 +08:00
Xi Ruoyao edfc43916c inputrc: note how to enable history search mode 2026-08-01 04:14:04 +08:00
Xi Ruoyao 47f35a8df3 gcc-pass2: add CXX_FOR_TARGET="$LFS_TGT-gcc -nostdinc++"
In gcc-pass2 the C++ std module fails to build, similar to the issue
we've fixed for gcc-pass1 at commit 2be87ced88.  Here it's even more
complicated than gcc-pass1: the problem is the libstdc++ fenv.h
has #include_next <fenv.h> and expects the directive to find glibc
fenv.h, but with CXX_FOR_TARGET=$LFS_TGT-g++ (the default) the compiler
finds it's own (installed at ch.05 libstdc++) fenv.h, then
this #include_next directive finds fenv.h in the gcc-pass2 build, and
because of the _GLIBCXX_FENV_H include guard gcc-pass2 fenv.h won't pull
the glibc header anymore.  Then the build will report errors like
"cannot find fenv_t" etc.

To resolve the issue, pass CXX_FOR_TARGET="$LFS_TGT-gcc -nostdinc++"
like what the top-level build system does for a native build.
2026-08-01 04:14:04 +08:00
Xi Ruoyao ec0e7ef24d grub: remove efi_gop and efi_uga
They are not useful now as we no longer use gfxterm.
2026-08-01 04:13:56 +08:00
Bruce Dubbs b7a7970161 Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2026-07-31 11:23:42 -05:00
Bruce Dubbs f1476cdc33 Package updates.
Update to shadow-4.20.0.
Update to vim-9.2.0858 (Security Update).
Update to systemd-261.2.
Update to sqlite-3.53.4.
Update to pkgconf-3.0.4.
Update to perl-5.44.0.
Update to linux-7.1.5.
Update to libtool-2.6.2.
Update to iana-etc-20260723.
Update to glibc-2.44 (Security Update).
Update to binutils-2.47.
2026-07-31 11:22:04 -05:00