From unknown Sun Aug 17 04:12:33 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#27733 <27733@debbugs.gnu.org> To: bug#27733 <27733@debbugs.gnu.org> Subject: Status: GCC compiler error when building LibreOffice 5.3.2.2 Reply-To: bug#27733 <27733@debbugs.gnu.org> Date: Sun, 17 Aug 2025 11:12:33 +0000 retitle 27733 GCC compiler error when building LibreOffice 5.3.2.2 reassign 27733 guix submitter 27733 Maxim Cournoyer severity 27733 normal tag 27733 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 17 09:03:31 2017 Received: (at submit) by debbugs.gnu.org; 17 Jul 2017 13:03:31 +0000 Received: from localhost ([127.0.0.1]:43370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dX5gR-0003XQ-7b for submit@debbugs.gnu.org; Mon, 17 Jul 2017 09:03:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44715) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dX5gN-0003XA-8r for submit@debbugs.gnu.org; Mon, 17 Jul 2017 09:03:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dX5gG-0001Ol-Km for submit@debbugs.gnu.org; Mon, 17 Jul 2017 09:03:21 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57679) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dX5gG-0001Oh-HJ for submit@debbugs.gnu.org; Mon, 17 Jul 2017 09:03:20 -0400 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version :content-transfer-encoding; bh=eAIrCrGiAtLE11XCKJLWgT/5dXUiWp8cP1src8VyPwU=; b=SZNsE9VeJ2GD9IzzgcW+eLErq+jW1th2MbsmVl/3Ym24VqC+Fcpx6/wmVf/KrPPmXH Adhomv3zBNqMZbvhwnQrc492PzqtYBLBlkE/4hO59HR651WLiiyfemKry0Z19msxOMHO xZenBKPbDDtVSs+PgFpfZ1gfFGYIBzamlaqG4MeIT8fQiXkw25ZFrRh/dqf9PO2FJwtk 7N/vQ+2DZbM4EHdHg8p5FKi8PhBu7LCpIdsunimEG5I31WN9M3si7ZHSNwdl/Bi5u9Rn Q/AsRgCLFAWWkR2JvQsLGJ1+DY2SlRcHlWPXJqNT22IfhoLHhq3wHoBTlAWt7ATBVUO3 SnFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version:content-transfer-encoding; bh=eAIrCrGiAtLE11XCKJLWgT/5dXUiWp8cP1src8VyPwU=; b=nksqFOCCGuzvR0XIQW6CMAkSoKu8bGTFLjhyAP+mAV66MqsuFI389xYMIDoC5W0177 pUo8G1tostPkFpuP/TJeWb4nAHJDZ5b8HmUTIU7PsKHYhygyHTYiihRFbvSTPr9iH/Vt 4fnhWKv3BPLA6cfocq25f7iNHmw0/S23/hyfY6iH/KjfqlcRAeZ8RGF7oKE5I1w3QczZ oYwKjlHOybKfPd220y4Fbf7ObRoLXk/28hKmgdpLKSWjCUf12ne3RKFbLeG+X3nv5PrY DLSFfn1AdaUYQVF2WwUMrWCAiCZONjFGp5Xbt32nCN3BzWXjTh7200603VGO6SXHYm6T e+ow== X-Gm-Message-State: AIVw111MFxFDeezBGK2BKmB0ytnRTyTG70Fzbs33n3D902dluK4YpO4J cDCnU/gooe9RU/+3 X-Received: by 10.36.29.140 with SMTP id 134mr5209289itj.121.1500296591283; Mon, 17 Jul 2017 06:03:11 -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) From: Maxim Cournoyer To: bug-guix Subject: 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> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 18 05:58:16 2017 Received: (at 27733) by debbugs.gnu.org; 18 Jul 2017 09:58:16 +0000 Received: from localhost ([127.0.0.1]:45357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXPGi-0001ps-Ko for submit@debbugs.gnu.org; Tue, 18 Jul 2017 05:58:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXPGg-0001pf-MQ for 27733@debbugs.gnu.org; Tue, 18 Jul 2017 05:58:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXPGY-0008ST-0S for 27733@debbugs.gnu.org; Tue, 18 Jul 2017 05:58:09 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXPGX-0008SN-T0; Tue, 18 Jul 2017 05:58:05 -0400 Received: from [193.50.110.220] (port=39772 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dXPGX-0002VJ-EJ; Tue, 18 Jul 2017 05:58:05 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Maxim Cournoyer Subject: Re: bug#27733: GCC compiler error when building LibreOffice 5.3.2.2 References: <87bmojrzas.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 30 Messidor an 225 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Tue, 18 Jul 2017 11:58:02 +0200 In-Reply-To: <87bmojrzas.fsf@gmail.com> (Maxim Cournoyer's message of "Mon, 17 Jul 2017 06:03:07 -0700") Message-ID: <87d18y2hjp.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27733 Cc: 27733@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 18 07:51:58 2017 Received: (at 27733) by debbugs.gnu.org; 18 Jul 2017 11:51:58 +0000 Received: from localhost ([127.0.0.1]:45417 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXR2k-0008B1-9y for submit@debbugs.gnu.org; Tue, 18 Jul 2017 07:51:58 -0400 Received: from mail-io0-f169.google.com ([209.85.223.169]:34362) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXR2i-0008Am-8g for 27733@debbugs.gnu.org; Tue, 18 Jul 2017 07:51:56 -0400 Received: by mail-io0-f169.google.com with SMTP id l7so5071924iof.1 for <27733@debbugs.gnu.org>; Tue, 18 Jul 2017 04:51:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=TdoAJ+tMrCiR+Q+uE7zBK8HCIA8vy+suCHY2swpE5PA=; b=JSibsnAIYXxsGDXWememzl63N5/Kog5eOnhXpKhSIj+XlhNROMu/oIsMWyY9c2qXYR EtQR97mUCd0boRsaZ6iTuXLZtVfZg5pw7ClH1sLH3Fv7hyPcHiSaG+laPIaOPTifNOWd ArBAFpJxjEf1oUeRwsxYhSxxdOQkiikykIcG0gojnDfL5KjA6vU3+7jetaJaoZd42lpn e1yFsYWfdA4A7XDyDvah7KTseNUBn6VSN5sdKqbqsYygHJkBxNy33dddT+EjLLFs1min meWHYg08hSqBbDOIKDJmZhprIOkr3bGs5+CQ5VuV6gDFvBE63p3OleEiUgOfSwkH5FSk CMFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=TdoAJ+tMrCiR+Q+uE7zBK8HCIA8vy+suCHY2swpE5PA=; b=MDY//XNXtluhsbkp5RkAhHtK02K6EAiPC/bxU4FJhzQUM4I/Od+Ccxf+n33Zn3whaX GKkfKmrhn5Yk/HUCNEHBbjTgKLKeEozKGj7HPLdoG81LISo7YS5gvDfllF07e3EDOemA f/woPqlRtbyl+HFA2glrs0mPKXtWUs4fLNMaX+GtbBgidmdPh0kaufPqDJ92pbjyGp7P CvU7K4RFSsNSaVkdyN9G8WeDQGVYU9CdEAyZAG+JaW4F9QyfhKKFhmff1QNLE255zKCv yqpnYZ/RwM+NecN14icgtDvfC8IfRdSsngvSuROZ7CfltrttPXOpiXHEXEnjCXOZ/KBP oLBg== X-Gm-Message-State: AIVw112a0RI3/V/USvnt3u7RA81Rgs+JZIotbBTZGt5uhAwAo+jkFh+/ m4xeyuwjhFWIaMlF X-Received: by 10.107.39.205 with SMTP id n196mr1080702ion.37.1500378710312; Tue, 18 Jul 2017 04:51:50 -0700 (PDT) Received: from apteryx (104-222-117-55.cpe.teksavvy.com. [104.222.117.55]) by smtp.gmail.com with ESMTPSA id u201sm1233832ita.16.2017.07.18.04.51.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 Jul 2017 04:51:49 -0700 (PDT) From: Maxim Cournoyer To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: bug#27733: GCC compiler error when building LibreOffice 5.3.2.2 References: <87bmojrzas.fsf@gmail.com> <87d18y2hjp.fsf@gnu.org> Date: Tue, 18 Jul 2017 04:51:48 -0700 In-Reply-To: <87d18y2hjp.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 18 Jul 2017 11:58:02 +0200") Message-ID: <877ez6rmi3.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 27733 Cc: 27733@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) Hi Ludovic! ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Hi Maxim, > > Maxim Cournoyer skribis: > >> /tmp/guix-build-libreoffice-5.3.2.2.drv-0/libreoffice-5.3.2.2/sw/inc/doc= ary.hxx:362:60: required from here >> /gnu/store/4iw4r2majarqlm19adaikqw126jxqf2p-gcc-5.4.0/include/c++/bits/s= tl_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/gb= uild/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/mrq8p9v19fvl86igbhfkah0saj5n0awn-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 mentionin= g OOM? That would have been plausible, but at the time it crashed I had verified /var/log/messages and didn't see OOM problems, although there was messages such as: Jul 16 17:55:29 localhost vmunix: [ 1222.229040] perf: interrupt took too l= ong (6239 > 6227), lowering kernel.perf_event_max_sample_rate to 32000 Jul 16 18:00:16 localhost vmunix: [ 1509.558118] perf: interrupt took too long (7800 > 7798), lowering kernel.perf_event_max_sample_rate to 25500 which I attributed to the high system load. > 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 = have > enough RAM. Further removing the possibility that it was an out-of-memory issue is that last night I could successfully build libreoffice after I took out the -c 1 and -M 1 flags. This should have made the memory requirements even higher but it made it through the compilation, and only failed to install due to unrelated issues in my profile: --8<---------------cut here---------------start------------->8--- starting phase `reset-gzip-timestamps' phase `reset-gzip-timestamps' succeeded after 0.4 seconds starting phase `compress-documentation' phase `compress-documentation' succeeded after 0.0 seconds The following package will be installed: libreoffice 5.3.2.2 /gnu/store/qkwdx123vqrwglkrqzqhk1nxknxzjf7w-libreof= fice-5.3.2.2 guix package: error: profile contains conflicting entries for gtk+:out guix package: error: first entry: gtk+@2.24.31:out /gnu/store/cakcwzawnhp= 9iyn5c0jcyh4lnlh5ayym-gtk+-2.24.31 guix package: error: ... propagated from murrine@0.98.2 guix package: error: second entry: gtk+@3.22.15:out /gnu/store/4jgdaix3hl= ar9wh2jfpf99yblmzpawfr-gtk+-3.22.15 guix package: error: ... propagated from python-ipython@5.2.2 --8<---------------cut here---------------end--------------->8--- So it's possible that the problem is only exhibited when building Libreoffice with a single core although that seems unlikely. I will retry the build with the -c 1 and -M 1 flags and see if I can reproduce the problem. Thanks! Maxim From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 18 08:34:54 2017 Received: (at 27733) by debbugs.gnu.org; 18 Jul 2017 12:34:54 +0000 Received: from localhost ([127.0.0.1]:45499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXRiI-0000r1-Ai for submit@debbugs.gnu.org; Tue, 18 Jul 2017 08:34:54 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48751) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXRiG-0000qo-MH for 27733@debbugs.gnu.org; Tue, 18 Jul 2017 08:34:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXRi7-000111-G8 for 27733@debbugs.gnu.org; Tue, 18 Jul 2017 08:34:47 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51600) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXRi7-00010m-Cv; Tue, 18 Jul 2017 08:34:43 -0400 Received: from [193.50.110.220] (port=39908 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dXRi6-0004fr-Sk; Tue, 18 Jul 2017 08:34:43 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Maxim Cournoyer Subject: Re: bug#27733: GCC compiler error when building LibreOffice 5.3.2.2 References: <87bmojrzas.fsf@gmail.com> <87d18y2hjp.fsf@gnu.org> <877ez6rmi3.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 30 Messidor an 225 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Tue, 18 Jul 2017 14:34:39 +0200 In-Reply-To: <877ez6rmi3.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 18 Jul 2017 04:51:48 -0700") Message-ID: <87vampylcw.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27733 Cc: 27733@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Maxim Cournoyer skribis: > ludo@gnu.org (Ludovic Court=C3=A8s) writes: > >> Hi Maxim, >> >> Maxim Cournoyer skribis: >> >>> /tmp/guix-build-libreoffice-5.3.2.2.drv-0/libreoffice-5.3.2.2/sw/inc/do= cary.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/g= build/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/mrq8p9v19fvl86igbhfkah0saj5n0awn-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 mentioni= ng OOM? > > That would have been plausible, but at the time it crashed I had > verified /var/log/messages and didn't see OOM problems, although there > was messages such as: > > Jul 16 17:55:29 localhost vmunix: [ 1222.229040] perf: interrupt took too= long (6239 > 6227), lowering kernel.perf_event_max_sample_rate to 32000 > Jul 16 18:00:16 localhost vmunix: [ 1509.558118] perf: interrupt took > too long (7800 > 7798), lowering kernel.perf_event_max_sample_rate to > 25500 > > which I attributed to the high system load. OK. >> 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= have >> enough RAM. > > Further removing the possibility that it was an out-of-memory issue is > that last night I could successfully build libreoffice after I took out > the -c 1 and -M 1 flags. This should have made the memory requirements > even higher but it made it through the compilation, and only failed to > install due to unrelated issues in my profile: OK, weird. > starting phase `reset-gzip-timestamps' > phase `reset-gzip-timestamps' succeeded after 0.4 seconds > starting phase `compress-documentation' > phase `compress-documentation' succeeded after 0.0 seconds > The following package will be installed: > libreoffice 5.3.2.2 /gnu/store/qkwdx123vqrwglkrqzqhk1nxknxzjf7w-libre= office-5.3.2.2 > > guix package: error: profile contains conflicting entries for gtk+:out > guix package: error: first entry: gtk+@2.24.31:out /gnu/store/cakcwzawn= hp9iyn5c0jcyh4lnlh5ayym-gtk+-2.24.31 > guix package: error: ... propagated from murrine@0.98.2 > guix package: error: second entry: gtk+@3.22.15:out /gnu/store/4jgdaix3= hlar9wh2jfpf99yblmzpawfr-gtk+-3.22.15 > guix package: error: ... propagated from python-ipython@5.2.2 There are conflicting GTK+ versions being pulled here, hence the error. If you think this case should be handled gracefully, please send a message to bug-guix or guix-devel. > So it's possible that the problem is only exhibited when building > Libreoffice with a single core although that seems unlikely. I will > retry the build with the -c 1 and -M 1 flags and see if I can reproduce > the problem. Super weird! Case closed? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 27 08:37:57 2017 Received: (at control) by debbugs.gnu.org; 27 Jul 2017 12:37:57 +0000 Received: from localhost ([127.0.0.1]:58038 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dai3B-0006NX-1Z for submit@debbugs.gnu.org; Thu, 27 Jul 2017 08:37:57 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dai3A-0006NM-C1 for control@debbugs.gnu.org; Thu, 27 Jul 2017 08:37:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dai30-00026h-90 for control@debbugs.gnu.org; Thu, 27 Jul 2017 08:37:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57109) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dai30-00026c-5f for control@debbugs.gnu.org; Thu, 27 Jul 2017 08:37:46 -0400 Received: from [193.50.110.224] (port=37672 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dai2z-0000wr-GH for control@debbugs.gnu.org; Thu, 27 Jul 2017 08:37:45 -0400 Date: Thu, 27 Jul 2017 14:37:43 +0200 Message-Id: <87eft23vjc.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #27733 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) tags 27733 notabug close 27733 From unknown Sun Aug 17 04:12:33 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 25 Aug 2017 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator