gm2
[Top][All Lists]
Advanced

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

[Gm2] Build problems with 4.7.4, 5.2.0 & 5.4.0 on ARM


From: John Dubery
Subject: [Gm2] Build problems with 4.7.4, 5.2.0 & 5.4.0 on ARM
Date: Sun, 2 Jul 2017 19:50:11 +0000

Gaius,

I've not been able to get a clean build of the tarballs of 12/6/17, 28/6/17 and 30/6/17 for the 3 latest releases on my Raspberry Pi.  I wonder what I'm doing wrong this time.  My gcc version is  "4.6.3 (Debian 4.6.3-14+rpi1)" - could that be a problem?.  The configure command is, as usual:

CXXFLAGS=-g BOOT_CFLAGS=-g CFLAGS=-g \
  ../gcc-5.2.0+gm2-git-latest/gm2/gcc-versionno/configure \
  --prefix=$HOME/opt \
  --libexecdir=$HOME/opt/lib \
  --enable-shared \
  --enable-threads=posix --enable-__cxa_atexit \
  --enable-clocale=gnu --enable-languages=c,c++,gm2 \
  --disable-multilib --disable-bootstrap --enable-checking

The tail of my Build Log is always this or very similar:

g++ -c   -g -DIN_GCC    -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -I. -I. -I../../gcc-5.2.0+gm2-git-latest/gm2/gcc-versionno/gcc -I../../gcc-5.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/. -I../../gcc-5.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/../include -I../../gcc-5.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/../libcpp/include  -I../../gcc-5.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/../libdecnumber -I../../gcc-5.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-5.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/../libbacktrace   -o insn-attrtab.o -MT insn-attrtab.o -MMD -MP -MF ./.deps/insn-attrtab.TPo insn-attrtab.c
g++ -c   -g -DIN_GCC    -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../gcc-5.2.0+gm2-git-latest/gm2/gcc-versionno/gcc -I../../gcc-5.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/build -I../../gcc-5.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/../include  -I../../gcc-5.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/../libcpp/include  \
    -o build/genautomata.o ../../gcc-5.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/genautomata.c
g++   -g -DIN_GCC    -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -DGENERATOR_FILE -static-libstdc++ -static-libgcc  -o build/genautomata \
    build/genautomata.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/read-md.o build/errors.o ../build-armv6l-unknown-linux-gnueabihf/libiberty/libiberty.a -lm
build/genautomata ../../gcc-5.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/common.md ../../gcc-5.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/config/arm/arm.md \
  insn-conditions.md > tmp-automata.c
/bin/bash: line 1:  1517 Killed                  build/genautomata ../../gcc-5.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/common.md ../../gcc-5.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/config/arm/arm.md insn-conditions.md > tmp-automata.c
Makefile:2137: recipe for target 's-automata' failed
make[2]: *** [s-automata] Error 137
make[2]: Leaving directory '/home/jd/GM2/build-5.2.0/gcc'
Makefile:4148: recipe for target 'all-gcc' failed
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory '/home/jd/GM2/build-5.2.0'
Makefile:884: recipe for target 'all' failed
make: *** [all] Error 2

Is the kill of a process expected?
The deb package of 1.5.4 on x86_64 is OK but, of course, I need to generate ARM code.

Yours hopefully,
John





reply via email to

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