Commit Graph

460 Commits

Author SHA1 Message Date
Poltern
3aa147717b Merge branch 'main' into ext 2024-09-02 10:08:53 +05:00
Poltern
1b76464871 Release 12.2 2024-09-01 00:39:13 +05:00
Poltern
1366a9c88f Comment english page format 2024-08-31 23:34:28 +05:00
Poltern
470f92f175 fix typo 2024-08-31 23:27:53 +05:00
Poltern
06d8afab61 Added revision 2024-08-29 16:47:41 +05:00
Poltern
f7e58b2233 gcc: Don't decrease the stack limit
I've had doubts on this "ulimit -s 32768" command for years.  After
reading GCC code (libiberty/stack-limit.c) I'm pretty sure this command
is not doing what we expected.

In a typical Linux distro, the default "soft" stack limit is 8 MiB and
the default "hard" stack limit is infinite.  And GCC will automatically
increase the soft limit to 64 MiB if the original soft limit is smaller
than 64 MiB, and the hard limit is at least 64 MiB.  So with a typical
default configuration, the real stack limit of GCC is 64 MiB.

But our "ulimit -s 32768" command sets both the soft limit and the hard
limit to 32 MiB.  Thus we are actually *decreasing* the real stack
limit.  Fortunately this has not caused any test failures, but it's just
wrong (contradicting with the explanation of the command).

Thus just raise the hard limit to infinite in case the host distro uses
a not so typical configuration where the hard limit is tight, and let
GCC to set up the soft limit to the expected value on its own.  It's
more future-proof than "ulimit -s 65536" in case GCC changes the
expected stack limit in the future.

It should be safe to make the change in freeze because in jhalfs it only
affects the test suite, and even in a manual build the user can skip
this command if not running the GCC test suite.
2024-08-28 10:31:52 +05:00
Poltern
18ce97f095 Add more detail to the About SBUs page 2024-08-27 12:56:29 +05:00
Poltern
8cd1e8e64d bootscripts: console: Fix fb console detection
If CONFIG_FB is not set but CONFIG_DRM_FBDEV_EMULATION is set to y, on a
DRM-drived graphic card (anything from AMD/ATI, Intel, or NVIDIA in
recent 20 years) we'd be using a fb console but without
/sys/class/graphics/fb0.  Then the script won't run setfont for VT 2-6.

Typos on comments.
These changes are all in comments that do not affect the books in any way.

sysklogd
Turn off network logging by default

Update to lfs-bootscripts-20240825

Fix typos
2024-08-25 22:14:05 +05:00
Poltern
10a5b06a63 Merge branch 'main' into ext 2024-08-22 10:31:40 +05:00
Poltern
adcb9bb89b Small fix and reword 2024-08-22 10:01:27 +05:00
Poltern
5f77fde3e0 Again stupid typo fix 2024-08-18 23:46:02 +05:00
Poltern
4a276076dc Fix typo 2024-08-18 23:42:41 +05:00
Poltern
8a62a210d9 Package updates.
Update to iana-etc-20240806.
Update to pkgconf-2.3.0.
Update to python3-3.12.5.
Update to setuptools-72.2.0.
Update to kmod-33.
Update to binutils-2.43.1.
Update to linux-6.10.5

Update stats
2024-08-18 22:40:33 +05:00
Poltern
fad6cea335 build: Use -r for git ls-tree in make dist
Without this we may pack things like *.swp into the tarball
2024-08-18 21:53:18 +05:00
Poltern
da40653bc5 Fix a typo 2024-08-18 21:52:52 +05:00
Poltern
fe038d2c79 Regenerate kernel configuration with Linux 6.10.5 source
Now all DRM drivers are entries in the DRM submenu.
2024-08-18 21:47:06 +05:00
Poltern
8437aa068c Package updates
Update to bash-5.2.32.
Update to iana-etc-20240801.
Update to vim-9.1.0660.
Update to binutils-2.43.
Update to linux-6.10.3.
Update to readline-8.2.13.
Update to wheel-0.44.0.
Update to setuptools-71.1.0.
Update to gcc-14.2.0.
Update to glibc-2.40.
Update to iproute2-6.10.0.
Update to lz4-1.10.0.
Update to meson-1.5.1.
Update to sysklogd-2.6.1.
Update to systemd-256.4.
Update to sysvinit-3.10.
2024-08-16 12:55:32 +05:00
Poltern
521778877f Make capitalization os SysVinit consistent 2024-08-16 12:51:31 +05:00
Poltern
d509512e0f Fix a minor issue with liblz4.pc. 2024-08-16 12:49:51 +05:00
Poltern
201b690fb8 Update the paragraph describing ch05 glibc
We no longer pass CC="$LFS_TGT-gcc -nostdinc -isysroot" since
cross-chap5.

Refer to Glibc wiki instead of shlib-versions
The list of dynamic linkers is removed in shlib-versions since 2014.
Link: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=ba90e05052ce
2024-08-16 12:49:14 +05:00
Poltern
bb9b075075 Package updates.
Update to iana-etc-20240701.
Update to vim-9.1.0580.
Update to automake-1.17.
Update to gdbm-1.24.
Update to linux-6.9.9.
Update to less-661.
Update to meson-1.5.0.
Update to setuptools-70.3.0.
Update to util-linux-2.40.2
Update to lfs-bootscripts 20240717
2024-08-06 21:17:57 +05:00
Poltern
fe78f7545b Update currency for lz, openssl. 2024-08-06 21:12:24 +05:00
Poltern
01d2ff0508 cleanup: Remove hidden files in /tmp
Some test suite may create files of which the name starts with a dot.
These files are "hidden" and they won't be matched with the /tmp/*
wildcard.
2024-08-06 21:09:29 +05:00
Poltern
73d11ada77 Systemd: Update known failures
I can only reproduce test-namespace failure now with 256.1.
2024-08-06 21:09:01 +05:00
Poltern
77512d60a7 binutils: Add --enable-new-dtags
This option makes ld use DT_RUNPATH instead of DT_RPATH.  DT_RPATH is
generally considered bad because it takes precedence over
LD_LIBRARY_PATH.  For example, eog is linked with -rpath /usr/lib/eog,
and with DT_RPATH if an old eog is already installed we are basically
impossible to debug a new eog build w/o overwriting the system
installation first or explicitly using "ld.so --inhibit-rpath" to
invoke it.

This "new" actually means "new in 2000," it's 24 years ago and all other
distros has enabled it.  Thus I guess some unexplainable "test suite
uses installed library instead of the just built one" issues in BLFS are
actually caused by this difference: the package author just assumes
everyone is using DT_RUNPATH thus they just set LD_LIBRARY_PATH and
consider it enough to test with the just built libraries, but DT_RPATH
breaks this expectation.

Let's eliminate the difference as it seems not doing anything good and
doing so just takes one switch.
2024-08-06 21:07:39 +05:00
Poltern
e88e84f858 Update lfs-bootscripts to only output escape sequences to a terminal.
Add -n to the ln command, for recreating /dev/fd correctly if the initramfs has already created one
2024-08-06 21:05:46 +05:00
Poltern
d635a9860c dependencies: List rust-bindgen as Linux external dependency
It's needed to enable Rust-based features in the kernel.
Rustc is also needed but it's required by rust-bindgen so I'm skipping
it (like BLFS).
LLVM (Clang) is also a required dependency of rust-bindgen but it's
listed here for different purposes (LTO and CFI).

Fix sysklogd currency
2024-07-12 13:11:29 +05:00
Poltern
14c38953d5 Package and format updates.
Update to iana-etc-20240612.
Update to bc-6.7.6.
Update to man-pages-6.9.1.
Update to linux-6.9.7.
Update to sysklogd-2.5.2.
Update to shadow-4.16.0.
Update to systemd-256.1.
Update to setuptools-70.1.1.

Also change the formatting of options '-Dsomething' to '-D something'
2024-07-12 13:06:06 +05:00
Poltern
89e608294c Package updates.
Update to vim-9.1.0478.
Update to iana-etc-20240607.
Update to systemd-256.
Update to python3-3.12.4.
Update to perl-5.40.0.
Update to openssl-3.3.1 (Security fix).
Update to linux-6.9.4.
Update to findutils-4.10.0.

systemd: Reword test failure notice
2024-06-21 14:03:25 +05:00
Poltern
99e321ffcf tcl, expect, readline: Get rid of rpath 2024-06-21 13:14:52 +05:00
Poltern
8f045428d7 Package Updates and add linux-6.9.x compatibility instructions to systemd and udev
Update to meson-1.4.1.
Update to xz-5.6.2.
Update to setuptools-70.0.0 (python module).
Update to ninja-1.12.1.
Update to man-pages-6.8.
Update to linux-6.9.3.
Update to libcap-2.70.
Update to iproute2-6.9.0.
Update to e2fsprogs-1.47.1
2024-06-21 12:55:16 +05:00
Poltern
318c18796d [systemd] Disable RT_GROUP_SCHED
Link: https://github.com/systemd/systemd/issues/13781#issuecomment-549164383
2024-06-21 12:40:46 +05:00
Poltern
def91524b1 Sync book 2024-05-27 16:35:13 +05:00
Poltern
4728e167dd Revert ncurses to 6.5 and glibc patch 2024-05-13 11:54:36 +05:00
Poltern
5012468b6c Package updates
Update to vim-9.1.0405
Update to util-linux-2.40.1
Update to linux-6.8.9
Update to jinja2-3.1.4 (Python mpdule)
Update to iana-etc-20240502
Update to gcc-14.1.0
2024-05-12 23:18:03 +05:00
Poltern
56d1e613f1 Add file 2024-05-05 00:22:23 +05:00
Poltern
fa200b01f4 Updated packages
Emacs translated
Added cracklib, libpwquality, pam
2024-05-05 00:20:30 +05:00
Poltern
10f30afcb9 Updated packages
Emacs translated
Added cracklib, libpwquality, pam
2024-05-05 00:18:40 +05:00
Poltern
3a4d4be192 Small reword 2024-05-04 22:40:21 +05:00
Poltern
b9b783416e systemd: Enable test suite (again)
With systemd-255, I get only 1 failure out of 1206.  Thus it seems a
good idea to run the test suite.

Revert "python: Document test failures with recent expat"

In Python >= 3.12.3, these tests are disabled with expat >= 2.6.0.
Link: https://github.com/python/cpython/commit/c4fa79b924a1

glibc: Revise glibc-2.39 upstream fix patch

The glibc-2.39-upstream_fix-1.patch file contains a broken
tst-iconv-iso-2022-cn-ext.c file.  It causes:
    FAIL: iconvdata/tst-iconv-iso-2022-cn-ext
2024-05-03 18:31:54 +05:00
Poltern
dbee8986c6 Merge branch 'main' into ext 2024-05-01 22:30:40 +05:00
Poltern
2b1488e78f ncurses: Remove explicit --enable-widec in chapter 6 like chapter 8 2024-05-01 22:20:39 +05:00
Poltern
41b6194218 Package updates and a security fix.
Add security fix to glibc.
Update to linux-6.8.8.
Update to ncurses-6.5.
2024-04-30 23:43:36 +05:00
Poltern
76a68e0c9a chapter06/ncurses: Use ncurses-release instead of ncurses-version for library file names
changingowner: Add --from lfs for chown root:root commands
2024-04-30 14:24:24 +05:00
Poltern
3ff307af94 Make minor change to ifup script output text.
Remove blank output line generated in ifup script when bringing
up wireless interface.
2024-04-22 23:31:53 +05:00
Poltern
4cffce68d0 Package updates
Update to setuptools-69.5.1
Update to python3-3.12.3
Update to openssl-3.3.0
Update to ninja-1.12.0
Update to man-db-2.12.1
Update to linux-6.8.6
Update to iana-etc-20240412
Update to vim-9.1.0330
2024-04-15 22:37:33 +05:00
Poltern
75da33c538 Automated translation script 2024-04-12 14:51:39 +05:00
Poltern
6a7d27024f Automated translation script 2024-04-12 14:35:57 +05:00
Poltern
d9ae117e2b Merge branch 'main' into ext 2024-04-12 11:44:46 +05:00
Poltern
79ea911429 Small typo and fix 2024-04-12 11:38:42 +05:00