From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:35712) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hf0j7-0003ge-MY for guix-patches@gnu.org; Sun, 23 Jun 2019 07:32:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hf0j5-0001vF-Ol for guix-patches@gnu.org; Sun, 23 Jun 2019 07:32:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39381) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hf0j3-0001mK-Q4 for guix-patches@gnu.org; Sun, 23 Jun 2019 07:32:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hf0j3-00052H-LI for guix-patches@gnu.org; Sun, 23 Jun 2019 07:32:01 -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> <87imsx2rk3.fsf@yamatai> From: swedebugia Message-ID: Date: Sun, 23 Jun 2019 13:31:23 +0200 MIME-Version: 1.0 In-Reply-To: <87imsx2rk3.fsf@yamatai> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit 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: Guillaume LE VAILLANT Cc: 36258@debbugs.gnu.org On 2019-06-23 00:17, Guillaume LE VAILLANT wrote: > > swedebugia a écrit : > >> I tried building it with 4GB ram and 4GB swap but it failed with this error >> 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.cpp.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. > It finished compiling on 1 core but the tests stopped after an hour and was completely silent and no cpu use. How do I run the tests manually? I tried: cd into /tmp/guix-build-xxx source the env cd build make "ARGS=-R 'hash|core_tests'" "test" but got this error: Could not find executable /tmp/guix-build-monero-0.14.1.0.drv-0/build/tests/hash-target-tests -- Cheers Swedebugia