9768 Commits

Author SHA1 Message Date
Zeckmathederg
1ebc1c3ec4 Merge branch 'trunk' into openrc 2026-05-24 18:04:44 -06:00
Bruce Dubbs
dfa48e5ebb Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2026-05-24 18:10:07 -05:00
Bruce Dubbs
5603ae39bc Update to linux-7.0.10 (Security Update). 2026-05-24 18:09:42 -05:00
Pierre Labastie
b2b83a7d49 hostreqs: fix capitalization of Uutils 2026-05-24 16:07:27 +02:00
Pierre Labastie
15339933ab INSTALL: remove reference to SVN
Actually, it is an "XML" source, not a "SVN" (or "GIT") source
2026-05-24 09:56:09 +02:00
Pierre Labastie
290bcae695 Tidy up coreutils part of version_check 2026-05-24 09:42:39 +02:00
Pierre Labastie
1327831b5b hostreqs: adds the possibility for uutils in text 2026-05-24 09:42:04 +02:00
Zhang Wen
0f4f11da12 adjust version-check.sh to accept uutils coreutils
Signed-off-by: Pierre Labastie <pierre.labastie@neuf.fr>
2026-05-24 09:36:39 +02:00
Zeckmathederg
05bc01699d Merge branch 'trunk' into openrc 2026-05-22 12:38:52 -06:00
Douglas R. Reno
a29b07aee0 Patches: Adjust the description of the glibc patch.
It's no longer just Linux-7 related.
2026-05-20 22:44:29 -05:00
Bruce Dubbs
c2fded2773 Minor corrections to changelog. 2026-05-20 13:34:45 -05:00
Bruce Dubbs
0822524062 Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2026-05-20 13:30:35 -05:00
Bruce Dubbs
2ef484f175 Update to linux-7.0.9 (Security Update). 2026-05-20 13:30:24 -05:00
Xi Ruoyao
d235207a6d glibc: reword for the patch update
Remove a sed conflicting with the patch (it's actually doing the same
thing as a part of the patch).
2026-05-19 10:36:33 +08:00
Xi Ruoyao
1bb9158869 glibc: really fix #5930 2026-05-19 10:29:27 +08:00
Xi Ruoyao
601e9e8ba3 fix typo :( 2026-05-17 23:48:57 +08:00
Xi Ruoyao
7d36e94cd1 gcc: deprecate-1.C is flaky
Link: https://gcc.gnu.org/PR124857
2026-05-17 19:25:37 +08:00
Douglas R. Reno
72c7d33e50 Package updates:
- Update to linux-7.0.7 (Security Update)
- Update to tcl-8.6.18
- Update to expat-2.8.1 (Security Update)
- Update to vim-9.2.0481 (Security Update)
- Fix CVE-2026-7210 and CVE-2026-8328 in Python
- Update chapter01/whatsnew.xml with a current list of added patches
2026-05-14 22:39:20 -05:00
Zeckmathederg
88a7776441 Merge branch 'trunk' into openrc 2026-05-14 17:19:26 -06:00
Bruce Dubbs
d7370efccd Typo 2026-05-14 08:57:03 -05:00
Bruce Dubbs
dadc38703f Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2026-05-14 08:42:08 -05:00
Bruce Dubbs
4a154ab328 Typo 2026-05-14 08:41:56 -05:00
Zeckmathederg
902bce88df Merge branch 'trunk' into openrc 2026-05-11 17:09:38 -06:00
Bruce Dubbs
118c931544 Fix currency for expat. 2026-05-11 13:24:12 -05:00
Xi Ruoyao
2b393c1067 patches: fix description of two patches 2026-05-12 01:42:19 +08:00
Xi Ruoyao
116d058f27 python: replace the patch with the updated version 2026-05-12 01:40:36 +08:00
Bruce Dubbs
6f16b2606e Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2026-05-11 12:32:42 -05:00
Bruce Dubbs
6d990d4871 Package updates.
Updating a couple of days before the normal mid-month commit.
This is to establish the initial baseline for fixing numerous
packages in BLFS that will need to updated for linux-7 and
openssl-4.

Update to vim-9.2.0461 (Security Update).
Update to sqlite-3.53.2.
Update to Python-3.14.5.
Update to openssl-4.0.0.
Update to linux-7.0.5.
Update to iana-etc-20260604.
Add Python-3.14.5 linux7 build patch.
Add glibc linux7 fixes patch (Security Fix).
Add systemd openssl4 build patch.
2026-05-11 12:24:52 -05:00
Xi Ruoyao
1be5965641 gcc: update known failures and add the change log entry 2026-05-11 23:10:54 +08:00
Xi Ruoyao
c79e4d3941 gcc-pass1: simplify the instruction generating limits.h 2026-05-11 21:05:59 +08:00
Pierre Labastie
1cda220b3f gcc: remove an obsolete sed
The fix is upstream for gcc 16
2026-05-11 14:07:19 +02:00
Bruce Dubbs
7199dfd2a0 Reword the warning in 'Host System Requirements' 2026-05-08 14:02:57 -05:00
Xi Ruoyao
7aad05e6c9 hostreqs: fix the note about newer GCC version
Another "stupid I" issue.
2026-05-08 23:20:45 +08:00
Xi Ruoyao
5ec6ec66b0 reword for the "rolling release" warning
The original warning is inaccurate/misleading in many aspects.

The critical thing is GCC version.  There's nothing to do with the
OpenSSL version (as nothing in ch5 or 6 ever uses OpenSSL).  There's
also nothing to do with the kernel "major" version as the "major"
version is just an arbitary choice to make the minor version not greater
than 19 by Linus.  It does not imply any aspect of the ABI, unlike the
"major" version in a SONAME or something.  The inablility to build Glibc
with Linux 7.0 API headers is simply a coincidence.  If another API
header change happens in Linux 7.6, it may break Glibc build as well.

And I cannot see how the Linux API header version of the host distro can
ever affect LFS.  LFS builds ch05 Glibc with its own Linux API header
installed just before Glibc, not the installation from the host distro.
So Glibc should just build fine with the 6.19 API header just installed
into $LFS/usr/include.  I know it would fail to build with Linux 7.0 API
headers but why it can ever find one - if it really finds the host
distro's API header instead of the one in $LFS/usr/include we have a
serious bug and it will have to be fixed instead of papered over by
limiting the host distro.

I also know the req test will fail if the host distro has Linux 7.0 but
I've no idea if the test failure is really related to the "massive
breakage of rseq" (I assume it refers to the jemalloc breakage?  But
AFAIK nothing in LFS uses jemalloc).  And the glibc upstream has just
fixed the test file simply.  We always treat test-file-only fixes as
"known failures" instead of "bugs requiring a fix" unless it aborts the
entire test suite too early.  Add a note in the glibc page to note there
can be additional failures with Linux >= the version we use for LFS.

And there's also nothing to do with the "rolling release."  For example,
you cannot build LFS 12.0 on LFS 12.4 because ch06 bash uses the host
compiler to build some code generators, and those generators are not
compatible with C23 (the default of GCC 15.2 shipped by LFS 12.4).  LFS
12.4 is definitely not a rolling release...

A rolling release just catches the breakage earlier and we shouldn't
blame it to do so.  IMO we should avoid the unfair accusion on rolling
distros as the same unfair accusion is often towards LFS (notably the
way we develop BLFS is very similar to a rolling release distro).

In the hostreqs page we already states building with a GCC newer than
the version specified for LFS in the book is "not tested and not
recommended."  I don't know why people must ignore it (AFAIU "not
recommended" in LFS means "not supported; don't report any bug" already:
for example those "recommended" dependencies in BLFS).  Make it more
explicit with assertive language and <warning>.
2026-05-06 13:14:54 +08:00
Xi Ruoyao
1093fc15ce gcc: fix my stupid typo
Stupid I.
2026-05-06 11:57:28 +08:00
Zeckmathederg
33073c3e8b Merge branch 'trunk' into openrc 2026-05-03 13:03:07 -06:00
Zeckmathederg
8d92bc4025 Mention failures with rolling distros.
Twice in the past span of a year, Arch Linux has updates to new versions
of software rather quickly that causes LFS to be impossible without
modifications. The first instance was updating to GCC-15.1, of which
that disaster may be repeated with GCC-16.1. The second, most recent,
instance is that they updated to Linux-7. This changed behavior of
rseq, tables, and the ABI feature from 32 to 33, which messes with
Glibc, meaning users will need to use a host that has Linux <= 6.19.x
for now.

This distructive nature needs to be explained to the users to help to
prevent them from using broken hosts.

So many issues have popped up over on Discord and Reddit, and as an
aside and personal vent, I've been getting pretty tired of it each time
Arch pulls off something like this when it clearly isn't time yet.

The Gentoo GUI LiveCD (and Gentoo itself in general) is a good example
of how to treat the software set, and too not update too early.
2026-05-03 12:56:02 -06:00
Xi Ruoyao
b43686931a kernel: drop the "Configuring Linux Module Load Order" section
The kernel itself already guarantees the order of [eou]hci_hcd since
Linux 3.13 (12 years ago!).

Link: https://git.kernel.org/torvalds/c/05c92da0c52494ca
2026-05-03 16:05:39 +08:00
Xi Ruoyao
188ec57f93 groff: work around parallel build issue 2026-05-03 16:05:32 +08:00
Xi Ruoyao
8c108f3a6c openssl: simplify the prevention of static library installation 2026-05-02 19:16:38 +08:00
Xi Ruoyao
0fc1a2b2f7 inetutils: drop libls.sh failure
The problematic test has been removed by upstream.

Link: https://cgit.git.savannah.gnu.org/cgit/inetutils.git/commit/?id=556621adc3dc
2026-05-02 17:34:01 +08:00
Xi Ruoyao
ca22500f18 gcc: use gcc -print-* to simplify two commands
Make the commands more concise, and remove the explicit GCC version
number to make people easier trying a new GCC version.
2026-05-02 14:35:54 +08:00
Bruce Dubbs
0410b38129 Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2026-05-01 11:26:09 -05:00
Bruce Dubbs
dccbde55d7 Update currency for linux-7. 2026-05-01 11:23:31 -05:00
Douglas R. Reno
e95d43e890 Merge branch 'trunk' into openrc 2026-04-30 14:35:17 -05:00
Douglas R. Reno
0ab3022e47 packages.ent: Fix the download URL for Expat. 2026-04-30 14:27:16 -05:00
Xi Ruoyao
c1f817ffb0 creatingpartition: reword
Fix the explanation for CSM (here M stands for Module, not Mode).

Keep the terminology "BIOS" soly for "booting via MBR" and use
"firmware" instead for other purposes.
2026-05-01 02:03:01 +08:00
Xi Ruoyao
fa8ce85b31 hostreqs: missing punct 2026-05-01 01:47:13 +08:00
Xi Ruoyao
20f8cbd963 grub: another reword
"UEFI bootloaders" normally stands for things like GRUB or systemd-boot,
instead of firmware.  And it seems we are using "standard" location
instead of "hardcoded" location elsewhere.
2026-05-01 01:30:46 +08:00
Xi Ruoyao
9d66f8e5ed grub: minor reword
- Use "firmware setup" instead of "BIOS": in the context of the grub
  page "BIOS" almost always means "MBR boot," but here it means the
  firmware setup interface.
- We may manipulate any EFI variable (unless the firmware makes it read
  only) by directly writing the efivarfs, but GRUB needs efibootmgr.
- We don't necessarily install LFS into the same disk where ESP exists.
2026-05-01 01:10:22 +08:00