[Clfs-support] Failing at Cross Compiler Final

Schumi Imor schumiimor at gmail.com
Mon Jul 27 05:26:32 PDT 2009


Hello,
  I'm trying to follow the "Chapter 5. Constructing Cross-Compile
Tools" from "Sysroot - Version SVN-0.0.1-20090726-ARM", and it keep
failing to build a the final step "make
AS_FOR_TARGET="${CLFS_TARGET}-as"
LD_FOR_TARGET="${CLFS_TARGET}-ld", if I build that failing line
manually, it works.

 also attached is config.log

It fails with an output:

Checking multilib configuration for libgomp...
Configuring in arm-unknown-linux-gnu/libgomp
configure: loading cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for --enable-generated-files-in-srcdir... no
checking build system type... i586-cross-linux-gnu
checking host system type... arm-unknown-linux-gnu
checking target system type... arm-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-unknown-linux-gnu-strip...
/mnt/clfs/cross-tools/arm-unknown-linux-gnu/bin/strip
checking for arm-unknown-linux-gnu-gcc...
/home/clfs/gcc-build/./gcc/xgcc -B/home/clfs/gcc-build/./gcc/
-B/mnt/clfs/cross-tools/arm-unknown-linux-gnu/bin/-B/mnt/clfs/cross-tools/arm-unknown-linux-gnu/lib/
-isystem /mnt/clfs/cross-tools/arm-unknown-linux-gnu/include -isystem
/mnt/clfs/cross-tools/arm-unknown-linux-gnu/sys-include
checking for C compiler default output file name... configure: error:
in `/home/clfs/gcc-build/arm-unknown-linux-gnu/libgomp':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make[1]: *** [configure-target-libgomp] Error 1
make[1]: Leaving directory `/home/clfs/gcc-build'
make: *** [all] Error 2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 11411 bytes
Desc: not available
URL: <http://lists.clfs.org/pipermail/clfs-support-clfs.org/attachments/20090727/caa94fff/attachment-0001.bin>


More information about the Clfs-support mailing list