Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] crossdev fails on building gcc [--enable-esp pb]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
thild
n00b
n00b


Joined: 06 Nov 2008
Posts: 13

PostPosted: Sat Mar 19, 2011 10:13 am    Post subject: [SOLVED] crossdev fails on building gcc [--enable-esp pb] Reply with quote

Hello,

I'm trying to build a cross toolchain for sparc.
I'm using crossdev-20110310 and I have tested the followings:

crossdev -t sparc-sun-linux-uclibc
crossdev -t sparc-gentoo-linux-uclibc
crossdev -t sparc-gentoo-linux-gnu
crossdev -t sparc-unknown-linux-gnu
crossdev -S -t sparc-unkown-linux-gnu
crossdev -t sparc-unknown-linux-gnu --libc 2.13 --gcc 4.5.2

All fail on building the stage1 of gcc with the same error:
configure: error: *** --enable-esp is not supported on this sparc-unknown-linux-gnu target.

Has anyone succeeded in building a cross toolchain for sparc ?

Any help will be greatly appreciated,

Thibault


P.S.:
The output of "emerge --info" on the build host:

Portage 2.1.9.25 (default/linux/x86/10.0, gcc-4.4.5, glibc-2.11.3-r0, 2.6.36-gentoo-r5-20110301 i686)
=================================================================
System uname: Linux-2.6.36-gentoo-r5-20110301-i686-AMD_Athlon-tm-_XP_2500+-with-gentoo-1.12.14
Timestamp of tree: Fri, 18 Mar 2011 20:00:01 +0000
app-shells/bash: 4.1_p9
dev-lang/python: 2.6.6-r2, 3.1.3-r1
dev-util/cmake: 2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox: 2.4
sys-devel/autoconf: 2.65-r1sys-devel/automake: 1.11.1
sys-devel/binutils: 2.20.1-r1
sys-devel/gcc: 4.4.5
sys-devel/gcc-config: 1.4.1sys-devel/libtool: 2.2.10
sys-devel/make: 3.81-r2
virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon -mmmx -m3dnow -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=athlon -mmmx -m3dnow -pipe"DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local /var/lib/layman/zugaina /var/lib/layman/sunrise /var/lib/layman/voyageur /var/lib/layman/pro-audio"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow a52 aac acl acpi apm bash-completion bzip2 caps cdda cdparanoia cdr crypt css curl cxx dts dv dvb dvd dvdr encode exif expat fam fbcon ffmpeg flac gnutls hardened iconv icu lame mad matroska mmap mmx mp3 mp4 mpeg mplayer ncurses nls nptl ogg pam pcre perl posix python quicktime readline sasl sharedmem sockets speex sse ssl subversion theora threads udev unicode usb v4l v4l2 vcd vim-syntax vorbis wifi win32codecs x264 x86 xml xvid zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="en fr" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Last edited by thild on Mon Mar 28, 2011 9:33 am; edited 2 times in total
Back to top
View user's profile Send private message
thild
n00b
n00b


Joined: 06 Nov 2008
Posts: 13

PostPosted: Mon Mar 21, 2011 11:31 am    Post subject: crossdev fails also for mips64el-unknown-linux-gnu Reply with quote

I have also the same problem with mips64el-unknown-linux-gnu so this is not related to the sparc architecture but either to crossdev or my build host.

Does somenone have any clues about the enable-esp message from the gcc stage1 configure when using crossdev ?

Thibault
Back to top
View user's profile Send private message
thild
n00b
n00b


Joined: 06 Nov 2008
Posts: 13

PostPosted: Mon Mar 28, 2011 9:33 am    Post subject: Ooops, hardened keyword... Reply with quote

OK

I have lately added the "hardened" keyword to the make.conf of my build system. I did not realize it affected crossdev at this time.
As stack protection is neither supported on sparc nor on mips64el, cross-gcc failed to build.

My fault...

Thibault
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum