aboutsummaryrefslogtreecommitdiffstats
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
parenta3d62322b5103a2b0c7e4fb28de3a94252ddb262 (diff)
gcc: fix PR101749
https://wiki.linuxfromscratch.org/blfs/ticket/15350 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101749
-rw-r--r--chapter01/changelog.xml13
-rw-r--r--chapter08/gcc.xml12
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
@@ -43,6 +43,19 @@
appropriate for the entry or if needed the entire day's listitem.
-->
<listitem>
+ <para>2021-08-06</para>
+ <itemizedlist>
+ <listitem>
+ <para>[xry111] - Fix
+ <filename class="libraryfile">libasan.a</filename> building
+ GCC with Glibc-2.34. Addresses
+ <ulink url="https://wiki.linuxfromscratch.org/blfs/ticket/15350">
+ BLFS #15350</ulink>.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>2021-08-02</para>
<itemizedlist>
<listitem>
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>