From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#27733: GCC compiler error when building LibreOffice 5.3.2.2 Date: Tue, 18 Jul 2017 11:58:02 +0200 Message-ID: <87d18y2hjp.fsf@gnu.org> References: <87bmojrzas.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60254) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXPHX-0000jA-LA for bug-guix@gnu.org; Tue, 18 Jul 2017 05:59:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXPHU-0000LL-IO for bug-guix@gnu.org; Tue, 18 Jul 2017 05:59:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:42680) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dXPHU-0000KK-Ep for bug-guix@gnu.org; Tue, 18 Jul 2017 05:59:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dXPHR-0001qq-QK for bug-guix@gnu.org; Tue, 18 Jul 2017 05:59:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87bmojrzas.fsf@gmail.com> (Maxim Cournoyer's message of "Mon, 17 Jul 2017 06:03:07 -0700") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Maxim Cournoyer Cc: 27733@debbugs.gnu.org Hi Maxim, Maxim Cournoyer skribis: > /tmp/guix-build-libreoffice-5.3.2.2.drv-0/libreoffice-5.3.2.2/sw/inc/doca= ry.hxx:362:60: required from here > /gnu/store/4iw4r2majarqlm19adaikqw126jxqf2p-gcc-5.4.0/include/c++/bits/st= l_algobase.h:607:5: internal compiler error: S > } > ^ > Please submit a full bug report, > with preprocessed source if appropriate. > See for instructions. > make[1]: *** [/tmp/guix-build-libreoffice-5.3.2.2.drv-0/libreoffice-5.3.2= .2/solenv/gbuild/LinkTarget.mk:191: /tmp/guix- > make: *** [Makefile:265: build] Error 2 > phase `build' failed after 35006.0 seconds > builder for `/gnu/store/mrq8p9v19fvl86igbhfkah0saj5n0awn-libreoffice-5.3.= 2.2.drv' failed with exit code 1 > guix package: error: build failed: build of `/gnu/store/mrq8p9v19fvl86igb= hfkah0saj5n0awn-libreoffice-5.3.2.2.drv' faile > > The reason I'm limiting the number of build processes and cores used to > 1 (with the -c and -M flags of `guix build`) is because one dependency > of LibreOffice, vigra, was taking up to 2 GiB of memory per process when > compiling and causing my 4 GiB system to trash. Are you suggesting that the build error above can also be an out-of-memory issue? Did =E2=80=9Cdmesg=E2=80=9D show anything mentioning = OOM? These C++ code bases (WebKit, LibreOffice, etc.) usually require a lot of RAM to build, so it could be that your machine simply doesn=E2=80=99t ha= ve enough RAM. AFAICS it builds fine on Hydra: https://hydra.gnu.org/job/gnu/master/libreoffice-5.3.2.2.x86_64-linux but not in 32 bit: https://hydra.gnu.org/job/gnu/master/libreoffice-5.3.2.2.i686-linux Ludo=E2=80=99.