From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: GCC bootstrap failure on ARM Date: Wed, 01 Jun 2016 14:23:15 +0200 Message-ID: <87h9ddksi4.fsf_-_@gnu.org> References: <87h9dxukjm.fsf@gnu.org> <20160526165952.GA6576@solar> <87zirajjbk.fsf@gnu.org> <20160531193337.GA22008@solar> 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]:46364) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b85BF-000433-N2 for guix-devel@gnu.org; Wed, 01 Jun 2016 08:23:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b85BA-00084P-Iu for guix-devel@gnu.org; Wed, 01 Jun 2016 08:23:24 -0400 In-Reply-To: <20160531193337.GA22008@solar> (Andreas Enge's message of "Tue, 31 May 2016 21:33:37 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Andreas Enge Cc: Guix-devel Andreas Enge skribis: > On Sat, May 28, 2016 at 05:25:35PM +0200, Ludovic Court=C3=A8s wrote: >> Could you save the offending .o files that are listed and upload them >> somewhere, or run diffoscope on them? > > Of course the first time I forgot to add the "-K" parameter. So I redid t= he > build and saved the build tree. Here is the error message: > Comparing stages 2 and 3 > warning: gcc/cc1plus-checksum.o differs > warning: gcc/cc1-checksum.o differs > Bootstrap comparison failure! I tried building it on an ARM machine that I borrowed (a rpi3), but with a bit less than 1G of RAM and 100MiB of swap, it eventually runs out of memory: --8<---------------cut here---------------start------------->8--- g++ -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -DIN_GCC -fno-exceptions = -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-stri= ngs -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual= -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno= -common -DHAVE_CONFIG_H -I. -Ic-family -I../../gcc-5.3.0/gcc -I../../gcc-5= .3.0/gcc/c-family -I../../gcc-5.3.0/gcc/../include -I../../gcc-5.3.0/gcc/..= /libcpp/include -I/tmp/guix-build-gcc-5.3.0.drv-0/build/./gmp -I/tmp/guix-b= uild-gcc-5.3.0.drv-0/gcc-5.3.0/gmp -I/tmp/guix-build-gcc-5.3.0.drv-0/build/= ./mpfr/src -I/tmp/guix-build-gcc-5.3.0.drv-0/gcc-5.3.0/mpfr/src -I/tmp/guix= -build-gcc-5.3.0.drv-0/gcc-5.3.0/mpc/src -I../../gcc-5.3.0/gcc/../libdecnu= mber -I../../gcc-5.3.0/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gc= c-5.3.0/gcc/../libbacktrace -o c-family/c-cppbuiltin.o -MT c-family/c-cpp= builtin.o -MMD -MP -MF c-family/.deps/c-cppbuiltin.TPo ../../gcc-5.3.0/gcc/= c-family/c-cppbuiltin.c /gnu/store/fi2yn5m40bls0kbi8km7an6l8dmywqhs-bash-static-4.3.42/bin/bash: li= ne 1: 29443 Killed build/genautomata ../../gcc-5.3.0/gcc/c= ommon.md ../../gcc-5.3.0/gcc/config/arm/arm.md insn-conditions.md > tmp-aut= omata.c Makefile:2137: recipe for target 's-automata' failed make[3]: *** [s-automata] Error 137 --8<---------------cut here---------------end--------------->8--- Details: --8<---------------cut here---------------start------------->8--- $ dmesg |tail [15555.066542] [23977] 999 23977 1997 1659 7 0 = 0 0 make [15555.066562] [24788] 999 24788 43191 42723 87 0 = 0 0 genattrtab [15555.066581] [24796] 999 24796 272 3 3 0 = 0 0 bash [15555.066601] [24797] 999 24797 116661 116191 230 0 = 0 0 genautomata [15555.066621] [24895] 999 24895 599 15 3 0 = 0 0 arm-guix-linux- [15555.066641] [24896] 999 24896 23700 19432 48 0 = 0 0 cc1plus [15555.066660] [24899] 999 24899 599 15 3 0 = 0 0 arm-guix-linux- [15555.066680] [24900] 999 24900 5935 1993 13 0 = 0 0 cc1plus [15555.066695] Out of memory: Kill process 24797 (genautomata) score 443 or= sacrifice child [15555.066715] Killed process 24797 (genautomata) total-vm:466644kB, anon-r= ss:464724kB, file-rss:40kB --8<---------------cut here---------------end--------------->8--- Since the full log vanished from hydra.gnu.org (now we have a truncated log), could you post the full log somewhere? Alternately, if you want, you cuold give me access to your Novena. :-) Thanks, Ludo=E2=80=99.