From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:57696) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1heoKm-0000df-IO for guix-patches@gnu.org; Sat, 22 Jun 2019 18:18:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1heoKk-0005Lg-GI for guix-patches@gnu.org; Sat, 22 Jun 2019 18:18:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39090) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1heoKg-0005IX-TK for guix-patches@gnu.org; Sat, 22 Jun 2019 18:18:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1heoKg-0006nD-Nb for guix-patches@gnu.org; Sat, 22 Jun 2019 18:18:02 -0400 Subject: [bug#36258] [PATCH 1/2] gnu: monero: Update to 0.14.1.0. Resent-Message-ID: References: <20190617084436.12311-1-glv@posteo.net> <49b66acb-c2f9-5fd0-97aa-16711ae933e1@riseup.net> From: Guillaume LE VAILLANT In-reply-to: <49b66acb-c2f9-5fd0-97aa-16711ae933e1@riseup.net> Date: Sun, 23 Jun 2019 00:17:32 +0200 Message-ID: <87imsx2rk3.fsf@yamatai> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: swedebugia Cc: 36258@debbugs.gnu.org swedebugia a =C3=A9crit : > I tried building it with 4GB ram and 4GB swap but it failed with this err= or > which I suspect is memory-related. > > I'm building it again now with -c 1 and it got past this point :) I will = review > further once it is done. > > make -f src/wallet/CMakeFiles/obj_wallet.dir/build.make > src/wallet/CMakeFiles/obj_wallet.dir/build > make[2]: Entering directory '/tmp/guix-build-monero-0.14.1.0.drv-0/build' > [ 32%] Building CXX object src/wallet/CMakeFiles/obj_wallet.dir/wallet2.c= pp.o > > [...] > > c++: internal compiler error: Killed (program cc1plus) Yes I think it's a crash caused by an "out of memory" error. The wallet2.cpp file is pretty big (around 500 kB), and apparently g++ wants several gigabytes of RAM to compile it. When compiling on my system with 8 threads, 16 GB of RAM and 8 GB of swap, I often saw between 3 and 4 GB being swapped when the compiling process got to that file.