Commit Graph

9937 Commits

Author SHA1 Message Date
Xi Ruoyao
0b4c2e218b
multilib: Update host kernel requirement for multilib
Switch to the new kernel config rendering infrastructure.  Remove the
"IA32 a.out support" which is already removed and was completely useless
for multilib even before the removal.  Mention the new "IA32 emulation
disabled by default" option.  Separate mx32 and m32 kernel
configuration.  Fix the consequences building a multilib when lacking
the corresponding kernel feature.
2024-09-08 14:21:09 +08:00
Xi Ruoyao
f54ecb3281
kernel-config: Add support to set arch
To be used for multilib.
2024-09-08 14:04:36 +08:00
Thomas Trepl
f33eca9bf1 Linker name depends on target system, not host system 2024-08-30 10:20:37 +02:00
Thomas Trepl
d2eb97b78a Automatic merge of trunk into multilib 2024-08-28 00:30:14 +02: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
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
Thomas Trepl
3eb188ef3b Automatic merge of trunk into multilib 2024-08-26 00:30:13 +02:00
Xi Ruoyao
04befc5e3c
aboutsbus: Add power profile info 2024-08-26 02:49:01 +08:00
Thomas Trepl
1d6a2e2289 Automatic merge of trunk into multilib 2024-08-25 14:49:38 +02: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
Thomas Trepl
c1c0428a67 Automatic merge of trunk into multilib 2024-08-24 23:24:47 +02:00
Bruce Dubbs
7779960772 Turn off network logging by default. 2024-08-24 15:45:30 -05:00
Thomas Trepl
5b2a5c6020 Automatic merge of trunk into multilib 2024-08-24 00:30:10 +02: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
Thomas Trepl
94134b65d6 Automatic merge of trunk into multilib 2024-08-20 00:30:12 +02:00
Douglas R. Reno
db7bf1f8e9 systemd configuration: adjust some wording 2024-08-19 09:55:19 -05:00
Thomas Trepl
75b797bbe7 Automatic merge of trunk into multilib 2024-08-19 12:24:36 +02: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
Thomas Trepl
46ff7d0f4b Automatic merge of trunk into multilib 2024-08-19 07:54:52 +02:00
Thomas Trepl
b9178d32d3 Disable manpages in m?32 too 2024-08-19 07:52:44 +02:00
Bruce Dubbs
837731717d Minor grammar change. 2024-08-18 20:02:08 -05:00
Thomas Trepl
54e6b31710 Automatic merge of trunk into multilib 2024-08-19 00:30:10 +02: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
Thomas Trepl
42a56cd9c3 Automatic merge of trunk into multilib 2024-08-18 00:30:11 +02: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
Thomas Trepl
845aba9444 Automatic merge of trunk into multilib 2024-08-15 00:30:12 +02: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
Thomas Trepl
cc0c56bc88 Automatic merge of trunk into multilib 2024-08-14 00:30:11 +02:00
Xi Ruoyao
1e2c41871f
kernel: Really fix missing revision attribute 2024-08-13 16:52:16 +08:00
Thomas Trepl
22a9cba854 Merge branch 'trunk' into multilib 2024-08-13 09:21:30 +02:00
Thomas Trepl
82711db81d Fix missing attribute 'revision' 2024-08-13 09:16:25 +02:00
Thomas Trepl
54d46f7475 Automatic merge of trunk into multilib 2024-08-13 00:30:12 +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
Thomas Trepl
08dc6a9845 Automatic merge of trunk into multilib 2024-08-10 00:30:13 +02: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
Thomas Trepl
aa61690d28 Automatic merge of trunk into multilib 2024-08-07 00:30:13 +02: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
Thomas Trepl
4937664e1e Automatic merge of trunk into multilib 2024-08-06 00:30:11 +02: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
Thomas Trepl
89ef06f3ec Automatic merge of trunk into multilib 2024-08-05 00:30:10 +02:00
Bruce Dubbs
7119cf2a83 Fix a minor issue with liblz4.pc. 2024-08-04 16:28:24 -05:00