From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: bug#27733: GCC compiler error when building LibreOffice 5.3.2.2 Date: Mon, 17 Jul 2017 06:03:07 -0700 Message-ID: <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]:35827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dX5h0-0006Ru-Kp for bug-guix@gnu.org; Mon, 17 Jul 2017 09:04:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dX5gw-0001cZ-Lc for bug-guix@gnu.org; Mon, 17 Jul 2017 09:04:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:40693) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dX5gw-0001cR-IT for bug-guix@gnu.org; Mon, 17 Jul 2017 09:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dX5gw-0003YC-6U for bug-guix@gnu.org; Mon, 17 Jul 2017 09:04:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35657) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dX5gC-0005XG-Fj for bug-guix@gnu.org; Mon, 17 Jul 2017 09:03:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dX5g8-0001MX-Hh for bug-guix@gnu.org; Mon, 17 Jul 2017 09:03:16 -0400 Received: from mail-it0-x229.google.com ([2607:f8b0:4001:c0b::229]:36480) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dX5g8-0001MP-CW for bug-guix@gnu.org; Mon, 17 Jul 2017 09:03:12 -0400 Received: by mail-it0-x229.google.com with SMTP id a62so3262014itd.1 for ; Mon, 17 Jul 2017 06:03:12 -0700 (PDT) Received: from apteryx (104-222-117-55.cpe.teksavvy.com. [104.222.117.55]) by smtp.gmail.com with ESMTPSA id a188sm5710613ita.19.2017.07.17.06.03.08 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 17 Jul 2017 06:03:09 -0700 (PDT) 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: 27733@debbugs.gnu.org Hello, While attempting to install LibreOffice 5.3.2.2 with the following command: ./pre-inst-env guix package -i libreoffice -c 1 -M 1 GCC crashed with the following message: --8<---------------cut here---------------start------------->8--- [build CXX] sw/source/uibase/app/apphdl.cxx [build CXX] sw/source/uibase/app/applab.cxx [build CXX] sw/source/uibase/app/appopt.cxx [build CXX] sw/source/uibase/app/docsh.cxx [build CXX] sw/source/uibase/app/docsh2.cxx [build CXX] sw/source/uibase/app/docshdrw.cxx [build CXX] sw/source/uibase/app/docshini.cxx [build CXX] sw/source/uibase/app/docst.cxx [build CXX] sw/source/uibase/app/docstyle.cxx In file included from /gnu/store/4iw4r2majarqlm19adaikqw126jxqf2p-gcc-5.4.0= /include/c++/algorithm:61:0, from /tmp/guix-build-libreoffice-5.3.2.2.drv-0/libreoffice= -5.3.2.2/include/com/sun/star/uno/Any.hxx:24 from /tmp/guix-build-libreoffice-5.3.2.2.drv-0/libreoffice= -5.3.2.2/include/svl/poolitem.hxx:27, from /tmp/guix-build-libreoffice-5.3.2.2.drv-0/libreoffice= -5.3.2.2/include/svl/itemset.hxx:25, from /tmp/guix-build-libreoffice-5.3.2.2.drv-0/libreoffice= -5.3.2.2/include/svl/itemiter.hxx:23, from /tmp/guix-build-libreoffice-5.3.2.2.drv-0/libreoffice= -5.3.2.2/sw/source/uibase/app/docstyle.cxx:2 /gnu/store/4iw4r2majarqlm19adaikqw126jxqf2p-gcc-5.4.0/include/c++/bits/stl_= algobase.h: In instantiation of =E2=80=98_BI2 std::_ /gnu/store/4iw4r2majarqlm19adaikqw126jxqf2p-gcc-5.4.0/include/c++/bits/stl_= algobase.h:614:5: required from =E2=80=98_BI2 std:**, std::vector > >; _BI2 =3D __gnu_cxx::__normal= _iterator > >; _BI2 =3D __gnu_cxx::__normal_iterator > >; _Com= pare =3D __gnu_cxx::__o /gnu/store/4iw4r2majarqlm19adaikqw126jxqf2p-gcc-5.4.0/include/c++/bits/stl_= algo.h:2776:25: required from =E2=80=98void std::_normal_iterator > >= ; _Compare =3D __gnu_cx /gnu/store/4iw4r2majarqlm19adaikqw126jxqf2p-gcc-5.4.0/include/c++/bits/stl_= algo.h:4863:28: required from =E2=80=98void std::_terator > >; _Compa= re =3D __gnu_cxx::__ops /gnu/store/4iw4r2majarqlm19adaikqw126jxqf2p-gcc-5.4.0/include/c++/bits/stl_= algo.h:4932:36: required from =E2=80=98void std::seRedline*, std::allocat= or > >; _Compare =3D CompareSwRedlineTable]=E2=80=99 /tmp/guix-build-libreoffice-5.3.2.2.drv-0/libreoffice-5.3.2.2/include/o3tl/= sorted_vector.hxx:186:25: required from =E2=80=98vFind =3D o3tl::find_par= tialorder_ptrequals]=E2=80=99 /tmp/guix-build-libreoffice-5.3.2.2.drv-0/libreoffice-5.3.2.2/sw/inc/docary= .hxx:362:60: required from here /gnu/store/4iw4r2majarqlm19adaikqw126jxqf2p-gcc-5.4.0/include/c++/bits/stl_= 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/mrq8p9v19fvl86igbhf= kah0saj5n0awn-libreoffice-5.3.2.2.drv' faile --8<---------------cut here---------------end--------------->8--- 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. Maxim