IIRC, the same problem was with powerpc-unknown-linux-gnu, but after upgrading crossdev it dissapeared. Reproducible: Always Steps to Reproduce: # crossdev -v -s1 --target ia64-unknown-linux-gnu Actual Results: /var/tmp/cross/ia64-unknown-linux-gnu/portage/gcc-3.4.4/work/build/gcc/xgcc -B/var/tmp/cross/ia64-unknown-linux-gnu/portage/gcc-3.4.4/work/build/gcc/ -B/usr/ia64-unknown-linux-gnu/bin/ -B/usr/ia64-unknown-linux-gnu/lib/ -isystem /usr/ia64-unknown-linux-gnu/include -isystem /usr/ia64-unknown-linux-gnu/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -DUSE_LIBUNWIND_EXCEPTIONS -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -DHAVE_SYSLOG -DUSE_GAS_SYMVER -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -D_LIBC_PROVIDES_SSP_ -I. -I. -I/var/tmp/cross/ia64-unknown-linux-gnu/portage/gcc-3.4.4/work/gcc-3.4.4/gcc -I/var/tmp/cross/ia64-unknown-linux-gnu/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/. -I/var/tmp/cross/ia64-unknown-linux-gnu/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/../include -fexceptions -c /var/tmp/cross/ia64-unknown-linux-gnu/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/unwind-c.c -o libgcc/./unwind-c.o In file included from /var/tmp/cross/ia64-unknown-linux-gnu/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/unwind-c.c:34: /var/tmp/cross/ia64-unknown-linux-gnu/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/unwind.h:201:20: stdlib.h: No such file or directory make[2]: *** [libgcc/./unwind-c.o] Error 1 $ cat cross-ia64-unknown-linux-gnu-info.log -------------------------------------------------------------------------------- * Host Portage ARCH: x86 * Target Portage ARCH: ia64 * Target System: ia64-unknown-linux-gnu * Stage: 1 (C compiler only) * binutils: binutils-[latest] * gcc: gcc-[latest] * PORTDIR_OVERLAY: /usr/local/portage * PORT_LOGDIR: /var/log/portage * PKGDIR: /usr/portage/packages/cross/ia64-unknown-linux-gnu * PORTAGE_TMPDIR: /var/tmp/cross/ia64-unknown-linux-gnu _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - Gentoo Base System version 1.6.13 Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.13-rc5 i686) ================================================================= System uname: 2.6.13-rc5 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-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/share/config /usr/lib/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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.aiya.ru/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages/cross/ia64-unknown-linux-gnu" PORTAGE_TMPDIR="/var/tmp/cross/ia64-unknown-linux-gnu" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" USE="x86 X alsa apm avi berkdb bitmap-fonts cdr curl divx4linux eds emboss encode fam foomaticdb gd gdbm gif gpm gstreamer gtk2 imlib jpeg kde libg++ libwww mad mbox mikmod motif mp3 mpeg ncurses ogg oggvorbis opengl pdflib perl png python qt quicktime readline samba sdl spell sse sse2 ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts vorbis xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Created attachment 65302 [details] cross-ia64-unknown-linux-gnu-gcc-stage1.log (314K)
> IIRC, the same problem was with powerpc-unknown-linux-gnu, but after upgrading > crossdev it dissapeared. Make that powerpc64-unknown-linux-gnu.
ia64 is known to not cross compile at all due to the unwind code
i fixed this last nite
you'll need the latest versions of gcc/glibc/crossdev for this to work