Commit Graph

99 Commits

Author SHA1 Message Date
Xi Ruoyao
f6548ac6b9
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2024-05-09 01:36:31 +08:00
Bruce Dubbs
d0ca5ead46 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 12:42:03 -05:00
Xi Ruoyao
887bf34f49
glibc: Make the command enumerating timed out tests remap="test"
So if a test times out, it will be noted in jhalfs log.

Also remove "-l" so the output will be something like

    ./nptl/tst-thread-affinity-pthread: Timed out ...

instead of just a puzzling "./nptl/tst-thread-affinity-pthread".
2024-03-01 23:44:17 +08:00
Xi Ruoyao
328eb6f3bb
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2024-02-27 23:52:31 +08:00
Bruce Dubbs
283f7119a0
Typos
(cherry picked from commit a2808be815)
2024-02-27 20:48:45 +08:00
Xi Ruoyao
4aa6831f14
glibc: Don't "overwrite" libcrypt.so.1* when updating
As we've already concluded, overwriting a shared object can crash
running processes using code or data from this shared object.  For
example if gdm is crashed, we may leave the system unusable :(.
2024-02-24 13:26:06 +08:00
Xi Ruoyao
bd003a8a8c
glibc: Correctly mark revision='systemd' for a paragraph in update note 2024-02-24 13:15:49 +08:00
Xi Ruoyao
0800455fb6
Glibc: Re-organize test failures and mention how to rule out timed out tests
Glibc tests occansionally fail due to a timeout because:

1. The hardware is slower than the developers expected.
2. Some tests use multiple or even all CPU cores internally, for e.g.
   with 8 active CPU cores we may end up running 8 tests (due to -j8)
   each of them uses 8 cores in the worst case, resulting a severe
   congestion.

I'm almost sure nptl/tst-thread-affinity* are cases of 2.

Let's document how to rule out the timed out tests instead of making the
list of known failures longer and longer.
2024-02-18 15:40:50 +08:00
Bruce Dubbs
28614cdda5 Update descriptions for some test failures. 2024-02-14 15:41:22 -06:00
Xi Ruoyao
677f795cf8
glibc: When update, also regenerate the locales
A Glibc update may contain locale updates, so keep
/usr/lib/locale/locale-archive synced.

Other distros are also doing this when Glibc is updated with the package
manager.
2024-02-03 18:58:14 +08:00
Xi Ruoyao
343ab1388a
Add info about how to upgrade Glibc on a running system
Let's change our policy to match other "rolling release" distros and
ease the procedure to fix Glibc security vulnerabilities.

Squashed the commits in xry111/update-glibc branch to keep the history
clean.

Co-Authored-By: Pierre Labastie <pierre.labastie@neuf.fr>
Co-Authored-By: Douglas R. Reno <renodr@linuxfromscratch.org>
2024-02-02 09:03:51 +08:00
Xi Ruoyao
092b86ad6d
Package updates:
- Update to glibc-2.39 (#5426)
- Update to linux-6.7.3 (#5427)
2024-02-02 09:03:51 +08:00
Xi Ruoyao
bed3894b89
glibc: Add more rationale about --enable-stack-protector, and remove the stale explanation of --with-headers 2024-01-31 17:43:03 +08:00
Xi Ruoyao
40cd8a1801
glibc: Drop --with-headers=/usr/include
The Glibc INSTALL file says:

‘--with-headers=DIRECTORY’
     Look for kernel header files in DIRECTORY, not ‘/usr/include’. ...

So --with-headers=/usr/include seems just doing nothing.
2024-01-29 23:45:33 +08:00
Xi Ruoyao
9f894d5ab9
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2024-01-20 02:08:26 +08:00
Pierre Labastie
7152faa5fa Change all xml files to utf-8 encoding 2024-01-18 20:53:23 +01:00
Pierre Labastie
f1370e2fb9 Change C.UTF-8 localedef everywhere 2024-01-11 13:51:15 +01:00
Douglas R. Reno
fecc287280 Fix the definition of the C.UTF-8 locale.
This fixes a test failure in Epiphany.
2024-01-09 11:16:26 -06:00
Xi Ruoyao
73d91ac621
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2023-12-05 13:12:55 +08:00
Xi Ruoyao
09d148dc28
glibc: Remove nscd from contents 2023-10-02 11:32:45 +08:00
Bruce Dubbs
25b3c0f720 Package updates and one fix.
Disable building nscd in glibc.
Update to iana-etc-20230929.
Update to vim-9.0.1968.
Update to openssl-3.1.3.
Update to meson-1.2.2.
Update to man-db-2.12.0.
Update to linux-6.5.5.
Update to kmod-31.
Update to kbd-2.6.3.
Update to gettext-0.22.2.
Update to bc-6.7.0.
2023-10-01 13:37:57 -05:00
Xi Ruoyao
ba40e32566
systemd: Use NSS modules provided by systemd in nsswitch.conf
It allows a simplification to /etc/hosts.  Also correct some info about
FQDN in both sysv and systemd.
2023-09-14 16:50:37 +08:00
Xi Ruoyao
efd11134bb
Glibc: Fix CVE-2023-4806 2023-09-14 14:32:37 +08:00
Xi Ruoyao
48d8f5a51d
glibc: Fix CVE-2023-4527 2023-09-13 14:32:19 +08:00
Xi Ruoyao
64e8131dd8
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2023-08-27 11:06:02 +08:00
Douglas R. Reno
355efd11a8 glibc: minor typo fix 2023-08-14 14:12:26 -05:00
Bruce Dubbs
f7d3b6ed21 Package updates.
Update to xz-5.4.4.
Update to less-643.
Update to meson-1.2.1.
Update to linux-6.4.10.
Update to iana-etc-20230810.
Update to pkgconf-2.0.1.

All build times and sizes were also checked and updated as needed.
2023-08-14 13:47:25 -05:00
Xi Ruoyao
7a8fcc3918
glibc: Remove sed and option unneeded with 2.38
--disable-crypt is now the default, and the security fix for 2.37 is
included.
2023-08-02 10:54:44 +08:00
Bruce Dubbs
be5b2e03fc Package updates:
Update to vim-9.0.1677.
Update to openssl-3.1.2.
Update to man-pages-6.05.
Update to binutils-2.41.
Update to gmp-6.3.0.
Update to glibc-2.38.
2023-08-01 13:52:22 -05:00
Xi Ruoyao
5f555ba63d
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2023-07-03 19:53:28 +08:00
Xi Ruoyao
bbfb090d2a
glibc: Disable obsolete libcrypt implementation
I've not bothered to write an explanation for --disable-crypt because it
will likely be the default of Glibc-2.38, then we may drop it from the
command lines.
2023-06-30 03:19:20 +08:00
Xi Ruoyao
0eb03e9da7
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2023-06-28 04:59:47 +08:00
Xi Ruoyao
a3bd468940
glibc: Reword the reason to skip test-installation.pl
It won't work even on a "complete LFS system".
2023-06-11 21:20:02 +08:00
Xi Ruoyao
ed9b087f73
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2023-06-05 23:25:22 +08:00
Xi Ruoyao
0f18f2b121
housekeeping after min-kernel bump
Update the rationale for min-kernel in hostreqs.  Add a note in
general.ent about the EOL of current min-kernel.  Realign the
backslashes in glibc instructions.
2023-06-05 23:20:48 +08:00
Xi Ruoyao
e131becf8f
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2023-05-19 14:34:49 +08:00
Xi Ruoyao
8287b51963
glibc: Revive test failure note about old kernel or CPU
But consolidate them into one informative entry as we cannot really test
the instructions on many old systems.
2023-05-16 11:11:01 +08:00
Xi Ruoyao
c2596a447c
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2023-04-23 21:31:12 +08:00
Xi Ruoyao
e9ab2b3af0
glibc: libanl is a dummy now 2023-04-08 22:16:06 +08:00
Xi Ruoyao
91d8e69d18
glibc: Clarify the reference to POSIX.1b and POSIX.1c
The thread functions are in POSIX.1c, not POSIX.1b.

Both POSIX.1b and POSIX.1c are named "extensions" (plural form).  And
POSIX.1b is titled "Real-time" instead of "Realtime".
2023-04-08 21:47:29 +08:00
Xi Ruoyao
83ce6e3161
Merge branch 'trunk' into xry111/arm64 2023-02-28 11:48:28 +08:00
Xi Ruoyao
f405318419
glibc: Note the sed for printf is a security fix
And add a comment about the difference from upstream commit.
2023-02-06 23:59:26 +08:00
Xi Ruoyao
833f3efc01
glibc: Fix an issue identified upstream 2023-02-02 20:42:20 +08:00
Xi Ruoyao
59a0a3c1af
glibc: remove nss/tst-nss-files-hosts-long failure
It's UNSUPPORTED in chroot now, so we cannot see it in LFS build.
2023-02-02 17:29:38 +08:00
Xi Ruoyao
c6c1a068b9
glibc: Remove a sed useless for 2.37 2023-02-02 15:47:05 +08:00
Xi Ruoyao
ed7a3952ff
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2022-12-19 00:20:46 +08:00
David Bryant
3c5ecc9121 "Test suite" is two words. 2022-12-14 08:47:53 -06:00
Xi Ruoyao
1ace4659a7
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2022-11-19 16:27:55 +08:00
Xi Ruoyao
1cc301fbb3
glibc: Decapitalize nsswitch.conf
In UNIX file names are case-sensitive.  You cannot capitialize it even if
it appears in a title.
2022-11-18 13:25:38 +08:00
Xi Ruoyao
7054cc64ea
glibc: it should be --disable-werror, not --disable-Werror
Please try not to use the "replace" feature of the text editor blindly.

Appendix C of the GNU C Library Reference Manual clearly says:

'--disable-werror'
     By default, the GNU C Library is built with '-Werror'.  If you wish
     to build without this option (for example, if building with a newer
     version of GCC than this version of the GNU C Library was tested
     with, so new warnings cause the build with '-Werror' to fail), you
     can configure with '--disable-werror'.
2022-11-18 12:11:04 +08:00