[blfs] 01/04: llvm: add upstream fix for the bug exploited by new rustc

git Owner ([email protected] via blfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.book
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository blfs.

commit a04c1a2012b3106e4399e683257929398d91d49e
Author: Xi Ruoyao <[email protected]>
AuthorDate: Sat Jul 18 14:45:01 2026 +0800

    llvm: add upstream fix for the bug exploited by new rustc
---
 general/prog/llvm.xml              | 16 ++++++++++++++++
 introduction/welcome/changelog.xml | 11 +++++++++++
 2 files changed, 27 insertions(+)

diff --git a/general/prog/llvm.xml b/general/prog/llvm.xml
index dee0a10e10..16d4961467 100644
--- a/general/prog/llvm.xml
+++ b/general/prog/llvm.xml
@@ -86,6 +86,16 @@
       </listitem>
     </itemizedlist>
 
+    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
+    <itemizedlist spacing='compact'>
+      <listitem>
+        <para>
+          Required patch: <ulink
+          url="&patch-root;/llvm-&llvm-version;-upstream_fix-1.patch"/>
+        </para>
+      </listitem>
+    </itemizedlist>
+
     <bridgehead renderas="sect3">LLVM Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Required</bridgehead>
@@ -121,6 +131,12 @@
   <sect2 role="installation">
     <title>Installation of LLVM</title>
 
+    <para>
+      At first, fix a bug causing wrong code on some conditions:
+    </para>
+
+    <screen><userinput>patch -Np1 -i ../llvm-&llvm-version;-upstream_fix-1.patch</userinput></screen>
+
     <para>
      There are many Python scripts in this package which use
      <command>/usr/bin/env python</command> to access the system Python
diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml
index 682aaf1496..f610690e5a 100644
--- a/introduction/welcome/changelog.xml
+++ b/introduction/welcome/changelog.xml
@@ -39,6 +39,17 @@
   <itemizedlist>
     <title>Changelog Entries:</title>
 
+    <listitem>
+      <para>July 18th, 2026</para>
+      <itemizedlist>
+        <listitem>
+          <para>[xry111] - Patch LLVM to fix a bug which might break
+          the upcoming Rust update.  Part of
+          <ulink url="&blfs-ticket-root;23608">#23608</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>July 17th, 2026</para>
       <itemizedlist>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.