Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141461 - crossdev -t x86_64 fails on i686
Summary: crossdev -t x86_64 fails on i686
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-22 21:05 UTC by Robert Mohr
Modified: 2006-09-03 11:51 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 Robert Mohr 2006-07-22 21:05:09 UTC
'crossdev -t x86_64 --gcc 3.4.6 --libc 2.3.5 --kernel 2.6.16' fails on i686.  It claims I need linux headers 2.6.6 or greater, but I thought that would be covered by the --kernel line.

I realize I could probably get this working by disabling NPTL, but I'd rather keep it.

$ uname -a
Linux mohrr 2.6.12-gentoo-r10 #10 Tue May 30 10:56:47 EDT 2006 i686 AMD Athlon(tm) XP 2600+ GNU/Linux

$ cat /var/log/portage/cross-x86_64-pc-linux-gnu-info.log
------------------------------------------------------------------------------------------
 * Host Portage ARCH:     x86
 * Target Portage ARCH:   amd64
 * Target System:         x86_64-pc-linux-gnu
 * Stage:                 4 (C/C++ compiler)

 * binutils:              binutils-[latest]
 * gcc:                   gcc-3.4.6
 * headers:               linux-headers-2.6.16
 * libc:                  glibc-2.3.5

 * PORTDIR_OVERLAY:       /usr/local/portage
 * PORT_LOGDIR:           /var/log/portage
 * PKGDIR:                /usr/portage/packages/cross/x86_64-pc-linux-gnu
 * PORTAGE_TMPDIR:        /var/tmp/cross/x86_64-pc-linux-gnu
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -
Gentoo Base System version 1.6.15
Portage 2.1-r1 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.3.6-r4, 2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 AMD Athlon(tm) XP 2600+
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
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=athlon-xp -O2 -pipe -fomit-frame-pointer -ffast-math"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/resin/conf /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://adelie.polymtl.ca/"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages/cross/x86_64-pc-linux-gnu"
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/cross/x86_64-pc-linux-gnu"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext 7zip X a52 aac aalib acl aim alsa apache apache2 apm avi bash-completion berkdb bitmap-fonts bzip2 calendar cdda cddb cdio cdparanoia cdr cli crypt cups dedicated divx4linux dlloader dri dts dv dvb dvd dvdread eds emacs emboss encode enscript examples exiscan-acl fame ffmpeg firefox foomaticdb fortran freetype gcj gdbm gif gnutls gpm gstreamer gtk gtk2 httpd i8x0 ieee1394 imagemagick imlib ipod isdnlog jabber java jikes jpeg kde key-screen latex ldap libcaca libg++ libwww lirc live lzo mad matroska mbox mikmod mjpeg mmx mmxext mono motif mozdevelop mozilla mozsvg mp3 mpeg mpm-prefork mysql mythtv ncurses nethack network nls nptl nvidia objc objc++ offensive ogg oggvorbis opengl oss pam pcntl pcre pdflib perl php png posix pppd python qt qt3 qt4 quicktime readline reflection rtc ruby samba sasl sdl seamonkey session soap sockets socks socks5 socks6 spell spf spl sqlite srs sse ssl subtitles svg tcltk tcpd theora tidy tiff transcode truetype truetype-fonts type1-fonts unicode v4l v4l2 vcd vhosts vlm vorbis win32codecs wxwindows x264 xanim xinerama xml xml2 xmlreader xmlrpc xmms xorg xsl xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_en userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa video_cards_vga video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

$ cat /var/log/portage/cross-x86_64-pc-linux-gnu-glibc.log
Calculating dependencies ... done!
>>> Emerging (1 of 1) cross-x86_64-pc-linux-gnu/glibc-2.3.4.20050125-r1 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking glibc-2.3.4.tar.bz2 ;-)
>>> checking glibc-linuxthreads-2.3.4.tar.bz2 ;-)
>>> checking glibc-libidn-2.3.4.tar.bz2 ;-)
>>> checking glibc-2.3.4-patches-1.7.tar.bz2 ;-)
>>> checking glibc-manpages-2.3.4-r1.tar.bz2 ;-)
>>> checking glibc-infopages-2.3.4-r1.tar.bz2 ;-)
>>> checking glibc-fedora-20041219T2331.tar.bz2 ;-)
 * Warning! Gentoo's GLIBC with NPTL enabled now behaves like the
 * glibc from almost every other distribution out there. This means
 * that glibc is compiled -twice-, once with linuxthreads and once
 * with nptl. The NPTL version is installed to lib/tls and is still
 * used by default. If you do not need nor want the linuxthreads
 * fallback, you can disable this behavior by adding nptlonly to
 * USE to save yourself some compile time.
>>> Unpacking source...

 * Checking gcc for __thread support ... yes
 * Checking kernel version (>=2.6.6) ... yes
 * Checking linux-headers version (>=2.6.6) ... no

 * You need linux-headers of at least version 2.6.6
 * for NPTL support!

!!! ERROR: cross-x86_64-pc-linux-gnu/glibc-2.3.4.20050125-r1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_unpack
  ebuild.sh, line 711:   Called src_unpack
  glibc-2.3.4.20050125-r1.ebuild, line 1134:   Called toolchain-glibc_src_unpack
  glibc-2.3.4.20050125-r1.ebuild, line 168:   Called check_nptl_support
  glibc-2.3.4.20050125-r1.ebuild, line 765:   Called die

!!! linux-headers version too low!
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! This ebuild is from an overlay: '/usr/local/portage'
Comment 1 SpanKY gentoo-dev 2006-09-03 11:51:41 UTC
that glibc is not supported