[packages/llvm] - testing workaround for 'ld: final link failed: Memory exhausted'
arekm
arekm at pld-linux.org
Mon Nov 7 22:43:17 CET 2016
commit 35707fa41c745bb1c92e4d7cf6f03ad9ea37dcbd
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Nov 7 22:43:12 2016 +0100
- testing workaround for 'ld: final link failed: Memory exhausted'
llvm.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/llvm.spec b/llvm.spec
index 7804cf3..ac75265 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -130,6 +130,8 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _sysconfdir /etc/%{name}
%define specflags_ppc -fno-var-tracking-assignments
+# x32 - the same issue as https://llvm.org/bugs/show_bug.cgi?id=27237
+%define specflags_x32 -gsplit-dwarf
# strip corrupts: $RPM_BUILD_ROOT/usr/lib64/llvm-gcc/bin/llvm-c++ ...
%define _noautostrip .*/\\(libmud.*\\.a\\|bin/llvm-.*\\|lib.*++\\.a\\)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/llvm.git/commitdiff/35707fa41c745bb1c92e4d7cf6f03ad9ea37dcbd
More information about the pld-cvs-commit
mailing list