aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2021-08-06 21:37:01 +0800
committerXi Ruoyao <xry111@mengyan1223.wang>2021-08-06 21:37:01 +0800
commita04b3d39318a0d1fefa255a47511e6b852242235 (patch)
treef458d95feb8b8002912d1f5d941575f1ca5c3f9a /chapter08
parenta3d62322b5103a2b0c7e4fb28de3a94252ddb262 (diff)
gcc: fix PR101749
https://wiki.linuxfromscratch.org/blfs/ticket/15350 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101749
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/gcc.xml12
1 files changed, 8 insertions, 4 deletions
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 @@
<sect2 role="installation">
<title>Installation of GCC</title>
+ <para>At first, fix an issue breaking
+ <filename class="libraryfile">libasan.a</filename> building this package
+ with Glibc-2.34:</para>
+
+<screen><userinput remap="pre">sed -e '/static.*SIGSTKSZ/d' \
+ -e 's/return kAltStackSize/return SIGSTKSZ * 4/' \
+ -i libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp</userinput></screen>
+
<para>If building on x86_64, change the default directory name for 64-bit
libraries to <quote>lib</quote>:</para>
@@ -124,10 +132,6 @@ su tester -c "PATH=$PATH make -k check"</userinput></screen>
<!-- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101081 -->
<para>Eight tests related to analyzer are known to fail.</para>
- <!-- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101749 -->
- <para>Seven tests related to <filename>pr59063-2.c</filename> are known
- to fail.</para>
-
<!-- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101751 -->
<para>One test named <filename>asan_test.C</filename> is known to
fail.</para>