Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44881 - sys-devel/crossdev-0.4-r1 fails to make mips and mips64
Summary: sys-devel/crossdev-0.4-r1 fails to make mips and mips64
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Joshua Kinard
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-16 12:19 UTC by postmodern
Modified: 2004-03-16 18:16 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description postmodern 2004-03-16 12:19:18 UTC
crossdev fails to build a toolchain for the mips64 and mips64el archs. I receive the follow error.

 * >>> ---------------------------------------------------------------------------
 * >>> Stage 4: Configure, Build, & Install glibc-core
 * >>> ---------------------------------------------------------------------------

 * Configuring sys-libs/glibc-2.3.3_pre20040207 (full)...
checking build system type... x86_64-unknown-linux-gnu
checking host system type... mips64-unknown-linux-gnu
checking sysdep dirs... sysdeps/mips/elf linuxthreads/sysdeps/unix/sysv/linux/mips linuxthreads/sysdeps/unix/sysv/linux linuxthreads/sysdeps/pthread sysdeps/pthread linuxthreads/sysdeps/unix/sysv linuxthreads/sysdeps/unix linuxthreads/sysdeps/mips sysdeps/unix/sysv/linux/mips/mips32/kern64 sysdeps/unix/sysv/linux/mips/mips32 sysdeps/unix/sysv/linux/mips sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/mips/mips32 sysdeps/unix/mips sysdeps/unix sysdeps/posix sysdeps/mips/mips32 sysdeps/mips sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/wordsize-32 sysdeps/mips/fpu sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic
checking for a BSD-compatible install... /bin/install -c
checking whether ln -s works... yes
checking for mips64-unknown-linux-gnu-gcc... mips64-unknown-linux-gnu-gcc -O2 -nostdlib -nostartfiles -mips3 -mabi=32 -O2 -pipe
checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.

 * InstallGlibcCore(): Failed to configure!


Reproducible: Always
Steps to Reproduce:
1. crossdev --arch=mips64 -u

Actual Results:  
error.

Expected Results:  
success.

emerge info
Portage 2.0.50-r1 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.6.3-gentoo-r2)
=================================================================
System uname: 2.6.3-gentoo-r2 x86_64 4
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-pipe -fomit-frame-pointer -O3"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -fomit-frame-pointer -O3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apm arts avi berkdb cdr crypt encode esd foomaticdb gdbm gif
gnome gpm gtk gtk2 imlib jpeg libg++ libwww mikmod motif mozilla mpeg multilib
ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline
sdl slang spell ssl tcpd truetype xml2 xmms xv zlib"
Comment 1 postmodern 2004-03-16 12:23:11 UTC
Forgot the mips64el error.

 * >>> ---------------------------------------------------------------------------
 * >>> Stage 4: Configure, Build, & Install glibc-core
 * >>> ---------------------------------------------------------------------------

 * Configuring sys-libs/glibc-2.3.3_pre20040207 (full)...
checking build system type... x86_64-unknown-linux-gnu
checking host system type... mips64el-unknown-linux-gnu
checking sysdep dirs... sysdeps/mips/elf linuxthreads/sysdeps/unix/sysv/linux/mips linuxthreads/sysdeps/unix/sysv/linux linuxthreads/sysdeps/pthread sysdeps/pthread linuxthreads/sysdeps/unix/sysv linuxthreads/sysdeps/unix linuxthreads/sysdeps/mips sysdeps/unix/sysv/linux/mips/mips32/kern64 sysdeps/unix/sysv/linux/mips/mips32 sysdeps/unix/sysv/linux/mips sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/mips/mips32 sysdeps/unix/mips sysdeps/unix sysdeps/posix sysdeps/mips/mips32 sysdeps/mips sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/wordsize-32 sysdeps/mips/fpu sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic
checking for a BSD-compatible install... /bin/install -c
checking whether ln -s works... yes
checking for mips64el-unknown-linux-gnu-gcc... mips64el-unknown-linux-gnu-gcc -O2 -nostdlib -nostartfiles -mips3 -mabi=32 -O2 -pipe
checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.

 * InstallGlibcCore(): Failed to configure!
Comment 2 Joshua Kinard gentoo-dev 2004-03-16 18:16:11 UTC
mips64[el] cannot build a full toolchain unfortunately, glibc likely needs more patches for this kind of support.  Unknown when this kind of support will be available, possibly not until glibc-2.3.3+ and/or gcc-3.4+.  For now you're limited to kernel cross-compilers.  You can double check this with the 'crossdev-status' script.