Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154282 - Building the cross compiler with crossdev failes
Summary: Building the cross compiler with crossdev failes
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-06 12:53 UTC by Mathias Weigt
Modified: 2006-11-06 21:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
last lines of cross-mips-unknown-linux-gnu-gcc-stage2.log (stage2.log,9.29 KB, text/plain)
2006-11-06 13:12 UTC, Mathias Weigt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mathias Weigt 2006-11-06 12:53:21 UTC
Portage 2.1.1-r1 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r4, 2.6.17-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.6
Last Sync: Mon, 06 Nov 2006 04:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=k8 -msse -msse2 -m3dnow -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O3 -march=k8 -msse -msse2 -m3dnow -fomit-frame-pointer -pipe"
DISTDIR="/mnt/pakete/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.club-internet.fr/pub/mirrors/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de ru"
MAKEOPTS="-j2"
PKGDIR="/mnt/pakete/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/mnt/pakete/portage"
PORTDIR_OVERLAY="/home/mad/Desktop/ebuilds/overlay /home/mad/Desktop/ebuilds/mad-overlay"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="amd64 7zip X a52 aac acpi alsa arts asf audiofile bash-completion berkdb binary-drivers bindist binfilter bitmap-fonts blas branding bzip2 cairo catalogs cddb cli cracklib crypt css cups curl dbus dga divx4linux dlloader dmi dri dvb dvd dvdr dvdread eds elibc_glibc emboss encode erandom exif extrafilters fam fame ffmpeg flac foomaticdb fortran gd gif gimp ginac glibc-omitfp glut gnome gphoto2 gpm gs gstreamer gtk gtk2 hal hdf5 iconv idn imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog ithreads java jpeg jpeg2k kde kdeenablefinal kernel_linux kipi latex lcms libsamplerate linguas_de linguas_ru logitech-mouse lua lzo lzw lzw-tiff mjpeg mng mopac7 motif mozilla moznocompose moznoirc moznomail mozsvg mp3 mp4 mpeg mpi mpqc musicbrainz ncurses network nls nptl nptlonly nsplugin numeric ogg openbabel openexr opengl pam pcre pdf perl plotutils png ppds pppd python qhull qt3 qt4 quicktime readline reflection rtc scanner sdl session sndfile speex spell spl ssl svg tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU userlocales v4l v4l2 vcd video_cards_ati video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_r300 video_cards_radeon video_cards_vesa vorbis wma wmf xml xorg xpm xv xvid xvmc yv12 zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mathias Weigt 2006-11-06 13:06:19 UTC
I tried to build a cross compiler for mips with 
"crossdev -t mips-unknown-linux-gnu" and ended up with this error in cross-mips-unknown-linux-gnu-gcc-stage2.log:

/usr/bin/mips-unknown-linux-gnu-ld: this linker was not configured to use sysroots

For openSuSE it seems to be fixed already: https://bugzilla.novell.com/show_bug.cgi?id=145783
Comment 2 Mathias Weigt 2006-11-06 13:12:04 UTC
Created attachment 101355 [details]
last lines of cross-mips-unknown-linux-gnu-gcc-stage2.log
Comment 3 SpanKY gentoo-dev 2006-11-06 13:47:18 UTC
opensuse's handling of cross-compilers generally has nothing to do with Gentoo's handling (like in this case)

try running `crossdev -C mips-unknown-linux-gnu` and the `crossdev mips-unknown-linux-gnu`

the only way you should get that error is you have an old portage tree or you have an old install of cross-compilers
Comment 4 Mathias Weigt 2006-11-06 21:57:29 UTC
(In reply to comment #3)
> opensuse's handling of cross-compilers generally has nothing to do with
> Gentoo's handling (like in this case)

I was just searching for that error with google
 
> try running `crossdev -C mips-unknown-linux-gnu` and the `crossdev
> mips-unknown-linux-gnu`

I did that and got the same result.

> the only way you should get that error is you have an old portage tree or you
> have an old install of cross-compilers

Nope, I synced before and never had any cross-compiler installed.
But I'll try to install the cross-compiler on an x86 system later on this day.