guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GCC bootstrap failure on ARM


From: Ludovic Courtès
Subject: GCC bootstrap failure on ARM
Date: Wed, 01 Jun 2016 14:23:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Andreas Enge <address@hidden> skribis:

> On Sat, May 28, 2016 at 05:25:35PM +0200, Ludovic Courtès 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 the
> 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-strings 
-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-build-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/../libdecnumber -I../../gcc-5.3.0/gcc/../libdecnumber/dpd 
-I../libdecnumber -I../../gcc-5.3.0/gcc/../libbacktrace   -o 
c-family/c-cppbuiltin.o -MT c-family/c-cppbuiltin.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: line 
1: 29443 Killed                  build/genautomata 
../../gcc-5.3.0/gcc/common.md ../../gcc-5.3.0/gcc/config/arm/arm.md 
insn-conditions.md > tmp-automata.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-rss: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’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]