From a3d62322b5103a2b0c7e4fb28de3a94252ddb262 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Fri, 6 Aug 2021 13:49:32 +0800 Subject: [PATCH 1/3] minor wording change --- chapter08/strippingagain.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter08/strippingagain.xml b/chapter08/strippingagain.xml index bf2493b02..a2b6f0263 100644 --- a/chapter08/strippingagain.xml +++ b/chapter08/strippingagain.xml @@ -40,7 +40,7 @@ Read the related entry in for the rationale to use the install command here. - The linux loader's name is ld-linux-x86-64.so.2 on 64-bit systems + The ELF loader's name is ld-linux-x86-64.so.2 on 64-bit systems and ld-linux.so.2 on 32-bit systems. The contruct below selects the correct name for the current architecture. From a04b3d39318a0d1fefa255a47511e6b852242235 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Fri, 6 Aug 2021 21:37:01 +0800 Subject: [PATCH 2/3] gcc: fix PR101749 https://wiki.linuxfromscratch.org/blfs/ticket/15350 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101749 --- chapter01/changelog.xml | 13 +++++++++++++ chapter08/gcc.xml | 12 ++++++++---- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 8adf96f60..78559b1f4 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -42,6 +42,19 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + 2021-08-06 + + + [xry111] - Fix + libasan.a building + GCC with Glibc-2.34. Addresses + + BLFS #15350. + + + + 2021-08-02 diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml index 82de879fa..f09cce6f8 100644 --- a/chapter08/gcc.xml +++ b/chapter08/gcc.xml @@ -41,6 +41,14 @@ Installation of GCC + At first, fix an issue breaking + libasan.a building this package + with Glibc-2.34: + +sed -e '/static.*SIGSTKSZ/d' \ + -e 's/return kAltStackSize/return SIGSTKSZ * 4/' \ + -i libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp + If building on x86_64, change the default directory name for 64-bit libraries to lib: @@ -124,10 +132,6 @@ su tester -c "PATH=$PATH make -k check" Eight tests related to analyzer are known to fail. - - Seven tests related to pr59063-2.c are known - to fail. - One test named asan_test.C is known to fail. From 26560c186ba1803dd7151a818985d7cecd555e46 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Fri, 6 Aug 2021 23:11:00 +0800 Subject: [PATCH 3/3] m4: test-posix_spawn-script does not fail Reported on lfs-dev and confirmed with jhalfs. --- chapter08/m4.xml | 2 -- 1 file changed, 2 deletions(-) diff --git a/chapter08/m4.xml b/chapter08/m4.xml index 341da580a..13b032a25 100644 --- a/chapter08/m4.xml +++ b/chapter08/m4.xml @@ -57,8 +57,6 @@ echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h make check - One test, test-posix_spawn-script, is known to fail. - Install the package: make install