[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] Build of 4.7.3 on RaspberryPi: fell at the last fence, or so!
From: |
Gaius Mulley |
Subject: |
Re: [Gm2] Build of 4.7.3 on RaspberryPi: fell at the last fence, or so! |
Date: |
Fri, 28 Feb 2014 17:51:45 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) |
JD <address@hidden> writes:
> Gaius,
> After a glorious run of 14993 minutes my build failed as follows:
>
>
> configure: updating cache ./config.cache
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: executing default-1 commands
> make[2]: Entering directory `/home/pi/GM2/scratch-area/build-4.7.3/
> arm-linux-gnueabihf/libgm2'
> test -f stamp-libgm2 || ( \
> make "MAKEOVERRIDES=" "LDFLAGS=" "LN_S=ln -s" "SHELL=/bin/bash"
> "GM2LIBFLAGS=-W -Wall -nostdinc " "GM2LIBCFLAGS=-g -O2 "
> "GM2LIBCFLAGS_FOR_C=-W -Wall -g -O2 -fexceptions -DIN_RTS -DHAVE_GETIPINFO
> " "PICFLAG_FOR_TARGET=-fPIC" "THREAD_KIND=native" "TRACE=no"
> "MULTISUBDIR="
> "libsubdir=/home/pi/opt/lib/gcc/arm-linux-gnueabihf/4.7.3" "objext=.o"
> "prefix=/home/pi/opt" "exeext=.exeext.should.not.be.used " 'CC=
> the.host.compiler.should.not.be.needed' "GCC_FOR_TARGET=/home/pi/GM2/
> scratch-area/build-4.7.3/./gcc/xgcc
> -B/home/pi/GM2/scratch-area/build-4.7.3
> /./gcc/ -B/home/pi/opt/arm-linux-gnueabihf/bin/ -B/home/pi/opt/
> arm-linux-gnueabihf/lib/ -isystem /home/pi/opt/arm-linux-gnueabihf/include
> -isystem /home/pi/opt/arm-linux-gnueabihf/sys-include " "CFLAGS=-O2 -g"
> gm2lib-shared-real \
> && touch stamp-libgm2 )
> make[3]: Entering directory `/home/pi/GM2/scratch-area/build-4.7.3/
> arm-linux-gnueabihf/libgm2'
> bash
> ../../../gcc-4.7.3+gm2-git-latest/gm2/gcc-versionno/libgm2/../gcc/gm2/
> tools-src/makeSystem -fpim \
>
> ../../../gcc-4.7.3+gm2-git-latest/gm2/gcc-versionno/libgm2/../
> gcc/gm2/gm2-libs/SYSTEM.def \
>
> ../../../gcc-4.7.3+gm2-git-latest/gm2/gcc-versionno/libgm2/../
> gcc/gm2/gm2-libs/SYSTEM.mod \
> -I../../../gcc-4.7.3+gm2-git-latest/gm2/gcc-versionno/libgm2
> /../gcc/gm2/gm2-libs \
> "../.././gcc//xgm2 -B../.././gcc/stage1/gm2" ../.././gcc/gm2/
> gm2-libs/SYSTEM.def
> cc1gm2: internal compiler error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <mailto://address@hidden> for instructions.
> SYSTEM module creates type: LOC
> SYSTEM module creates type: WORD
> SYSTEM module creates type: BYTE
> SYSTEM module creates type: ADDRESS
> SYSTEM module creates type: INTEGER8
> SYSTEM module creates type: INTEGER16
> SYSTEM module creates type: INTEGER32
> SYSTEM module creates type: INTEGER64
> SYSTEM module creates type: CARDINAL8
> SYSTEM module creates type: CARDINAL16
> SYSTEM module creates type: CARDINAL32
> SYSTEM module creates type: CARDINAL64
> SYSTEM module creates type: WORD16
> SYSTEM module creates type: WORD32
> SYSTEM module creates type: WORD64
> SYSTEM module creates type: BITSET8
> SYSTEM module creates type: BITSET16
> SYSTEM module creates type: BITSET32
> SYSTEM module creates type: REAL32
> SYSTEM module creates type: REAL64
> SYSTEM module creates type: REAL96
> SYSTEM module creates type: REAL128
> SYSTEM module creates type: COMPLEX32
> SYSTEM module creates type: COMPLEX64
> SYSTEM module creates type: COMPLEX96
> SYSTEM module creates type: COMPLEX128
> cc1gm2: internal compiler error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <mailto://address@hidden> for instructions.
> make[3]: *** [../.././gcc/gm2/gm2-libs/SYSTEM.def] Error 1
> make[3]: Leaving directory `/home/pi/GM2/scratch-area/build-4.7.3/
> arm-linux-gnueabihf/libgm2'
> make[2]: *** [gm2lib-shared] Error 2
> make[2]: Leaving directory `/home/pi/GM2/scratch-area/build-4.7.3/
> arm-linux-gnueabihf/libgm2'
> make[1]: *** [all-target-libgm2] Error 2
> make[1]: Leaving directory `/home/pi/GM2/scratch-area/build-4.7.3'
> make: *** [all] Error 2
>
> real 14993m17.867s
> user 14708m31.740s
> sys 35m5.410s
>
>
> I don't have any files named "gm2", just directories.
>
> How far from the finish do you think I was? Do you have any suggestions for
> getting further? - preferably resuming from where it failed!
Hi John,
I suspect it was pretty near the end - it was running the compiler to
find out the builtin types and functions. Not sure what has gone wrong
though, it might be possible to run 'makeSystem' from the command line
and enable a verbose option or use:
bash -x makeSystem etc
to see what the full command line to cc1gm2 was, thereafter one could
run this under gdb to find out where the crash occurred, hope this helps
a little
regards,
Gaius