Hi,

I am trying to build a working environment with Angstrom Linux, QT5 for Toradex Apalis iMX6 module and additional QT5 SDK for my host machine. The compilation of Angstrom with additional QT5 layer went fine. However, there are some problems when building toolchain for the host machine (command meta-toolchain-qt5). It seems that there is a problem with configuration of linaro gcc runtime 4.8.

The reported error is: "checking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES".

The log file is in the attachment. Does anyone have any idea how to fix this problem? I am using Ubuntu 14.04.

Thanks in advance,

Crt Gorup
DEBUG: Executing python function sysroot_cleansstate
DEBUG: Python function sysroot_cleansstate finished
DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 
'x86_64-linux', 'common']
DEBUG: Executing shell function autotools_preconfigure
DEBUG: Shell function autotools_preconfigure finished
DEBUG: Executing python function autotools_copy_aclocals
DEBUG: Python function autotools_copy_aclocals finished
DEBUG: Executing python function gcc_multilib_setup
DEBUG: Python function gcc_multilib_setup finished
DEBUG: Executing shell function do_configure
Configuring libgcc
configure: WARNING: unrecognized options: --disable-silent-rules, 
--disable-dependency-tracking, --with-libtool-sysroot, --with-gnu-ld, 
--enable-languages, --enable-threads, --disable-multilib, --enable-c99, 
--enable-long-long, --enable-symvers, --enable-libstdcxx-pch, 
--without-local-prefix, --enable-target-optspace, --enable-lto, 
--enable-libssp, --disable-bootstrap, --disable-libmudflap, --with-system-zlib, 
--with-linker-hash-style, --enable-linker-build-id, --with-ppl, --with-cloog, 
--enable-checking, --enable-cheaders, --with-gxx-include-dir, --with-sysroot, 
--with-build-sysroot, --disable-libunwind-exceptions, --disable-nls, 
--enable-__cxa_atexit
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-angstromsdk-linux-gnu
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking for x86_64-angstromsdk-linux-ar... x86_64-angstromsdk-linux-ar
checking for x86_64-angstromsdk-linux-lipo... no
checking for lipo... no
checking for x86_64-angstromsdk-linux-nm... x86_64-angstromsdk-linux-nm
checking for x86_64-angstromsdk-linux-ranlib... x86_64-angstromsdk-linux-ranlib
checking for x86_64-angstromsdk-linux-strip... x86_64-angstromsdk-linux-strip
checking whether ln -s works... yes
checking for x86_64-angstromsdk-linux-gcc... x86_64-angstromsdk-linux-gcc  
--sysroot=/home/jure/Desktop/oe-core-qt5/build/out-eglibc/sysroots/x86_64-nativesdk-angstromsdk-linux
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-angstromsdk-linux-gcc  
--sysroot=/home/jure/Desktop/oe-core-qt5/build/out-eglibc/sysroots/x86_64-nativesdk-angstromsdk-linux
 accepts -g... yes
checking for x86_64-angstromsdk-linux-gcc  
--sysroot=/home/jure/Desktop/oe-core-qt5/build/out-eglibc/sysroots/x86_64-nativesdk-angstromsdk-linux
 option to accept ISO C89... none needed
checking how to run the C preprocessor... x86_64-angstromsdk-linux-gcc -E 
--sysroot=/home/jure/Desktop/oe-core-qt5/build/out-eglibc/sysroots/x86_64-nativesdk-angstromsdk-linux
 
checking size of double... 8
checking size of long double... 16
checking whether decimal floating point is supported... yes
checking whether fixed-point is supported... no
checking whether to use setjmp/longjmp exceptions... no
checking if the linker (x86_64-angstromsdk-linux-ld 
--sysroot=/home/jure/Desktop/oe-core-qt5/build/out-eglibc/sysroots/x86_64-nativesdk-angstromsdk-linux
 ) is GNU ld... yes
checking for thread model used by GCC... posix
checking whether assembler supports CFI directives... yes
checking for __attribute__((visibility("hidden")))... yes
checking whether the target assembler supports thread-local storage... yes
checking whether the thread-local storage support is from emutls... no
checking for init priority support... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating auto-target.h
config.status: linking 
/home/jure/Desktop/oe-core-qt5/build/out-eglibc/work-shared/gcc-linaro-4.8-r2014.04/gcc-linaro-4.8-2014.04/libgcc/enable-execute-stack-empty.c
 to enable-execute-stack.c
config.status: linking 
/home/jure/Desktop/oe-core-qt5/build/out-eglibc/work-shared/gcc-linaro-4.8-r2014.04/gcc-linaro-4.8-2014.04/libgcc/unwind-generic.h
 to unwind.h
config.status: linking 
/home/jure/Desktop/oe-core-qt5/build/out-eglibc/work-shared/gcc-linaro-4.8-r2014.04/gcc-linaro-4.8-2014.04/libgcc/config/i386/linux-unwind.h
 to md-unwind-support.h
config.status: linking 
/home/jure/Desktop/oe-core-qt5/build/out-eglibc/work-shared/gcc-linaro-4.8-r2014.04/gcc-linaro-4.8-2014.04/libgcc/config/i386/sfp-machine.h
 to sfp-machine.h
config.status: linking 
/home/jure/Desktop/oe-core-qt5/build/out-eglibc/work-shared/gcc-linaro-4.8-r2014.04/gcc-linaro-4.8-2014.04/libgcc/gthr-posix.h
 to gthr-default.h
config.status: executing default commands
configure: WARNING: unrecognized options: --disable-silent-rules, 
--disable-dependency-tracking, --with-libtool-sysroot, --with-gnu-ld, 
--enable-languages, --enable-threads, --disable-multilib, --enable-c99, 
--enable-long-long, --enable-symvers, --enable-libstdcxx-pch, 
--without-local-prefix, --enable-target-optspace, --enable-lto, 
--enable-libssp, --disable-bootstrap, --disable-libmudflap, --with-system-zlib, 
--with-linker-hash-style, --enable-linker-build-id, --with-ppl, --with-cloog, 
--enable-checking, --enable-cheaders, --with-gxx-include-dir, --with-sysroot, 
--with-build-sysroot, --disable-libunwind-exceptions, --disable-nls, 
--enable-__cxa_atexit
Configuring libssp
configure: WARNING: unrecognized options: --disable-silent-rules, 
--with-libtool-sysroot, --enable-languages, --enable-threads, --enable-c99, 
--enable-long-long, --enable-libstdcxx-pch, --without-local-prefix, 
--enable-target-optspace, --enable-lto, --enable-libssp, --disable-bootstrap, 
--disable-libmudflap, --with-system-zlib, --with-linker-hash-style, 
--enable-linker-build-id, --with-ppl, --with-cloog, --enable-checking, 
--enable-cheaders, --with-gxx-include-dir, --with-sysroot, 
--with-build-sysroot, --disable-libunwind-exceptions, --disable-nls, 
--enable-__cxa_atexit
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-angstromsdk-linux-gnu
checking target system type... x86_64-angstromsdk-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-angstromsdk-linux-strip... x86_64-angstromsdk-linux-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for --enable-version-specific-runtime-libs... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for x86_64-angstromsdk-linux-gcc... x86_64-angstromsdk-linux-gcc  
--sysroot=/home/jure/Desktop/oe-core-qt5/build/out-eglibc/sysroots/x86_64-nativesdk-angstromsdk-linux
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-angstromsdk-linux-gcc  
--sysroot=/home/jure/Desktop/oe-core-qt5/build/out-eglibc/sysroots/x86_64-nativesdk-angstromsdk-linux
 accepts -g... yes
checking for x86_64-angstromsdk-linux-gcc  
--sysroot=/home/jure/Desktop/oe-core-qt5/build/out-eglibc/sysroots/x86_64-nativesdk-angstromsdk-linux
 option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-angstromsdk-linux-gcc  
--sysroot=/home/jure/Desktop/oe-core-qt5/build/out-eglibc/sysroots/x86_64-nativesdk-angstromsdk-linux...
 none
checking how to run the C preprocessor... x86_64-angstromsdk-linux-gcc -E 
--sysroot=/home/jure/Desktop/oe-core-qt5/build/out-eglibc/sysroots/x86_64-nativesdk-angstromsdk-linux
 
checking whether -fstack-protector works... yes
checking whether hidden visibility is supported... yes
checking whether symbol versioning is supported... no
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking whether vsnprintf is usable... no
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) sed
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-angstromsdk-linux-gcc  
--sysroot=/home/jure/Desktop/oe-core-qt5/build/out-eglibc/sysroots/x86_64-nativesdk-angstromsdk-linux...
 x86_64-angstromsdk-linux-ld 
--sysroot=/home/jure/Desktop/oe-core-qt5/build/out-eglibc/sysroots/x86_64-nativesdk-angstromsdk-linux
 
checking if the linker (x86_64-angstromsdk-linux-ld 
--sysroot=/home/jure/Desktop/oe-core-qt5/build/out-eglibc/sysroots/x86_64-nativesdk-angstromsdk-linux
 ) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... 
x86_64-angstromsdk-linux-nm
checking the name lister (x86_64-angstromsdk-linux-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for x86_64-angstromsdk-linux-ld 
--sysroot=/home/jure/Desktop/oe-core-qt5/build/out-eglibc/sysroots/x86_64-nativesdk-angstromsdk-linux
  option to reload object files... -r
checking for x86_64-angstromsdk-linux-objdump... 
x86_64-angstromsdk-linux-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-angstromsdk-linux-ar... x86_64-angstromsdk-linux-ar
checking for x86_64-angstromsdk-linux-strip... (cached) 
x86_64-angstromsdk-linux-strip
checking for x86_64-angstromsdk-linux-ranlib... x86_64-angstromsdk-linux-ranlib
checking command to parse x86_64-angstromsdk-linux-nm output from 
x86_64-angstromsdk-linux-gcc  
--sysroot=/home/jure/Desktop/oe-core-qt5/build/out-eglibc/sysroots/x86_64-nativesdk-angstromsdk-linux
 object... failed
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-angstromsdk-linux-gcc  
--sysroot=/home/jure/Desktop/oe-core-qt5/build/out-eglibc/sysroots/x86_64-nativesdk-angstromsdk-linux
 supports -fno-rtti -fno-exceptions... no
checking for x86_64-angstromsdk-linux-gcc  
--sysroot=/home/jure/Desktop/oe-core-qt5/build/out-eglibc/sysroots/x86_64-nativesdk-angstromsdk-linux
 option to produce PIC... -fPIC -DPIC
checking if x86_64-angstromsdk-linux-gcc  
--sysroot=/home/jure/Desktop/oe-core-qt5/build/out-eglibc/sysroots/x86_64-nativesdk-angstromsdk-linux
 PIC flag -fPIC -DPIC works... yes
checking if x86_64-angstromsdk-linux-gcc  
--sysroot=/home/jure/Desktop/oe-core-qt5/build/out-eglibc/sysroots/x86_64-nativesdk-angstromsdk-linux
 static flag -static works... no
checking if x86_64-angstromsdk-linux-gcc  
--sysroot=/home/jure/Desktop/oe-core-qt5/build/out-eglibc/sysroots/x86_64-nativesdk-angstromsdk-linux
 supports -c -o file.o... yes
checking if x86_64-angstromsdk-linux-gcc  
--sysroot=/home/jure/Desktop/oe-core-qt5/build/out-eglibc/sysroots/x86_64-nativesdk-angstromsdk-linux
 supports -c -o file.o... (cached) yes
checking whether the x86_64-angstromsdk-linux-gcc  
--sysroot=/home/jure/Desktop/oe-core-qt5/build/out-eglibc/sysroots/x86_64-nativesdk-angstromsdk-linux
 linker (x86_64-angstromsdk-linux-ld 
--sysroot=/home/jure/Desktop/oe-core-qt5/build/out-eglibc/sysroots/x86_64-nativesdk-angstromsdk-linux
  -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... configure: error: Link tests are not 
allowed after GCC_NO_EXECUTABLES.
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_configure (log file is located at 
/home/jure/Desktop/oe-core-qt5/build/out-eglibc/work/x86_64-nativesdk-angstromsdk-linux/nativesdk-gcc-runtime/linaro-4.8-r2014.04/temp/log.do_configure.3497)
_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to