Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Cannot build libgcc #30

Open
crodas opened this Issue · 16 comments

10 participants

@crodas

This is the output, it fails when it tries to build libgcc. I'm compiling with TARGET=arm-elf

configure: loading cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... mawk
checking build system type... x86_64-unknown-linux-gnu
checking host system type... arm-unknown-elf
checking for arm-elf-ar... /home/crodas/sat/arm-elf/bin/ar
checking for arm-elf-lipo... arm-elf-lipo
checking for arm-elf-nm... /var/tmp/summon-arm-toolchain/build/./gcc/nm
checking for arm-elf-ranlib... /home/crodas/sat/arm-elf/bin/ranlib
checking for arm-elf-strip... /home/crodas/sat/arm-elf/bin/strip
checking whether ln -s works... yes
checking for arm-elf-gcc... /var/tmp/summon-arm-toolchain/build/./gcc/xgcc -B/var/tmp/summon-arm-toolchain/build/./gcc/ -nostdinc -B/var/tmp/summon-arm-toolchain/build/arm-elf/thumb/cortex-m4/float-abi-hard/fpuv4-sp-d16/newlib/ -isystem /var/tmp/summon-arm-toolchain/build/arm-elf/thumb/cortex-m4/float-abi-hard/fpuv4-sp-d16/newlib/targ-include -isystem /var/tmp/summon-arm-toolchain/gcc-linaro-4.6-2011.10/newlib/libc/include -B/var/tmp/summon-arm-toolchain/build/arm-elf/thumb/cortex-m4/float-abi-hard/fpuv4-sp-d16/libgloss/arm -L/var/tmp/summon-arm-toolchain/build/arm-elf/thumb/cortex-m4/float-abi-hard/fpuv4-sp-d16/libgloss/libnosys -L/var/tmp/summon-arm-toolchain/gcc-linaro-4.6-2011.10/libgloss/arm -B/home/crodas/sat/arm-elf/bin/ -B/home/crodas/sat/arm-elf/lib/ -isystem /home/crodas/sat/arm-elf/include -isystem /home/crodas/sat/arm-elf/sys-include  -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16
checking for suffix of object files... configure: error: in `/var/tmp/summon-arm-toolchain/build/arm-elf/thumb/cortex-m4/float-abi-hard/fpuv4-sp-d16/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[1]: *** [configure-target-libgcc] Error 1
make[1]: Leaving directory `/var/tmp/summon-arm-toolchain/build'
make: *** [all] Error 2
@pekkanikander

I have the same issue. Inspecting build/arm-none-eabi/libgcc/config.log, it appears that the built cross-compiler build/gcc/xgcc does not support -march=native option, and that something in the libgcc build places that option on the xgcc command line when running libgcc/configure. Unfortunately I couldn't figure out where the option comes from.

I'm compiling under Mac OS X 10.7.5, using Xcode 4.3.3 command line tools.

@luw

Same issue here too. Went smoothly until now. Tried ldconfig but still problems.

Any thoughts/suggestions?

this happens when running summon_arm_toolchain script under ubuntu 12.04

@pekkanikander

Personally, I went for the yagarto toolchain and created a Homebrew formula for it:

https://github.com/pekkanikander/homebrew/blob/master/Library/Formula/arm-eabi-gcc-yagarto.rb

@luw

Thank you pekkanikander I will give it a try.

@tdaede

Why are you using TARGET=arm-elf? You almost certainly want arm-none-eabi.

@esden
Owner

Is this still an issue? Does using arm-none-eabi help? Can we close it?

@esden esden closed this
@esden esden reopened this
@sventunus

Still an issue, yes. Using arm-non-eabi doesn't help either.
Switching from linaro to vanilla gcc doesn't either.


config.log for arm-none-eabi:


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by GNU C Runtime Library configure 1.0, which was
generated by GNU Autoconf 2.64. Invocation command line was

$ /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/libgcc/configure --cache-file=./config.cache --with-newlib --with-cross-host=x86_64-unknown-linux-gnu --prefix=/home/sven/sat --enable-multilib --with-newlib --with-gnu-as --with-gnu-ld --disable-nls --disable-shared --disable-threads --with-headers=newlib/libc/include --disable-libssp --disable-libstdcxx-pch --disable-libmudflap --disable-libgomp --disable-werror --with-system-zlib --disable-newlib-supplied-syscalls --enable-languages=c,c++,lto --program-transform-name=s&^&arm-none-eabi-& --disable-option-checking --with-target-subdir=arm-none-eabi --build=x86_64-unknown-linux-gnu --host=arm-none-eabi --target=arm-none-eabi --srcdir=../../../gcc-linaro-4.7-2013.01/libgcc

---------

Platform.

---------

hostname = desv-vaio-mint
uname -m = x86_64
uname -r = 3.5.0-17-generic
uname -s = Linux
uname -v = #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /home/sven/sat/bin
PATH: /usr/local/maven/bin
PATH: /usr/lib/jvm/java-7-oracle/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games

-----------

Core tests.

-----------

configure:1968: loading cache ./config.cache
configure:2144: checking build system type
configure:2158: result: x86_64-unknown-linux-gnu
configure:2178: checking host system type
configure:2191: result: arm-none-eabi
configure:2289: checking for --enable-version-specific-runtime-libs
configure:2302: result: no
configure:2350: checking for a BSD-compatible install
configure:2418: result: /usr/bin/install -c
configure:2434: checking for gawk
configure:2461: result: gawk
configure:2561: checking for arm-none-eabi-ar
configure:2588: result: arm-none-eabi-ar
configure:2653: checking for arm-none-eabi-lipo
configure:2680: result: arm-none-eabi-lipo
configure:2745: checking for arm-none-eabi-nm
configure:2772: result: /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/nm
configure:2837: checking for arm-none-eabi-ranlib
configure:2864: result: arm-none-eabi-ranlib
configure:2929: checking for arm-none-eabi-strip
configure:2956: result: arm-none-eabi-strip
configure:3018: checking whether ln -s works
configure:3022: result: yes
configure:3039: checking for arm-none-eabi-gcc
configure:3066: result: /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/xgcc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/ -nostdinc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/ -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/targ-include -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/newlib/libc/include -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/arm -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/libnosys -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/libgloss/arm -B/home/sven/sat/arm-none-eabi/bin/ -B/home/sven/sat/arm-none-eabi/lib/ -isystem /home/sven/sat/arm-none-eabi/include -isystem /home/sven/sat/arm-none-eabi/sys-include

configure:3335: checking for C compiler version
configure:3344: /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/xgcc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/ -nostdinc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/ -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/targ-include -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/newlib/libc/include -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/arm -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/libnosys -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/libgloss/arm -B/home/sven/sat/arm-none-eabi/bin/ -B/home/sven/sat/arm-none-eabi/lib/ -isystem /home/sven/sat/arm-none-eabi/include -isystem /home/sven/sat/arm-none-eabi/sys-include --version >&5
xgcc (Linaro GCC 4.7-2013.01) 4.7.3 20130102 (prerelease)
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3355: $? = 0
configure:3344: /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/xgcc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/ -nostdinc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/ -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/targ-include -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/newlib/libc/include -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/arm -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/libnosys -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/libgloss/arm -B/home/sven/sat/arm-none-eabi/bin/ -B/home/sven/sat/arm-none-eabi/lib/ -isystem /home/sven/sat/arm-none-eabi/include -isystem /home/sven/sat/arm-none-eabi/sys-include -v >&5
Reading specs from /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/specs
COLLECT_GCC=/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/xgcc
COLLECT_LTO_WRAPPER=/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/lto-wrapper
Target: arm-none-eabi
Configured with: ../gcc-linaro-4.7-2013.01/configure --target=arm-none-eabi --prefix=/home/sven/sat --enable-multilib --enable-languages=c,c++ --with-newlib --with-gnu-as --with-gnu-ld --disable-nls --disable-shared --disable-threads --with-headers=newlib/libc/include --disable-libssp --disable-libstdcxx-pch --disable-libmudflap --disable-libgomp --disable-werror --with-system-zlib --disable-newlib-supplied-syscalls : (reconfigured) ../gcc-linaro-4.7-2013.01/configure --target=arm-none-eabi --prefix=/home/sven/sat --enable-multilib --enable-languages=c,c++ --with-newlib --with-gnu-as --with-gnu-ld --disable-nls --disable-shared --disable-threads --with-headers=newlib/libc/include --disable-libssp --disable-libstdcxx-pch --disable-libmudflap --disable-libgomp --disable-werror --with-system-zlib --disable-newlib-supplied-syscalls : (reconfigured) ../gcc-linaro-4.7-2013.01/configure --target=arm-none-eabi --prefix=/usr/local/summon-arm-toolchain --enable-multilib --enable-languages=c,c++ --with-newlib --with-gnu-as --with-gnu-ld --disable-nls --disable-shared --disable-threads --with-headers=newlib/libc/include --disable-libssp --disable-libstdcxx-pch --disable-libmudflap --disable-libgomp --disable-werror --with-system-zlib --disable-newlib-supplied-syscalls : (reconfigured) ../gcc-linaro-4.7-2013.01/configure --target=arm-none-eabi --prefix=/usr/local/summon-arm-toolchain --enable-multilib --enable-languages=c,c++ --with-newlib --with-gnu-as --with-gnu-ld --disable-nls --disable-shared --disable-threads --with-headers=newlib/libc/include --disable-libssp --disable-libstdcxx-pch --disable-libmudflap --disable-libgomp --disable-werror --with-system-zlib --disable-newlib-supplied-syscalls : (reconfigured) ../gcc-4.7.2/configure --target=arm-none-eabi --prefix=/usr/local/summon-arm-toolchain --enable-multilib --enable-languages=c,c++ --with-newlib --with-gnu-as --with-gnu-ld --disable-nls --disable-shared --disable-threads --with-headers=newlib/libc/include --disable-libssp --disable-libstdcxx-pch --disable-libmudflap --disable-libgomp --disable-werror --with-system-zlib --disable-newlib-supplied-syscalls : (reconfigured) ../gcc-linaro-4.7-2013.01/configure --target=arm-none-eabi --prefix=/home/sven/sat --enable-multilib --enable-languages=c,c++ --with-newlib --with-gnu-as --with-gnu-ld --disable-nls --disable-shared --disable-threads --with-headers=newlib/libc/include --disable-libssp --disable-libstdcxx-pch --disable-libmudflap --disable-libgomp --disable-werror --with-system-zlib --disable-newlib-supplied-syscalls
Thread model: single
gcc version 4.7.3 20130102 (prerelease) (Linaro GCC 4.7-2013.01)
configure:3355: $? = 0
configure:3344: /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/xgcc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/ -nostdinc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/ -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/targ-include -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/newlib/libc/include -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/arm -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/libnosys -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/libgloss/arm -B/home/sven/sat/arm-none-eabi/bin/ -B/home/sven/sat/arm-none-eabi/lib/ -isystem /home/sven/sat/arm-none-eabi/include -isystem /home/sven/sat/arm-none-eabi/sys-include -V >&5
xgcc: error: unrecognized command line option '-V'
xgcc: fatal error: no input files
compilation terminated.
configure:3355: $? = 1
configure:3344: /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/xgcc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/ -nostdinc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/ -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/targ-include -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/newlib/libc/include -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/arm -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/libnosys -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/libgloss/arm -B/home/sven/sat/arm-none-eabi/bin/ -B/home/sven/sat/arm-none-eabi/lib/ -isystem /home/sven/sat/arm-none-eabi/include -isystem /home/sven/sat/arm-none-eabi/sys-include -qversion >&5
xgcc: error: unrecognized command line option '-qversion'
xgcc: fatal error: no input files
compilation terminated.
configure:3355: $? = 1
configure:3371: /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/xgcc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/ -nostdinc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/ -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/targ-include -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/newlib/libc/include -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/arm -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/libnosys -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/libgloss/arm -B/home/sven/sat/arm-none-eabi/bin/ -B/home/sven/sat/arm-none-eabi/lib/ -isystem /home/sven/sat/arm-none-eabi/include -isystem /home/sven/sat/arm-none-eabi/sys-include -o conftest -g -O2 conftest.c >&5
/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/as: 87: exec: -meabi=5: not found
configure:3374: $? = 1
configure:3562: checking for suffix of object files
configure:3584: /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/xgcc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/ -nostdinc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/ -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/targ-include -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/newlib/libc/include -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/arm -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/libnosys -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/libgloss/arm -B/home/sven/sat/arm-none-eabi/bin/ -B/home/sven/sat/arm-none-eabi/lib/ -isystem /home/sven/sat/arm-none-eabi/include -isystem /home/sven/sat/arm-none-eabi/sys-include -c -g -O2 conftest.c >&5
/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/as: 87: exec: -meabi=5: not found
configure:3588: $? = 1
configure: failed program was:
| /* confdefs.h /
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgcc/"
| /
end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3602: error: in /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgcc':
configure:3605: error: cannot compute suffix of object files: cannot compile
See
config.log' for more details.

----------------

Cache variables.

----------------

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_env_CC_set=set
ac_cv_env_CC_value='/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/xgcc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/ -nostdinc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/ -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/targ-include -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/newlib/libc/include -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/arm -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/libnosys -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/libgloss/arm -B/home/sven/sat/arm-none-eabi/bin/ -B/home/sven/sat/arm-none-eabi/lib/ -isystem /home/sven/sat/arm-none-eabi/include -isystem /home/sven/sat/arm-none-eabi/sys-include '
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-g -O2'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-unknown-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=arm-none-eabi
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=arm-none-eabi
ac_cv_host=arm-none-eabi
ac_cv_prog_AR=arm-none-eabi-ar
ac_cv_prog_AWK=gawk
ac_cv_prog_CC='/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/xgcc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/ -nostdinc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/ -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/targ-include -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/newlib/libc/include -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/arm -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/libnosys -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/libgloss/arm -B/home/sven/sat/arm-none-eabi/bin/ -B/home/sven/sat/arm-none-eabi/lib/ -isystem /home/sven/sat/arm-none-eabi/include -isystem /home/sven/sat/arm-none-eabi/sys-include '
ac_cv_prog_LIPO=arm-none-eabi-lipo
ac_cv_prog_NM=/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/nm
ac_cv_prog_RANLIB=arm-none-eabi-ranlib
ac_cv_prog_STRIP=arm-none-eabi-strip

-----------------

Output variables.

-----------------

AR='arm-none-eabi-ar'
AWK='gawk'
CC='/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/xgcc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/ -nostdinc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/ -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/targ-include -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/newlib/libc/include -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/arm -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/libnosys -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/libgloss/arm -B/home/sven/sat/arm-none-eabi/bin/ -B/home/sven/sat/arm-none-eabi/lib/ -isystem /home/sven/sat/arm-none-eabi/include -isystem /home/sven/sat/arm-none-eabi/sys-include '
CFLAGS='-g -O2'
CPP=''
CPPFLAGS=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
INSTALL_DATA='/usr/bin/install -c -m 644'
INSTALL_PROGRAM='/usr/bin/install -c'
INSTALL_SCRIPT='/usr/bin/install -c'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIPO='arm-none-eabi-lipo'
LN_S='ln -s'
LTLIBOBJS=''
MAINT='#'
NM='/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/nm'
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME='GNU C Runtime Library'
PACKAGE_STRING='GNU C Runtime Library 1.0'
PACKAGE_TARNAME='libgcc'
PACKAGE_URL='http://www.gnu.org/software/libgcc/'
PACKAGE_VERSION='1.0'
PATH_SEPARATOR=':'
PICFLAG='-fPIC'
RANLIB='arm-none-eabi-ranlib'
SHELL='/bin/bash'
STRIP='arm-none-eabi-strip'
ac_ct_CC=''
asm_hidden_op=''
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias='x86_64-unknown-linux-gnu'
build_cpu='x86_64'
build_libsubdir='build-x86_64-unknown-linux-gnu'
build_os='linux-gnu'
build_subdir='build-x86_64-unknown-linux-gnu'
build_vendor='unknown'
cpu_type=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
decimal_float=''
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
double_type_size=''
dvidir='${docdir}'
enable_decimal_float=''
enable_shared='no'
exec_prefix='NONE'
extra_parts=''
fixed_point=''
host='arm-none-eabi'
host_alias='arm-none-eabi'
host_cpu='arm'
host_noncanonical='arm-none-eabi'
host_os='eabi'
host_subdir='.'
host_vendor='none'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
libgcc_topdir='../../../gcc-linaro-4.7-2013.01/libgcc/..'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
long_double_type_size=''
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/home/sven/sat'
program_transform_name='s&^&arm-none-eabi-&'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
set_have_cc_tls=''
set_use_emutls=''
sfp_machine_header=''
sharedstatedir='${prefix}/com'
slibdir='$(exec_prefix)/$(host_noncanonical)/lib'
sysconfdir='${prefix}/etc'
target_alias='arm-none-eabi'
target_noncanonical='arm-none-eabi'
target_subdir='arm-none-eabi'
tm_defines=''
tm_file=''
tmake_file=''
toolexecdir='$(exec_prefix)/$(target_noncanonical)'
toolexeclibdir='$(toolexecdir)/lib'
vis_hide=''

-----------

confdefs.h.

-----------

/* confdefs.h */
#define PACKAGE_NAME "GNU C Runtime Library"
#define PACKAGE_TARNAME "libgcc"
#define PACKAGE_VERSION "1.0"
#define PACKAGE_STRING "GNU C Runtime Library 1.0"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL "http://www.gnu.org/software/libgcc/"

configure: exit 1


config.log for /summon-arm-toolchain:


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by GNU C Runtime Library configure 1.0, which was
generated by GNU Autoconf 2.64. Invocation command line was

$ /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/libgcc/configure --cache-file=./config.cache --with-newlib --with-cross-host=x86_64-unknown-linux-gnu --prefix=/usr/local/summon-arm-toolchain --enable-multilib --with-newlib --with-gnu-as --with-gnu-ld --disable-nls --disable-shared --disable-threads --with-headers=newlib/libc/include --disable-libssp --disable-libstdcxx-pch --disable-libmudflap --disable-libgomp --disable-werror --with-system-zlib --disable-newlib-supplied-syscalls --enable-languages=c,c++,lto --program-transform-name=s&^&arm-none-eabi-& --disable-option-checking --with-target-subdir=arm-none-eabi --build=x86_64-unknown-linux-gnu --host=arm-none-eabi --target=arm-none-eabi --srcdir=../../../gcc-linaro-4.7-2013.01/libgcc

---------

Platform.

---------

hostname = desv-vaio-mint
uname -m = x86_64
uname -r = 3.5.0-17-generic
uname -s = Linux
uname -v = #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/summon-arm-toolchain/bin
PATH: /usr/local/maven/bin
PATH: /usr/lib/jvm/java-7-oracle/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games

-----------

Core tests.

-----------

configure:1968: loading cache ./config.cache
configure:2144: checking build system type
configure:2158: result: x86_64-unknown-linux-gnu
configure:2178: checking host system type
configure:2191: result: arm-none-eabi
configure:2289: checking for --enable-version-specific-runtime-libs
configure:2302: result: no
configure:2350: checking for a BSD-compatible install
configure:2418: result: /usr/bin/install -c
configure:2434: checking for gawk
configure:2461: result: gawk
configure:2561: checking for arm-none-eabi-ar
configure:2588: result: /usr/local/summon-arm-toolchain/arm-none-eabi/bin/ar
configure:2653: checking for arm-none-eabi-lipo
configure:2680: result: arm-none-eabi-lipo
configure:2745: checking for arm-none-eabi-nm
configure:2772: result: /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/nm
configure:2837: checking for arm-none-eabi-ranlib
configure:2864: result: /usr/local/summon-arm-toolchain/arm-none-eabi/bin/ranlib
configure:2929: checking for arm-none-eabi-strip
configure:2956: result: /usr/local/summon-arm-toolchain/arm-none-eabi/bin/strip
configure:3018: checking whether ln -s works
configure:3022: result: yes
configure:3039: checking for arm-none-eabi-gcc
configure:3066: result: /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/xgcc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/ -nostdinc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/ -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/targ-include -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/newlib/libc/include -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/arm -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/libnosys -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/libgloss/arm -B/usr/local/summon-arm-toolchain/arm-none-eabi/bin/ -B/usr/local/summon-arm-toolchain/arm-none-eabi/lib/ -isystem /usr/local/summon-arm-toolchain/arm-none-eabi/include -isystem /usr/local/summon-arm-toolchain/arm-none-eabi/sys-include

configure:3335: checking for C compiler version
configure:3344: /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/xgcc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/ -nostdinc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/ -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/targ-include -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/newlib/libc/include -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/arm -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/libnosys -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/libgloss/arm -B/usr/local/summon-arm-toolchain/arm-none-eabi/bin/ -B/usr/local/summon-arm-toolchain/arm-none-eabi/lib/ -isystem /usr/local/summon-arm-toolchain/arm-none-eabi/include -isystem /usr/local/summon-arm-toolchain/arm-none-eabi/sys-include --version >&5
xgcc (Linaro GCC 4.7-2013.01) 4.7.3 20130102 (prerelease)
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3355: $? = 0
configure:3344: /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/xgcc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/ -nostdinc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/ -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/targ-include -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/newlib/libc/include -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/arm -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/libnosys -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/libgloss/arm -B/usr/local/summon-arm-toolchain/arm-none-eabi/bin/ -B/usr/local/summon-arm-toolchain/arm-none-eabi/lib/ -isystem /usr/local/summon-arm-toolchain/arm-none-eabi/include -isystem /usr/local/summon-arm-toolchain/arm-none-eabi/sys-include -v >&5
Reading specs from /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/specs
COLLECT_GCC=/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/xgcc
COLLECT_LTO_WRAPPER=/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/lto-wrapper
Target: arm-none-eabi
Configured with: ../gcc-linaro-4.7-2013.01/configure --target=arm-none-eabi --prefix=/home/sven/sat --enable-multilib --enable-languages=c,c++ --with-newlib --with-gnu-as --with-gnu-ld --disable-nls --disable-shared --disable-threads --with-headers=newlib/libc/include --disable-libssp --disable-libstdcxx-pch --disable-libmudflap --disable-libgomp --disable-werror --with-system-zlib --disable-newlib-supplied-syscalls : (reconfigured) ../gcc-linaro-4.7-2013.01/configure --target=arm-none-eabi --prefix=/home/sven/sat --enable-multilib --enable-languages=c,c++ --with-newlib --with-gnu-as --with-gnu-ld --disable-nls --disable-shared --disable-threads --with-headers=newlib/libc/include --disable-libssp --disable-libstdcxx-pch --disable-libmudflap --disable-libgomp --disable-werror --with-system-zlib --disable-newlib-supplied-syscalls : (reconfigured) ../gcc-linaro-4.7-2013.01/configure --target=arm-none-eabi --prefix=/usr/local/summon-arm-toolchain --enable-multilib --enable-languages=c,c++ --with-newlib --with-gnu-as --with-gnu-ld --disable-nls --disable-shared --disable-threads --with-headers=newlib/libc/include --disable-libssp --disable-libstdcxx-pch --disable-libmudflap --disable-libgomp --disable-werror --with-system-zlib --disable-newlib-supplied-syscalls : (reconfigured) ../gcc-linaro-4.7-2013.01/configure --target=arm-none-eabi --prefix=/usr/local/summon-arm-toolchain --enable-multilib --enable-languages=c,c++ --with-newlib --with-gnu-as --with-gnu-ld --disable-nls --disable-shared --disable-threads --with-headers=newlib/libc/include --disable-libssp --disable-libstdcxx-pch --disable-libmudflap --disable-libgomp --disable-werror --with-system-zlib --disable-newlib-supplied-syscalls : (reconfigured) ../gcc-4.7.2/configure --target=arm-none-eabi --prefix=/usr/local/summon-arm-toolchain --enable-multilib --enable-languages=c,c++ --with-newlib --with-gnu-as --with-gnu-ld --disable-nls --disable-shared --disable-threads --with-headers=newlib/libc/include --disable-libssp --disable-libstdcxx-pch --disable-libmudflap --disable-libgomp --disable-werror --with-system-zlib --disable-newlib-supplied-syscalls : (reconfigured) ../gcc-linaro-4.7-2013.01/configure --target=arm-none-eabi --prefix=/home/sven/sat --enable-multilib --enable-languages=c,c++ --with-newlib --with-gnu-as --with-gnu-ld --disable-nls --disable-shared --disable-threads --with-headers=newlib/libc/include --disable-libssp --disable-libstdcxx-pch --disable-libmudflap --disable-libgomp --disable-werror --with-system-zlib --disable-newlib-supplied-syscalls : (reconfigured) ../gcc-linaro-4.7-2013.01/configure --target=arm-none-eabi --prefix=/usr/local/summon-arm-toolchain --enable-multilib --enable-languages=c,c++ --with-newlib --with-gnu-as --with-gnu-ld --disable-nls --disable-shared --disable-threads --with-headers=newlib/libc/include --disable-libssp --disable-libstdcxx-pch --disable-libmudflap --disable-libgomp --disable-werror --with-system-zlib --disable-newlib-supplied-syscalls
Thread model: single
gcc version 4.7.3 20130102 (prerelease) (Linaro GCC 4.7-2013.01)
configure:3355: $? = 0
configure:3344: /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/xgcc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/ -nostdinc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/ -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/targ-include -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/newlib/libc/include -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/arm -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/libnosys -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/libgloss/arm -B/usr/local/summon-arm-toolchain/arm-none-eabi/bin/ -B/usr/local/summon-arm-toolchain/arm-none-eabi/lib/ -isystem /usr/local/summon-arm-toolchain/arm-none-eabi/include -isystem /usr/local/summon-arm-toolchain/arm-none-eabi/sys-include -V >&5
xgcc: error: unrecognized command line option '-V'
xgcc: fatal error: no input files
compilation terminated.
configure:3355: $? = 1
configure:3344: /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/xgcc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/ -nostdinc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/ -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/targ-include -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/newlib/libc/include -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/arm -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/libnosys -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/libgloss/arm -B/usr/local/summon-arm-toolchain/arm-none-eabi/bin/ -B/usr/local/summon-arm-toolchain/arm-none-eabi/lib/ -isystem /usr/local/summon-arm-toolchain/arm-none-eabi/include -isystem /usr/local/summon-arm-toolchain/arm-none-eabi/sys-include -qversion >&5
xgcc: error: unrecognized command line option '-qversion'
xgcc: fatal error: no input files
compilation terminated.
configure:3355: $? = 1
configure:3371: /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/xgcc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/ -nostdinc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/ -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/targ-include -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/newlib/libc/include -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/arm -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/libnosys -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/libgloss/arm -B/usr/local/summon-arm-toolchain/arm-none-eabi/bin/ -B/usr/local/summon-arm-toolchain/arm-none-eabi/lib/ -isystem /usr/local/summon-arm-toolchain/arm-none-eabi/include -isystem /usr/local/summon-arm-toolchain/arm-none-eabi/sys-include -o conftest -g -O2 conftest.c >&5
/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/as: 87: exec: -meabi=5: not found
configure:3374: $? = 1
configure:3562: checking for suffix of object files
configure:3584: /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/xgcc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/ -nostdinc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/ -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/targ-include -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/newlib/libc/include -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/arm -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/libnosys -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/libgloss/arm -B/usr/local/summon-arm-toolchain/arm-none-eabi/bin/ -B/usr/local/summon-arm-toolchain/arm-none-eabi/lib/ -isystem /usr/local/summon-arm-toolchain/arm-none-eabi/include -isystem /usr/local/summon-arm-toolchain/arm-none-eabi/sys-include -c -g -O2 conftest.c >&5
/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/as: 87: exec: -meabi=5: not found
configure:3588: $? = 1
configure: failed program was:
| /* confdefs.h /
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgcc/"
| /
end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3602: error: in /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgcc':
configure:3605: error: cannot compute suffix of object files: cannot compile
See
config.log' for more details.

----------------

Cache variables.

----------------

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_env_CC_set=set
ac_cv_env_CC_value='/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/xgcc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/ -nostdinc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/ -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/targ-include -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/newlib/libc/include -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/arm -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/libnosys -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/libgloss/arm -B/usr/local/summon-arm-toolchain/arm-none-eabi/bin/ -B/usr/local/summon-arm-toolchain/arm-none-eabi/lib/ -isystem /usr/local/summon-arm-toolchain/arm-none-eabi/include -isystem /usr/local/summon-arm-toolchain/arm-none-eabi/sys-include '
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-g -O2'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-unknown-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=arm-none-eabi
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=arm-none-eabi
ac_cv_host=arm-none-eabi
ac_cv_prog_AR=/usr/local/summon-arm-toolchain/arm-none-eabi/bin/ar
ac_cv_prog_AWK=gawk
ac_cv_prog_CC='/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/xgcc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/ -nostdinc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/ -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/targ-include -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/newlib/libc/include -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/arm -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/libnosys -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/libgloss/arm -B/usr/local/summon-arm-toolchain/arm-none-eabi/bin/ -B/usr/local/summon-arm-toolchain/arm-none-eabi/lib/ -isystem /usr/local/summon-arm-toolchain/arm-none-eabi/include -isystem /usr/local/summon-arm-toolchain/arm-none-eabi/sys-include '
ac_cv_prog_LIPO=arm-none-eabi-lipo
ac_cv_prog_NM=/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/nm
ac_cv_prog_RANLIB=/usr/local/summon-arm-toolchain/arm-none-eabi/bin/ranlib
ac_cv_prog_STRIP=/usr/local/summon-arm-toolchain/arm-none-eabi/bin/strip

-----------------

Output variables.

-----------------

AR='/usr/local/summon-arm-toolchain/arm-none-eabi/bin/ar'
AWK='gawk'
CC='/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/xgcc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/ -nostdinc -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/ -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/newlib/targ-include -isystem /home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/newlib/libc/include -B/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/arm -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/arm-none-eabi/libgloss/libnosys -L/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/gcc-linaro-4.7-2013.01/libgloss/arm -B/usr/local/summon-arm-toolchain/arm-none-eabi/bin/ -B/usr/local/summon-arm-toolchain/arm-none-eabi/lib/ -isystem /usr/local/summon-arm-toolchain/arm-none-eabi/include -isystem /usr/local/summon-arm-toolchain/arm-none-eabi/sys-include '
CFLAGS='-g -O2'
CPP=''
CPPFLAGS=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
INSTALL_DATA='/usr/bin/install -c -m 644'
INSTALL_PROGRAM='/usr/bin/install -c'
INSTALL_SCRIPT='/usr/bin/install -c'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIPO='arm-none-eabi-lipo'
LN_S='ln -s'
LTLIBOBJS=''
MAINT='#'
NM='/home/sven/Documents/work/arm/cortex-m4/summon-arm-toolchain/build/./gcc/nm'
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME='GNU C Runtime Library'
PACKAGE_STRING='GNU C Runtime Library 1.0'
PACKAGE_TARNAME='libgcc'
PACKAGE_URL='http://www.gnu.org/software/libgcc/'
PACKAGE_VERSION='1.0'
PATH_SEPARATOR=':'
PICFLAG='-fPIC'
RANLIB='/usr/local/summon-arm-toolchain/arm-none-eabi/bin/ranlib'
SHELL='/bin/bash'
STRIP='/usr/local/summon-arm-toolchain/arm-none-eabi/bin/strip'
ac_ct_CC=''
asm_hidden_op=''
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias='x86_64-unknown-linux-gnu'
build_cpu='x86_64'
build_libsubdir='build-x86_64-unknown-linux-gnu'
build_os='linux-gnu'
build_subdir='build-x86_64-unknown-linux-gnu'
build_vendor='unknown'
cpu_type=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
decimal_float=''
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
double_type_size=''
dvidir='${docdir}'
enable_decimal_float=''
enable_shared='no'
exec_prefix='NONE'
extra_parts=''
fixed_point=''
host='arm-none-eabi'
host_alias='arm-none-eabi'
host_cpu='arm'
host_noncanonical='arm-none-eabi'
host_os='eabi'
host_subdir='.'
host_vendor='none'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
libgcc_topdir='../../../gcc-linaro-4.7-2013.01/libgcc/..'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
long_double_type_size=''
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local/summon-arm-toolchain'
program_transform_name='s&^&arm-none-eabi-&'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
set_have_cc_tls=''
set_use_emutls=''
sfp_machine_header=''
sharedstatedir='${prefix}/com'
slibdir='$(exec_prefix)/$(host_noncanonical)/lib'
sysconfdir='${prefix}/etc'
target_alias='arm-none-eabi'
target_noncanonical='arm-none-eabi'
target_subdir='arm-none-eabi'
tm_defines=''
tm_file=''
tmake_file=''
toolexecdir='$(exec_prefix)/$(target_noncanonical)'
toolexeclibdir='$(toolexecdir)/lib'
vis_hide=''

-----------

confdefs.h.

-----------

/* confdefs.h */
#define PACKAGE_NAME "GNU C Runtime Library"
#define PACKAGE_TARNAME "libgcc"
#define PACKAGE_VERSION "1.0"
#define PACKAGE_STRING "GNU C Runtime Library 1.0"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL "http://www.gnu.org/software/libgcc/"

configure: exit 1

@gnif

This is also occurring as arm-none-eabi for me

@marcelofernandez

I'm having a similar issue. Here's my build/arm-none-eabi/libgcc/config.log: http://pastebin.com/FpXwRhgZ

Searching for "error", I'm having this output:

[...]
Thread model: single
gcc version 4.7.3 20130102 (prerelease) (Linaro GCC 4.7-2013.01)
configure:3355: $? = 0
configure:3344: /home/marcelo/src/summon-arm-toolchain/build/./gcc/xgcc -B/home/marcelo/src/summon-arm-toolchain/build/./gcc/ -nostdinc -B/home/marcelo/src/summon-arm-toolchain/build/arm-none-eabi/newlib/ -isystem /home/marcelo/src/summon-arm-toolchain/build/arm-none-eabi/newlib/targ-include -isystem /home/marcelo/src/summon-arm-toolchain/gcc-linaro-4.7-2013.01/newlib/libc/include -B/home/marcelo/src/summon-arm-toolchain/build/arm-none-eabi/libgloss/arm -L/home/marcelo/src/summon-arm-toolchain/build/arm-none-eabi/libgloss/libnosys -L/home/marcelo/src/summon-arm-toolchain/gcc-linaro-4.7-2013.01/libgloss/arm -B/opt/sat-20130122/arm-none-eabi/bin/ -B/opt/sat-20130122/arm-none-eabi/lib/ -isystem /opt/sat-20130122/arm-none-eabi/include -isystem /opt/sat-20130122/arm-none-eabi/sys-include -V >&5
xgcc: error: unrecognized command line option '-V'
xgcc: fatal error: no input files
compilation terminated.
configure:3355: $? = 1
configure:3344: /home/marcelo/src/summon-arm-toolchain/build/./gcc/xgcc -B/home/marcelo/src/summon-arm-toolchain/build/./gcc/ -nostdinc -B/home/marcelo/src/summon-arm-toolchain/build/arm-none-eabi/newlib/ -isystem /home/marcelo/src/summon-arm-toolchain/build/arm-none-eabi/newlib/targ-include -isystem /home/marcelo/src/summon-arm-toolchain/gcc-linaro-4.7-2013.01/newlib/libc/include -B/home/marcelo/src/summon-arm-toolchain/build/arm-none-eabi/libgloss/arm -L/home/marcelo/src/summon-arm-toolchain/build/arm-none-eabi/libgloss/libnosys -L/home/marcelo/src/summon-arm-toolchain/gcc-linaro-4.7-2013.01/libgloss/arm -B/opt/sat-20130122/arm-none-eabi/bin/ -B/opt/sat-20130122/arm-none-eabi/lib/ -isystem /opt/sat-20130122/arm-none-eabi/include -isystem /opt/sat-20130122/arm-none-eabi/sys-include -qversion >&5
xgcc: error: unrecognized command line option '-qversion'
xgcc: fatal error: no input files
compilation terminated.
configure:3355: $? = 1
configure:3371: /home/marcelo/src/summon-arm-toolchain/build/./gcc/xgcc -B/home/marcelo/src/summon-arm-toolchain/build/./gcc/ -nostdinc -B/home/marcelo/src/summon-arm-toolchain/build/arm-none-eabi/newlib/ -isystem /home/marcelo/src/summon-arm-toolchain/build/arm-none-eabi/newlib/targ-include -isystem /home/marcelo/src/summon-arm-toolchain/gcc-linaro-4.7-2013.01/newlib/libc/include -B/home/marcelo/src/summon-arm-toolchain/build/arm-none-eabi/libgloss/arm -L/home/marcelo/src/summon-arm-toolchain/build/arm-none-eabi/libgloss/libnosys -L/home/marcelo/src/summon-arm-toolchain/gcc-linaro-4.7-2013.01/libgloss/arm -B/opt/sat-20130122/arm-none-eabi/bin/ -B/opt/sat-20130122/arm-none-eabi/lib/ -isystem /opt/sat-20130122/arm-none-eabi/include -isystem /opt/sat-20130122/arm-none-eabi/sys-include -o conftest -g -O2 conftest.c >&5
/opt/sat-20130122/arm-none-eabi/bin/ld: cannot find crti.o: No such file or directory
/opt/sat-20130122/arm-none-eabi/bin/ld: cannot find crtbegin.o: No such file or directory
/opt/sat-20130122/arm-none-eabi/bin/ld: cannot find crt0.o: No such file or directory
/opt/sat-20130122/arm-none-eabi/bin/ld: cannot find -lgcc
/opt/sat-20130122/arm-none-eabi/bin/ld: cannot find -lg
/opt/sat-20130122/arm-none-eabi/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status
[...]

And long after that, there are two "conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory".

Regards

@gnif

@marcelofernandez - That is unrelated to this issue as it is not due to the '-meabi' error

@gnif

I found the issue... it is because binutils was not built due to a stamp file existing to say it had built.

For those that are having trouble, try rm -rf build/* stamp/* first

@marcelofernandez

@gnif, you're right, sorry. I'll try to clone the repo again and create an issue if it happends again.

Regards.

@sventunus

gnif, you're a genius! It worked for me too! Pure awesomeness++! Thank you! :-) :+1:

@jhgorse

Perhaps consider adding rm -rf build/* stamp/* to the summon-arm-toolchain script for a timestamp from last build less recent than the summon script. A sort of make clean, if you will.

This did not work for me on OS X.
```Settings used for this build are:
TARGET=arm-none-eabi
PREFIX=/usr/local/sat-fsf
DARWIN_OPT_PATH=/usr/local
SUDO=
QUIET=0
USE_LINARO=0
OOCD_EN=1
OOCD_GIT=master
LIBSTM32_EN=1
LIBOPENCM3_EN=1
DEFAULT_TO_CORTEX_M3=1
CPUS=2
2 cpu's detected running make with '-j2' flag
Found Darwin OS.
Found you are using llvm gcc, switching to clang for gcc compile.


  • Unpacking gcc-4.7.2```
@jhgorse

Disregard. Apparently copy/paste from github via Chrome to terminal does not always work in a WYSIWYG way and I had not actually deleted the stamp files. facepalm
Googling brought me to LFS question on GMANE. Perhaps this may be related to how and where the build directory is located, as per this similar LFS experience:
http://comments.gmane.org/gmane.linux.lfs.support/33129

I went into libgcc to investigate the scene of the crime. As per some Google advice, tried `aclocal --verbose -I config` with autoconf 2.6.4 (does not work with newer versions of ac), then autoconf within the libgcc directory. The resulting `./configure && make` seems to work so far. I doubt the config flags carried over though.
@koshk

@gnif how did you figure out that the error could be solved in that way?
Thanks it worked well!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.