]> git.pld-linux.org Git - packages/llvm.git/commitdiff
disable debug packages on x32 auto/th/llvm-8.0.1-1
authorJan Palus <atler@pld-linux.org>
Sat, 7 Sep 2019 14:13:53 +0000 (16:13 +0200)
committerJan Palus <atler@pld-linux.org>
Sat, 7 Sep 2019 14:13:53 +0000 (16:13 +0200)
llvm.spec

index f433775ebde6c6194469ea5fd634ce2d66b83857..9e43ee446b06d8a06207350fc16605161c8d8381 100644 (file)
--- 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
This page took 0.109682 seconds and 4 git commands to generate.