From 313715aca1a37d8747f1b8d1895121032e733e19 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 14 Oct 2014 12:05:59 +0300 Subject: [PATCH] disable debuginfo on x64_86 as well --- chromium-browser.spec | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.44.0