[packages/llvm/llvm-3.6] - testing workaround for 'ld: final link failed: Memory exhausted'
arekm
arekm at pld-linux.org
Mon Nov 7 22:42:19 CET 2016
commit aefe54a4c8ed74707776b6010a171de31f959b48
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Nov 7 22:42: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 78c8ec1..3ba5771 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -110,6 +110,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/aefe54a4c8ed74707776b6010a171de31f959b48
More information about the pld-cvs-commit
mailing list