Commit Graph

71 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
David Bryant
3c5ecc9121 "Test suite" is two words. 2022-12-14 08:47:53 -06: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
David Bryant
27601131e4 Correctd the spelling of "Werror" -- it's "-Werror" in GCC, but
it's "--disable-error" in Glibc. Thanks to Thomas Trepl for spotting
my mistake.
2022-11-17 16:14:42 -06:00
David Bryant
091d624df5 Correct capitalization, spelling, grammar, and idiom. Tighten the
prose by removing some circumlocutions.
2022-11-17 12:08:13 -06:00
Xi Ruoyao
d45f50d26d
glibc: fix parallel build issue with make-4.4
We only need a one-line change in upstream fix (because we don't use
"make --shuffle").  Add it as a sed for both Chapter 5 and Chapter 8.

Note that the "minimal" sed would be '/MAEKFLAGS :=/s/r/ -r/'.  I
included an additional ')' so it won't modify "-r" again to "- -r".

Tested "make" and "make check" on a x86_64 with -j8 and an arm64 with
-j24.

Link: https://sourceware.org/git/?p=glibc.git;a=commit;h=2d7ed98add14
2022-11-01 11:05:05 +08:00
Bruce Dubbs
3f4304998a Package updates.
Update to iana-etc-20221025.
Update to tzdata-2022f.
Update to Python3-3.11.0.
Update to procps-ng-4.0.1.
Update to man-pages-6.01.
Update to man-db-2.11.0.
Update to make-4.4.
Update to linux-6.0.6.
Update to libffi-3.4.4.
Update to inetutils-2.4.
Update to expat-2.5.0.

Note: I had to run glibc in Chapter 8 at -j1 to avoid an apparant race
condition.  With a little more investigation I may be able to find a
better solution.
2022-10-31 18:42:52 -05:00
Xi Ruoyao
3bac16dcd4
glibc: update total test count
I have:

      2 FAIL
   5092 PASS
     67 UNSUPPORTED
     16 XFAIL
      4 XPASS

Let's not be too precise (or we'll need to explain the meaning of
"UNSUPPORTED").  IMO "over 5000" is fine (until we get 5500 tests).
2022-10-03 18:06:09 +08:00
Xi Ruoyao
85cdcb0980
glibc: don't mention "/lib" as ld.so search path anymore
Text change only.

Since 11.0, /lib is a symlink to usr/lib.  With libc_cv_slibdir=/usr/lib,
/lib won't be searched by default anymore (if someone mess up the system
by removing /lib symlink and create an real directory there, for example
the initramfs before r10.1-439).
2022-08-24 23:42:27 +08:00
Xi Ruoyao
20007e51c2
glibc: update test status
Text change only.

Add tst-arc4random-thread failure recently reported to upstream, remove
namespace related failures as they are UNSUPPORTED now in 2.36.
2022-08-23 18:43:10 +08:00
Xi Ruoyao
c500323f9b
document some newly reported test failures 2022-06-21 19:53:05 +08:00
Xi Ruoyao
0c0b88293b
minor reword for glibc test failures on slow systems
I've observed some failures building LFS on my old i3-3217U (at 1.8 GHz
with -j4), but forgot to update the book.  Just got reminded by a
lfs-support post.
2022-06-21 17:12:06 +08:00
Bruce Dubbs
bcb20b4701 Speling 2022-03-24 12:11:57 -05:00
Xi Ruoyao
582da16ec4
glibc: fix the desc of nss/tst-nss-files-hosts-multi failure, and ...
mention nss/tst-nss-files-hosts-long failure

It seems I was confused by the two failures with similar name, when I
added the description.
2022-03-15 00:26:26 +08:00
Xi Ruoyao
186f52656e
glibc: document tst-nss-files-hosts-multi failure ...
on the systems without non-loopback IP address

We'd observed this long ago with "unknown reason".  I just saw it again
and did some investigation, found it depends on getaddrinfo() with
AI_ADDRCONFIG, which requires a non-loopback address.
2022-02-22 16:44:04 +08:00
Xi Ruoyao
b7daa52a5c
glibc: update desc for content
Add libc_malloc_check.so (it's like libmcheck.a, but should be used with
LD_PRELOAD).

Add description for libmvec.

"libnss" -> "libnss_*", and reword the description.
2022-02-17 19:39:07 +08:00
Bruce Dubbs
8dd179b044 Fix typos in glibc and for systemd-oom group syntax 2022-02-15 13:22:46 -06:00
Xi Ruoyao
81d3242ba4
glibc: add ld.so to programs list
Quote from the NEWS file:

    A symbolic link to the dynamic linker is now installed under
    /usr/bin/ld.so (or more precisely, '${bindir}/ld.so').
2022-02-13 11:01:29 +08:00
Xi Ruoyao
db3c501657
glibc: update contents & descriptions for 2.35 2022-02-11 11:18:13 +08:00
Xi Ruoyao
21dd2f064f
glibc: Makefile is not generated 2022-02-05 17:03:33 +08:00
Thomas Trepl (Moody)
651c74bef9 Remove unnecessary sed in glibc-2.35 2022-02-04 10:51:57 +01:00
Bruce Dubbs
a5d31dd654 Package updates and a patch.
Add coreutils-9.0 chmod patch.
Update to glibc-2.35.
Update to linux-5.16.5.
Update to findutils-4.9.0.
Update to expat-2.4.4.
Update to iana-etc-20220128.
2022-02-03 13:02:19 -06:00
Bruce Dubbs
d02074e9bc Minor wording change 2021-11-01 08:49:48 -05:00
Pierre Labastie
d672ab7d66 Remove spaces at end o lines - chapter08 2021-09-07 22:33:18 +02:00
Bruce Dubbs
de8b6cb08a Fix security issue in Chapter 8 glibc.
Add a sed to glibc in Chapter 8 to fix a critical security issue.
2021-08-20 15:47:13 -05:00
Bruce Dubbs
58ccce58b6 Clean up glibc list of test failures 2021-08-09 14:17:31 -05:00
Xi Ruoyao
99b29384ca
minor typo 2021-08-04 00:26:51 +08:00
Bruce Dubbs
9c7598cc15 Package updates.
Update to glibc-2.34.
Update to diffutils-3.8.
Update to libcap-2.52.
2021-08-02 20:52:40 -05:00