From cefe50534a0f76741a2113d251992ee36629528f Mon Sep 17 00:00:00 2001 From: Ken Moffat Date: Tue, 29 Jun 2021 01:28:36 +0100 Subject: [PATCH 1/5] Add more locales used in gcc's libstdc++ testsuite. --- chapter01/changelog.xml | 11 +++++++++++ chapter08/gcc.xml | 11 ++++++++--- chapter08/glibc.xml | 11 ++++++++++- 3 files changed, 29 insertions(+), 4 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 39973d6d1..eaa4add22 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -42,6 +42,17 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + 2021-06-28 + + + [ken] - If installing individual locales, add 9 more + used by libstdc++-v3 tests. Fixes + #4877. + + + + 2021-06-27 diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml index d47590436..28a39a770 100644 --- a/chapter08/gcc.xml +++ b/chapter08/gcc.xml @@ -121,10 +121,15 @@ su tester -c "PATH=$PATH make -k check" url="&test-results;"/> and . - Six tests related to get_time are known to fail. These are - apparently related to the en_HK locale. + In g++, three tests in constexpr-52830 are known to fail and + also to be treated as unexpected successes (XPASS) even though they + report 'internal compiler error'. - Additionally, three tests in constexpr-52830 are known to fail. + + In libstdc++, one numpunct test and six tests related to get_time are + known to fail. These are all because the locale definitions in glibc have + changed and the tests do not currently support those changes. @@ -155,6 +156,7 @@ su tester -c "PATH=$PATH make -k check" is not enabled in the kernel even though it is present on the CPU. + Install the package and remove an unneeded directory: make install From e3d0e26c73f30ced8327676a52c15a8efff19612 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Wed, 30 Jun 2021 11:52:11 +0800 Subject: [PATCH 3/5] gcc: correct desc of locale related tests --- chapter08/gcc.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml index ae085f0f1..f7facefdd 100644 --- a/chapter08/gcc.xml +++ b/chapter08/gcc.xml @@ -130,7 +130,7 @@ su tester -c "PATH=$PATH make -k check" https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71367 --> In libstdc++, one numpunct test and six tests related to get_time are known to fail. These are all because the locale definitions in glibc have - changed and the tests do not currently support those changes. + changed but libstdc++ does not currently support those changes. + + 2021-07-01 + + + [ken] - Patch gcc to fix some regressions (will be + needed to build firefox-91ESR in BLFS) and to allow it to + build against linux-5.13.0 kernel headers. Fixes + #4875. + + + + 2021-06-28 diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index d77cb7e41..41d3879a8 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -281,6 +281,9 @@ + + gcc-11.1.0-upstream_fixes-1.patch + systemd-247-upstream_fixes-2.patch diff --git a/chapter03/patches.xml b/chapter03/patches.xml index 29e6cb127..3dd115094 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -67,15 +67,15 @@ MD5 sum: &glibc-fhs-patch-md5; - + Kbd Backspace/Delete Fix Patch - &kbd-backspace-patch-size;: diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml index f7facefdd..819396e26 100644 --- a/chapter08/gcc.xml +++ b/chapter08/gcc.xml @@ -41,6 +41,11 @@ Installation of GCC + First, apply a patch to fix some regressions and to cope + with the removal of an obsolete kernel header in linux-5.13: + +patch -Np1 -i ../glibc-&glibc-version;-upstream_fixes-1.patch + If building on x86_64, change the default directory name for 64-bit libraries to lib: diff --git a/patches.ent b/patches.ent index 48c6184eb..bf849b05e 100644 --- a/patches.ent +++ b/patches.ent @@ -29,11 +29,11 @@ --> - + + + + + From d8a492a2006ff70a4d9e40595d1502724817e504 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Thu, 1 Jul 2021 16:24:16 -0500 Subject: [PATCH 5/5] Fix gcc patch name in Chapter 8. --- chapter08/gcc.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml index 819396e26..26711f632 100644 --- a/chapter08/gcc.xml +++ b/chapter08/gcc.xml @@ -44,7 +44,7 @@ First, apply a patch to fix some regressions and to cope with the removal of an obsolete kernel header in linux-5.13: -patch -Np1 -i ../glibc-&glibc-version;-upstream_fixes-1.patch +patch -Np1 -i ../gcc-&gcc-version;-upstream_fixes-1.patch If building on x86_64, change the default directory name for 64-bit libraries to lib: