[packages/llvm] disable debug packages on x32

atler atler at pld-linux.org
Sat Sep 7 16:15:09 CEST 2019


commit 7a1e73fa11e24b6e42e3b68a59829428d1f68bdc
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Sep 7 16:13:53 2019 +0200

    disable debug packages on x32

 llvm.spec | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/llvm.spec b/llvm.spec
index f433775..9e43ee4 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -135,6 +135,13 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define		_sysconfdir	/etc/%{name}
 
 %define		specflags_ppc	-fno-var-tracking-assignments
+
+# objcopy: BFD (GNU Binutils) 2.32 assertion fail format.c:459
+# objcopy: error: .../libLLVM-8.so(.debug_gnu_pubtypes) is too large (0x1ceee347 bytes)
+# objcopy: .../libLLVM-8.so[.debug_gnu_pubtypes]: memory exhausted
+%ifarch x32
+%define		_enable_debug_packages	0
+%endif
 # ix86 and x32 - the same issue as https://llvm.org/bugs/show_bug.cgi?id=27237
 # use -gsplit-dwarf only when building packages with debuginfo
 # to avoid excessive disk space usage
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/llvm.git/commitdiff/7a1e73fa11e24b6e42e3b68a59829428d1f68bdc



More information about the pld-cvs-commit mailing list