From a04b3d39318a0d1fefa255a47511e6b852242235 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Fri, 6 Aug 2021 21:37:01 +0800 Subject: [PATCH] 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.