From: Elan Ruusamäe Date: Tue, 14 Oct 2014 09:05:59 +0000 (+0300) Subject: disable debuginfo on x64_86 as well X-Git-Tag: auto/th/chromium-browser-38.0.2125.104-1~1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=313715aca1a37d8747f1b8d1895121032e733e19;p=packages%2Fchromium-browser.git disable debuginfo on x64_86 as well --- diff --git a/chromium-browser.spec b/chromium-browser.spec index 4c32653..ea8fa58 100644 --- a/chromium-browser.spec +++ b/chromium-browser.spec @@ -45,6 +45,13 @@ %undefine with_system_mesa # unable build with debuginfo on 32bit build systems +# /usr/bin/ld.gold: fatal error: chrome: mmap: failed to allocate 2994044872 bytes for output file: Cannot allocate memory +%undefine with_debuginfo +%endif + +%ifarch %{x8664} +# x86_64 systems fail with debugedit crashing +# /usr/lib/rpm/bin/debugedit: canonicalization unexpectedly shrank by one character %undefine with_debuginfo %endif