[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
- [bug#64218] [PATCH 0/7] build ldc with llvm-15, Efraim Flashner, 2023/06/22
- [bug#64218] [PATCH 1/7] gnu: python-lit: Update to 16.0.6., Efraim Flashner, 2023/06/22
- [bug#64218] [PATCH 2/7] gnu: clang-runtime-15: Don't delete static libraries., Efraim Flashner, 2023/06/22
- [bug#64218] [PATCH 4/7] gnu: lld-15: Adjust max text section size on riscv64-linux., Efraim Flashner, 2023/06/22
- [bug#64218] [PATCH 3/7] gnu: clang-15: Fix building on i686-linux.,
Efraim Flashner <=
- [bug#64218] [PATCH 6/7] gnu: ldc: Enable building on more architectures., Efraim Flashner, 2023/06/22
- [bug#64218] [PATCH 5/7] gnu: ldc: Build with llvm-15., Efraim Flashner, 2023/06/22
- [bug#64218] [PATCH 7/7] gnu: sambamba: Fix building., Efraim Flashner, 2023/06/22