In response to: FEATURES="-multilib-strict" crossdev --gcc 3.4.6-r1 --kernel 2.6.11-r3 --libc 2.4-r1 --b 2.16.1-r2 -t i686 I get: * Log: /var/log/portage/cross-i686-pc-linux-gnu-glibc.log * Emerging cross-glibc ... * glibc failed :( * If you file a bug, please attach the following logfiles: * /var/log/portage/cross-i686-pc-linux-gnu-info.log * /var/log/portage/cross-i686-pc-linux-gnu-glibc.log the glibc.log has at the end: >>> checksums src_uri ;-) glibc-libidn-2.4.tar.bz2 >>> checksums src_uri ;-) glibc-2.4-patches-1.3.tar.bz2 >>> checksums src_uri ;-) glibc-fedora-20060306T1239.tar.bz2 >>> Unpacking source... * Checking gcc for __thread support ... yes * Checking kernel version (>=2.6.9) ... yes * Checking linux-headers version (>=2.6.9) ... no * You need linux-headers of at least version 2.6.9 * for NPTL support! !!! ERROR: cross-i686-pc-linux-gnu/glibc-2.4-r1 failed. Call stack: ebuild.sh, line 1532: Called dyn_unpack ebuild.sh, line 697: Called src_unpack glibc-2.4-r1.ebuild, line 1154: Called toolchain-glibc_src_unpack glibc-2.4-r1.ebuild, line 180: Called check_nptl_support glibc-2.4-r1.ebuild, line 794: Called die !!! linux-headers version too low! !!! If you need support, post the topmost build error, and the call stack if relevant. Both cross-i686-pc-linux-gnu/linux-headers and sys-kernel/linux-headers are 2.6.11-r3 I've googled around etc. to see if I'm done something dumb - but it's hard to reconcile crossdev => linux-headers < 2.6.9 with reality => linux-headers > 2.6.9, hence a bug report It seems other people (http://forums.gentoo.org/viewtopic-t-452498-highlight-crossdev+glibc.html) have had the issue, have some (dodgy?) workarounds - but I can't find any bug they may have filed. [the FEATURES="-multilib-strict" is there to avoid "wrong type of file in /usr/lib" type errors] emerge --info Portage 2.1_pre7-r5 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-gentoo-r2 x86_64) ================================================================= System uname: 2.6.16-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 2800+ Gentoo Base System version 1.12.0_pre17 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.2-r1 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-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-Os -pipe -ftracer -march=athlon64" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/kde/3/share/config /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-Os -pipe -ftracer -march=athlon64" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="autoconfig buildpkg ccache distlocks metadata-transfer multilib-strict sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://batman/gentoo-portage" USE="amd64 X aac aalib acl alsa apache2 arts avi bash-completion berkdb bitmap-fonts bzip2 cdr cli crypt ctype cups curl dba divx4linux dri dvd dvdr eds emboss encode esd expat fastbuild ffmpeg foomaticdb force-cgi-redirect fortran ftp gd gif gpm gstreamer gtk gtk2 hal idn imagemagick imlib isdnlog java javascript jpeg kde lcms ldap lzw lzw-tiff mbox memlimit mozilla mp3 mpeg ncurses network nls nptl nptlonly nsplugin ogg oggvorbis opengl pam pcre pdflib perl png posix ppds pppd python qt quicktime readline sdl session simplexml soap sockets spell spl ssl tcpd tiff tokenizer truetype truetype-fonts type1-fonts usb vcd vorbis wmf xcomposite xine xml xmms xpm xrandr xsl xv xvid zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux userland_GNU video_cards_fglrx video_cards_ati" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS
I got the same problem: Chip ~ # emerge info Portage 2.0.54 (hardened/x86/2.6, gcc-3.4.5, glibc-2.3.5-r3, 2.6.16-hardened i686) ================================================================= System uname: 2.6.16-hardened i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.6.14 distcc 2.18.3 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] 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 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i386-pc-linux-gnu" CFLAGS="-O2 -mtune=pentium4 -pipe" CHOST="i386-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/terminfo /etc/env.d" CXXFLAGS="-O2 -mtune=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo/ " MAKEOPTS="-j3" PKGDIR="/usr/portage//packages/x86/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage/" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.nordic/gentoo-portage" USE="berkdb bzip2 crypt dlloader expat hardened ncurses nls pam perl pic python readline ssl tcpd udev userlocal es x86 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS crossdev --kernel 2.6.11-r2 --gcc 3.4.5 --libc 2.3.5-r3 --binutils 2.16.1 -t ppc -v resolves in: configure: error: GNU libc requires kernel header files from Linux 2.0.10 or later to be installed before configuring. The kernel header files are found usually in /usr/include/asm and /usr/include/linux; make sure these directories use files from Linux 2.0.10 or later. This check uses <linux/version.h>, so make sure that file was built correctly when installing the kernel header files. To use kernel headers not from /usr/include/linux, use the configure option --with-headers. I will try to build stuff in various order to maybe get this too work. I think Spanky wrote something about making gcc after linux-headers or vice versa. I will try to find a solution.
all versions of glibc are broken except for 2.4-r2 atm *** This bug has been marked as a duplicate of 126166 ***