guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#64218] [PATCH 3/7] gnu: clang-15: Fix building on i686-linux.


From: Efraim Flashner
Subject: [bug#64218] [PATCH 3/7] gnu: clang-15: Fix building on i686-linux.
Date: Thu, 22 Jun 2023 12:19:10 +0300

* gnu/packages/llvm.scm (clang-from-llvm)[arguments]: When building at
least version 15 for i686-linux skip the 'make-dynamic-linker-cache
phase.
---
 gnu/packages/llvm.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 9764552a62..d36a95879a 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -408,7 +408,11 @@ (define* (clang-from-llvm llvm clang-runtime
                             (mkdir-p compl-dir)
                             (rename-file "bash-autocomplete.sh"
                                          (string-append compl-dir "/clang")))))
-                      #t)))))
+                      #t))
+                  ;; GC Warning: Out of Memory! Heap size: 3636 MiB. Returning 
NULL!
+                  ,@(if (and (version>? version "15") (target-x86-32?))
+                        `((delete 'make-dynamic-linker-cache))
+                        '()))))
 
     ;; Clang supports the same environment variables as GCC.
     (native-search-paths
-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted






reply via email to

[Prev in Thread] Current Thread [Next in Thread]