This is the mail archive of the
crossgcc@sourceware.org
mailing list for the crossgcc project.
See the CrossGCC FAQ for lots
more information.
armv5te-softfloat-linux-gnu toolchain compilation
- From: cyril Romain <c dot romain at laposte dot net>
- To: crossgcc at sourceware dot org
- Date: Sun, 02 Apr 2006 17:47:32 +0200
- Subject: armv5te-softfloat-linux-gnu toolchain compilation
Hello !
I'm trying to build an armv5te-softfloat-linux-gnu toolchain with
crossdev (under Gentoo) but gcc4.1 failed to compile.
Here is a little summary:
binutils > 2.6.16.x compiled like a charm.
gcc4.1 stage1 compiled.
glibc >= 2.4-r2 compiled. (previous version failed to compiled but it is
fixed now in glibc2.4-r2)
whatever kernel > 2.6.11.
But gcc4.1 stage2 failed to compile. Here is the tail of the
cross-armv5te-softfloat-linux-gnu-gcc-stage2.log:
[...]
echo |
/var/tmp/cross/armv5te-softfloat-linux-gnu/portage/gcc-4.1.0/work/build/./gcc/xgcc
-B/var/tmp/cross/armv5te-softfloat-linux-gnu/portage/gcc-4.1.0/work/build/./gcc/
-B/usr/armv5te-softfloat-linux-gnu/bin/
-B/usr/armv5te-softfloat-linux-gnu/lib/ -isystem
/usr/armv5te-softfloat-linux-gnu/include -isystem
/usr/armv5te-softfloat-linux-gnu/sys-include -E -dM - | \
sed -n 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p ; \
s/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \
sort -u > tmp-macro_list
/bin/sh
/var/tmp/cross/armv5te-softfloat-linux-gnu/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/../move-if-change
tmp-macro_list macro_list
echo timestamp > s-macro_list
The directory that should contain system headers does not exist:
/usr/armv5te-softfloat-linux-gnu/usr/include
make[2]: *** [stmp-fixinc] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/cross/armv5te-softfloat-linux-gnu/portage/gcc-4.1.0/work/build/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory
`/var/tmp/cross/armv5te-softfloat-linux-gnu/portage/gcc-4.1.0/work/build'
make: *** [all] Error 2
----------------
I don't know if it's a gcc4.1 configuration problem, or a crossdev one...
Have you any idea how to fix the the problem ?
Thanks in advance.
Cyril
For info the cross-armv5te-softfloat-linux-gnu-info.log
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
* Host Portage ARCH: x86
* Target Portage ARCH: arm
* Target System: armv5te-softfloat-linux-gnu
* Stage: 4 (C/C++ compiler)
* binutils: binutils-2.16.91.0.7
* gcc: gcc-4.1.0
* headers: linux-headers-2.6.15-r6
* libc: glibc-2.4-r2
* PORTDIR_OVERLAY: /usr/local/portage
* PORT_LOGDIR: /var/log/portage
* PKGDIR:
/usr/portage/packages/cross/armv5te-softfloat-linux-gnu
* PORTAGE_TMPDIR: /var/tmp/cross/armv5te-softfloat-linux-gnu
_ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~
- _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~
- _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~
- _ - ~ - _ - ~
Gentoo Base System version 1.6.14
Portage 2.1_pre7-r3 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r2,
2.6.15.6 i686)
=================================================================
System uname: 2.6.15.6 i686 AMD Athlon(tm) MP 1500+
distcc[21700] (dcc_get_top_dir) Warning: HOME is not set; can't find
distcc directory [disabled]
ccache version 2.3 [enabled]
dev-lang/python: 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1-r2
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/env.d"
CXXFLAGS="-march=i686 -O2 -fomit-frame-pointer -pipe
-fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms
strict userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages/cross/armv5te-softfloat-linux-gnu"
PORTAGE_TMPDIR="/var/tmp/cross/armv5te-softfloat-linux-gnu"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cli crypt ctype
cups dba dri eds emboss encode esd expat fastbuild foomaticdb
force-cgi-redirect fortran ftp gd gdbm gif gnome gpm gstreamer gtk gtk2
imlib ipv6 isdnlog jpeg kde libg++ libwww mad memlimit mikmod motif mp3
mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png
posix pppd python qt quicktime readline sdl session simplexml soap
sockets spell spl ssl tcpd tokenizer truetype truetype-fonts type1-fonts
udev unicode vorbis xml xmms xsl xv zlib elibc_glibc kernel_linux
userland_GNU"
Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LINGUAS
--
For unsubscribe information see http://sourceware.org/lists.html#faq