Commit Graph

9343 Commits

Author SHA1 Message Date
Xi Ruoyao
0b6e5f4732
loongarch: Revert "udev: Add -Wno-format-overflow into CFLAGS"
This reverts commit 7a27ecb5da.

Should be unneeded with GCC 14.
2024-08-29 15:10:34 +08:00
Xi Ruoyao
c2fa5fc088
Merge remote-tracking branch 'origin/trunk' into xry111/loongarch 2024-08-29 14:58:29 +08:00
Xi Ruoyao
73f24adb27
changelog: Hide sysklogd and bootscript change for systemd revision 2024-08-29 14:53:37 +08:00
Bruce Dubbs
2b76c898f5 Minor wording change. 2024-08-27 10:44:59 -05:00
Xi Ruoyao
2ca7fca799
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-27 16:58:46 +08:00
Xi Ruoyao
5f54f8e4dd
loongarch: Revert "Binutils: Apply an upstream fix for LTO"
This reverts commit 8b8b87bcb2.

The change is upstreamed in 2.43.
2024-08-27 12:50:48 +08:00
Xi Ruoyao
2b40822e66
Merge remote-tracking branch 'origin/trunk' into xry111/loongarch 2024-08-27 12:49:27 +08:00
Xi Ruoyao
68c63ae3af
Some About SBUs page reword 2024-08-27 12:32:31 +08:00
Bruce Dubbs
eae9237225 Add more detail to the About SBUs page. 2024-08-26 17:59:31 -05:00
Xi Ruoyao
04befc5e3c
aboutsbus: Add power profile info 2024-08-26 02:49:01 +08:00
Xi Ruoyao
504e3782c1
Merge remote-tracking branch 'origin/trunk' into xry111/loongarch 2024-08-25 15:40:55 +08:00
Xi Ruoyao
948cd148be
Update to lfs-bootscripts-20240825
Co-authored-by:	Andrew Kreimer <algonell@gmail.com>
2024-08-25 15:37:38 +08:00
Andrew Kreimer
6e99fa99c7
Fix typos
Signed-off-by: Andrew Kreimer <algonell@gmail.com>
2024-08-25 15:37:34 +08:00
Bruce Dubbs
7779960772 Turn off network logging by default. 2024-08-24 15:45:30 -05:00
Xi Ruoyao
7e06dddcf6
loongarch: grub: Don't insmod all_video
Align with the BLFS change to avoid display corruption issue in QEMU.
2024-08-25 01:02:27 +08:00
Xi Ruoyao
993a7896b3
Merge remote-tracking branch 'origin/trunk' into xry111/loongarch 2024-08-25 01:01:43 +08:00
Bruce Dubbs
872a378f5e Typos on comments.
These changes are all in comments that do not affect the books in any way.
2024-08-23 14:01:06 -05:00
Xi Ruoyao
54c0a86cd0
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.

Check /sys/class/graphics/fbcon instead of /sys/class/graphics/fb0 to
fix the issue.

Closes: https://lists.linuxfromscratch.org/sympa/arc/lfs-support/2024-08/msg00001.html
Reported-by: Alan Ianson <agianson@gmail.com>
2024-08-23 19:36:09 +08:00
Douglas R. Reno
db7bf1f8e9 systemd configuration: adjust some wording 2024-08-19 09:55:19 -05:00
Xi Ruoyao
d1ccec207f
whatsnew: Remove glibc-2.39-upstream_fixes-1.patch entry
It's added after 12.1 release and removed before 12.2 release, so when
we compare 12.1 and 12.2 it's neither added nor removed and it just
seems never existed.
2024-08-19 13:56:23 +08:00
Xi Ruoyao
217802b9c0
gcc-pass2: Fix description of LDFLAGS_FOR_TARGET=
Pass 2 libstdc++ still links to libgcc.a even with LDFLAGS_FOR_TARGET=,
despite this libgcc.a is from pass 2 instead of pass 1.

The difference between pass 2 libgcc and pass 1 libgcc is Glibc wasn't
installed when the pass 1 libgcc was built.  This difference causes both
consequences (1) pass 1 libgcc lacks shared library and (2) pass 1
libgcc cannot support C++ EH, but it's not (1) causing (2).
2024-08-19 13:56:08 +08:00
Bruce Dubbs
837731717d Minor grammar change. 2024-08-18 20:02:08 -05:00
Bruce Dubbs
10aa6482f7 Move glibc-2.39-upstream_fix patch in what's new from Added: to Removed: 2024-08-18 14:47:14 -05:00
Douglas R. Reno
fcbbf46ced Update systemd and dbus stats for 12.2 2024-08-17 18:29:37 -05:00
Bruce Dubbs
4c522f3775 Package updates.
Update to setuptools-72.2.0.
Update to kmod-33.
Update to binutils-2.43.1.
Update to linux-6.10.5.
2024-08-17 16:08:56 -05:00
Bruce Dubbs
a1a1f9f4de Package updates.
Update to iana-etc-20240806.
Update to pkgconf-2.3.0.
Update to python3-3.12.5.
Update to linux-6.10.4.
2024-08-14 10:36:40 -05:00
Xi Ruoyao
1e2c41871f
kernel: Really fix missing revision attribute 2024-08-13 16:52:16 +08:00
Thomas Trepl
82711db81d Fix missing attribute 'revision' 2024-08-13 09:16:25 +02:00
Xi Ruoyao
aa00b47601
build: Use -r for git ls-tree in make dist
Without this we may pack things like *.swp into the tarball.
2024-08-12 19:20:16 +08:00
Andrew Kreimer
a18957940c
docs: fix a typo
In section "5.3. GCC-13.2.0 - Pass 1",
the string "The are not strictly needed"
should have "They".

Fix that.
2024-08-09 22:24:18 +08:00
Xi Ruoyao
93bffa3abf
Regenerate kernel configuration with Linux 6.10.2 source
Now all DRM drivers are entries in the DRM submenu.
2024-08-09 15:49:05 +08:00
Xi Ruoyao
1ff846e252
Merge remote-tracking branch 'origin/trunk' into xry111/loongarch 2024-08-09 00:10:35 +08:00
Xi Ruoyao
a600e7273f
loongarch: Document a known failure 2024-08-09 00:10:22 +08:00
Xi Ruoyao
079ced733c
pkgconf: Switch home page to GitHub
The upstream maintainer told me (s)he is not controlling pkgconf.org as
at now.
2024-08-06 11:12:09 +08:00
Bruce Dubbs
dd151db302 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.
2024-08-05 13:07:12 -05:00
Xi Ruoyao
653ead1781
toolchaintechnotes: 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-05 12:08:18 +08:00
Xi Ruoyao
678acc1775
toolchaintechnotes: Update the paragraph describing ch05 glibc
We no longer pass CC="$LFS_TGT-gcc -nostdinc -isysroot" since
cross-chap5.
2024-08-05 12:02:35 +08:00
Bruce Dubbs
7119cf2a83 Fix a minor issue with liblz4.pc. 2024-08-04 16:28:24 -05:00
Bruce Dubbs
175b2b6ab6 Typo 2024-08-04 16:21:55 -05:00
Xi Ruoyao
5096a206fb
loongarch: Revert "systemd: Add -Wno-format-overflow workaround"
This reverts commit 76ef88ee13.

It seems unneeded now with GCC 14.
2024-08-04 02:20:26 +08:00
Xi Ruoyao
e7eaa1eca4
loongarch: Revert "gdbm: Update config.{guess,sub}"
This reverts commit f7cdb10929.

No longer needed for gdbm-1.24.
2024-08-03 11:12:53 +08:00
Xi Ruoyao
479d3bcb90
Merge remote-tracking branch 'origin/trunk' into xry111/loongarch 2024-08-02 17:44:22 +08:00
Bruce Dubbs
5ff15e6275 Package updates.
Update to setuptools-71.1.0.
Update to gcc-14.2.0.
2024-08-01 14:46:50 -05:00
Bruce Dubbs
8aa80e434d Make capitalization os SysVinit consistent. 2024-07-31 16:59:30 -05:00
Douglas R. Reno
5717a3d267 Update the stats for the systemd man pages 2024-07-31 16:32:37 -05:00
Xi Ruoyao
39bdcbafb2
whatsnew: Make Sysvinit entry same as the section title
Make them consistent and reduce one string for the translators.
2024-08-01 00:29:32 +08:00
Xi Ruoyao
f6eb3399d5
automake: Remove outdated test failure notice
These failures are fixed in automake-1.17 release.
2024-08-01 00:17:10 +08:00
Bruce Dubbs
44c33588fd Package updates
Update to iana-etc-20240723.
Update to glibc-2.40.
Update to iproute2-6.10.0.
Update to linux-6.10.2.
Update to lz4-1.10.0.
Update to meson-1.5.1.
Update to setuptools-71.1.0.
Update to sysklogd-2.6.1.
Update to systemd-256.4.
Update to sysvinit-3.10.
2024-07-31 10:37:57 -05:00
Bruce Dubbs
d2ac702634 Update currency for openssl. 2024-07-25 11:17:54 -05:00
Bruce Dubbs
0d6c94f1bf Fix name and currency for lz4. 2024-07-24 23:05:08 -05:00