Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Trouble building - as issue #47

Open
DavidRamage opened this Issue Jan 11, 2013 · 2 comments

Comments

Projects
None yet
3 participants

I'm unable to get the toolchain to build on my 64 bit Ubuntu 12.04 box. The error I encounter is:

make[2]: Entering directory `/home/david/sources/summon-arm-toolchain/build/gcc'
TARGET_CPU_DEFAULT=""
HEADERS="auto-host.h ansidecl.h" DEFINES=""
/bin/bash ../../gcc-4.7.2/gcc/mkconfig.sh config.h
TARGET_CPU_DEFAULT="TARGET_CPU_generic"
HEADERS="options.h insn-constants.h config/dbxelf.h config/elfos.h config/arm/unknown-elf.h config/arm/elf.h config/arm/bpabi.h config/newlib-stdint.h config/arm/aout.h config/arm/arm.h config/initfini-array.h defaults.h" DEFINES="LIBC_GLIBC=1 LIBC_UCLIBC=2 LIBC_BIONIC=3"
/bin/bash ../../gcc-4.7.2/gcc/mkconfig.sh tm.h
gawk -f ../../gcc-4.7.2/gcc/opt-gather.awk ../../gcc-4.7.2/gcc/ada/gcc-interface/lang.opt ../../gcc-4.7.2/gcc/fortran/lang.opt ../../gcc-4.7.2/gcc/go/lang.opt ../../gcc-4.7.2/gcc/java/lang.opt ../../gcc-4.7.2/gcc/lto/lang.opt ../../gcc-4.7.2/gcc/c-family/c.opt ../../gcc-4.7.2/gcc/common.opt ../../gcc-4.7.2/gcc/config/arm/arm-tables.opt ../../gcc-4.7.2/gcc/config/arm/arm.opt > tmp-optionlist
TARGET_CPU_DEFAULT=""
HEADERS="auto-host.h ansidecl.h" DEFINES=""
/bin/bash ../../gcc-4.7.2/gcc/mkconfig.sh bconfig.h
gcc -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../gcc-4.7.2/gcc -I../../gcc-4.7.2/gcc/build -I../../gcc-4.7.2/gcc/../include -I../../gcc-4.7.2/gcc/../libcpp/include -I../../gcc-4.7.2/gcc/../libdecnumber -I../../gcc-4.7.2/gcc/../libdecnumber/dpd -I../libdecnumber
-DBASEVER=""4.7.2"" -DDATESTAMP=""""
-DREVISION=""""
-DDEVPHASE="""" -DPKGVERSION=""(GCC) ""
-DBUGURL=""http://gcc.gnu.org/bugs.html\"" -o build/version.o ../../gcc-4.7.2/gcc/version.c
/home/david/sat/arm-none-eabi/bin/as: unrecognized option '--64'
make[2]: *** [build/version.o] Error 1

Interestingly enough, as doesn't list --64 as an option:

david@gregor:/sources/summon-arm-toolchain$ /home/david/sat/arm-none-eabi/bin/as --help | grep 64
david@gregor:
/sources/summon-arm-toolchain$

Owner

esden commented Jan 22, 2013

I just tried to build on Ubuntu 12.04 (LTS) and I can not reproduce the error.

cosmok82 commented Jun 4, 2013

Hi, I have the same problem. Could the fault be the x64 processor?
This is my ending report:

echo timestamp > s-automata
/bin/bash ../../gcc-linaro-4.7-2013.01/gcc/../move-if-change tmp-attrtab.c insn-attrtab.c
echo timestamp > s-attrtab
make[2]: uscita dalla directory "/home/cosmok82/src/stellaris/summon-arm-toolchain/build/gcc"
make[1]: *** [all-gcc] Errore 2
make[1]: uscita dalla directory "/home/cosmok82/src/stellaris/summon-arm-toolchain/build"
make: *** [all] Errore 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment