diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 3067c7570..748861d26 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -39,6 +39,32 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + 2023-02-02 + + + [xry111] - Update to glibc-2.37. Fixes + #5203. + + + [xry111] - Update to bc-6.2.3. Fixes + #5204. + + + [xry111] - Update to linux-6.1.9. Fixes + #5205. + + + [xry111] - Update to vim-9.0.1273. Addresses + #4500. + + + [xry111] - Remove + for libffi. + + + + 2023-02-01 diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index 7a013bc96..b9d0ff7e1 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -67,11 +67,6 @@ ln -sfv ../lib/ld-linux-x86-64.so.2 $LFS/lib64/ld-lsb-x86-64.so.3 - Fix an issue building Glibc with parallel jobs and make-4.4 - or later: - -sed '/MAKEFLAGS :=/s/)r/) -r/' -i Makerules - Some of the Glibc programs use the non-FHS-compliant /var/db directory to store their runtime data. Apply the following patch to make such programs store their diff --git a/chapter08/bash.xml b/chapter08/bash.xml index 5eb49505a..a8bf2b871 100644 --- a/chapter08/bash.xml +++ b/chapter08/bash.xml @@ -87,6 +87,19 @@ lassign [wait] _ _ _ value exit $value EOF + The test suite uses diff to detect the + difference between test script output and the expected output. Any + output from diff (prefixed with + < and + >) indicates a test failure, unless + there is a message saying the difference can be ignored. + + One test named run-builtins is known to fail on + some host distros with a difference on the first line of the + output. + Install the package: make install diff --git a/chapter08/binutils.xml b/chapter08/binutils.xml index b1cbc8d57..df4fb90c1 100644 --- a/chapter08/binutils.xml +++ b/chapter08/binutils.xml @@ -184,22 +184,7 @@ cd build Twelve tests fail in the gold test suite when the and - options are passed to GCC. - - The test named ar with versioned solib is also - known to fail. - - Because of a race between the gas test suite and the gprofng test suite, - some gas tests may fail if parallel jobs are used. If you are not - assured of the correctness of gas, invoke - make check-gas to run the gas test suite separately and - all tests should pass. + options are passed to GCC. Install the package: @@ -208,7 +193,7 @@ cd build Remove useless static libraries and an empty man page: rm -fv /usr/lib/lib{bfd,ctf,ctf-nobfd,sframe,opcodes}.a -rm -fv /usr/share/man/man1/gprofng.1 +rm -fv /usr/share/man/man1/{gprofng,gp-*}.1 diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml index 521ebefe7..f8d66ec45 100644 --- a/chapter08/glibc.xml +++ b/chapter08/glibc.xml @@ -43,11 +43,6 @@ Installation of Glibc - First, fix an issue building Glibc with parallel jobs and Make-4.4 - or later: - -sed '/MAKEFLAGS :=/s/)r/) -r/' -i Makerules - Some of the Glibc programs use the non-FHS compliant /var/db directory to store their runtime data. Apply the following patch to make such programs @@ -55,6 +50,12 @@ patch -Np1 -i ../&glibc-fhs-patch; + + Fix an issue identified upstream: + +sed '/width -=/s/workend - string/number_length/' \ + -i stdio-common/vfprintf-process-arg.c + The Glibc documentation recommends building Glibc in a dedicated build directory: @@ -172,12 +173,6 @@ esac is known to fail in the LFS chroot environment. - - The nss/tst-nss-files-hosts-long - test is known to fail if the system has no non-loopback IP - addresses. - - The stdlib/tst-arc4random-thread diff --git a/chapter08/libelf.xml b/chapter08/libelf.xml index eec399e41..44b278620 100644 --- a/chapter08/libelf.xml +++ b/chapter08/libelf.xml @@ -58,8 +58,9 @@ make check - One test named run-low_high_pc.sh is known to - fail on 32-bit x86 systems. + + The test named run-native-test.sh is known to + fail. Install only Libelf: diff --git a/chapter08/libffi.xml b/chapter08/libffi.xml index 1877de101..7fe18b0a7 100644 --- a/chapter08/libffi.xml +++ b/chapter08/libffi.xml @@ -62,8 +62,7 @@ ./configure --prefix=/usr \ --disable-static \ - --with-gcc-arch=native \ - --disable-exec-static-tramp + --with-gcc-arch=native The meaning of the configure option: @@ -81,17 +80,6 @@ the x86 options in the GCC manual. - - - - --disable-exec-static-tramp - - Disable static trampoline support, a new security - feature in Libffi. Some BLFS packages (notably - GJS) have not been adapted for it. - - - Compile the package: diff --git a/chapter08/mpfr.xml b/chapter08/mpfr.xml index 7237b1ecb..2d16053de 100644 --- a/chapter08/mpfr.xml +++ b/chapter08/mpfr.xml @@ -41,6 +41,20 @@ Installation of MPFR + + Fix a test case based on a bug of old Glibc releases: + +sed -e 's/+01,234,567/+1,234,567 /' \ + -e 's/13.10Pd/13Pd/' \ + -i tests/tsprintf.c + Prepare MPFR for compilation: ./configure --prefix=/usr \ @@ -58,7 +72,7 @@ make html Do not skip it under any circumstances. - Test the results and ensure that all 183 tests passed: + Test the results and ensure that all 197 tests passed: make check diff --git a/packages.ent b/packages.ent index 5a39ab8c4..5c80e5f1b 100644 --- a/packages.ent +++ b/packages.ent @@ -58,11 +58,11 @@ - - + + - - + + @@ -255,10 +255,10 @@ - - + + - + @@ -433,12 +433,12 @@ - + - + - + - + - - + +