Commit Graph

9364 Commits

Author SHA1 Message Date
Xi Ruoyao
adb257913e
loongarch: standards: Fix LSB info
The standard page wasn't adapted for LoongArch since day one.  Remove
the references to IA32 and AMD64, and state there's no LoongArch
specific part of LSB.  Also we cannot satisify some (really
unreasonable) requirements on symbol versions with Glibc on LoongArch.

By the way drop libutil.so.1 from Glibc contents as it does not exist on
LoongArch.

Link: https://sourceware.org/bugzilla/show_bug.cgi?id=31136#c11
2024-09-27 01:01:54 +08:00
Xi Ruoyao
a77130cb0b
Merge remote-tracking branch 'origin/trunk' into xry111/loongarch 2024-09-27 00:19:22 +08:00
Xi Ruoyao
d77b09e5d0
standards: Fix it up to date
The info has been severly outdated.  And some info is even incorrect
from day one, for example even Glibc and GCC are not listed for LSB core
(they provide libc.so.6, libstdc++.so.6, etc.).
2024-09-26 03:10:31 +08:00
Xi Ruoyao
2a2b22823c
network: Fix the /etc/hosts line for local machine
Since r10520-gcba2d4e6 the IP address of the local machine is assumed
192.168.1.2 (instead of 192.168.1.1) but the hosts line isn't updated.
2024-09-26 01:12:54 +08:00
Xi Ruoyao
2fe2d58620
changelog: Fix a typo 2024-09-22 20:56:47 +08:00
Bruce Dubbs
984e1f1068 Package updates.
Update to vim-9.1.0738.
Update to texinfo-7,1,1.
Update to tcl8.6.15.
Update to sysklogd-2.6.2.
Update to setuptools-75.1.0.
Update to meson-1.5.2.
Update to iana-etc-20240912.
Update to gawk-5.3.1.
Update to bc-7.0.2.
2024-09-21 23:13:41 -05:00
Xi Ruoyao
8f103e6738
Merge remote-tracking branch 'origin/trunk' into xry111/loongarch 2024-09-19 14:04:54 +08:00
Xi Ruoyao
c080648959
grub: Explain moving bash completion file 2024-09-17 03:22:48 +08:00
Bruce Dubbs
92bb02a329 Update openssl URL. 2024-09-14 09:33:38 -05:00
Bruce Dubbs
75c9760329 Package updates.
Update to tzdata-2024b. Fixes
Update to systemd-256.5. Fixes
Update to setuptools-74.1.2. Fixes
Update to python3-3.12.6. Fixes
Update to openssl-3.3.2. Fixes
Update to man-db-2.13.0. Fixes
Update to linux-6.10.8. Fixes
Update to libpipeline-1.5.8. Fixes
Update to expat-2.6.3. Fixes
Update to bc-7.0.1. Fixes
+
2024-09-07 18:00:09 -05:00
Bruce Dubbs
c5fbd9da12 Minor grammar fix. 2024-09-04 09:59:12 -05:00
Xi Ruoyao
e4b4449d11
ncurses: Simplify evading from mawk
Since it's overridable with the command line, just override it instead
of using a sed.
2024-09-04 20:21:58 +08:00
Xi Ruoyao
39dca771d7
openssl: Update the home page
It seems openssl.org is now the home page of OpenSSL Software Foundation
Inc, and the home page of the OpenSSL project is separated.
2024-09-04 20:20:30 +08:00
Xi Ruoyao
9d21a41996
loongarch: grub: Fix hard coded "i386-pc" for grub module path 2024-09-04 00:18:40 +08:00
Xi Ruoyao
5f2246f968
loongarch: grub: Remove insmod efi_uga
UGA is x86 specific and the module does not exist on other UEFI
platforms.
2024-09-04 00:16:28 +08:00
Xi Ruoyao
d63f373f24
Merge remote-tracking branch 'origin/trunk' into xry111/loongarch 2024-09-04 00:14:44 +08:00
Xi Ruoyao
f2c8c6e025
dependencies: Remove inconsistent punctuation 2024-09-03 11:05:44 +08:00
Xi Ruoyao
d6a0f72269
Merge remote-tracking branch 'origin/trunk' into xry111/loongarch 2024-09-02 18:20:52 +08:00
Bruce Dubbs
4b8c6b4f61 Set up after lfs-12.2 2024-08-31 11:13:01 -05:00
Bruce Dubbs
2e3aaf8b43 Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2024-08-29 10:02:46 -05:00
Bruce Dubbs
67056c18a5 Typo 2024-08-29 10:02:14 -05:00
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