When upgrading my crossdev for i686 (for use with distcc) to gcc-3.4.5, the emerge fails with the following message: creating libg2c.la (cd .libs && rm -f libg2c.la && ln -s ../libg2c.la libg2c.la) make[2]: Leaving directory `/mnt/windows/tmp/portage/gcc-3.4.5/work/build/i686-p c-linux-gnu/libf2c' : make ; exec true CC='/mnt/windows/tmp/portage/gcc-3.4.5/work/build/gcc/xgcc -B /mnt/windows/tmp/portage/gcc-3.4.5/work/build/gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include' LD='/usr/i686-pc-linux-gnu/bin/ld' LIBTOOL=' /bin/sh ./libtool' WARN_CFLAGS='-W -Wall' CFLAGS='-O2 -O2 -pipe' CPPFLAGS='' DES TDIR='' AR='i686-pc-linux-gnu-ar' RANLIB='i686-pc-linux-gnu-ranlib' prefix='/usr ' exec_prefix='/usr' libdir='/usr/lib' libsubdir='/usr/lib/gcc/i686-pc-linux-gnu /3.4.5' tooldir='/usr/i686-pc-linux-gnu' multi-do DO="all-unilib" make[1]: Leaving directory `/mnt/windows/tmp/portage/gcc-3.4.5/work/build/i686-p c-linux-gnu/libf2c' !!! ERROR: cross-i686-pc-linux-gnu/gcc-3.4.5 failed. Call stack: ebuild.sh, line 1894: Called dyn_compile ebuild.sh, line 941: Called src_compile ebuild.sh, line 1609: Called toolchain_src_compile toolchain.eclass, line 24: Called gcc_src_compile toolchain.eclass, line 1465: Called gcc_do_make !!! emake failed with all I can rewind a fair distance without finding any other error message. my emerge info: Portage 2.1_pre4-r1 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.16-rc1 x86_64) ================================================================= System uname: 2.6.16-rc1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ Gentoo Base System version 1.6.14 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 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.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=athlon64 -pipe -msse3" 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/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon64 -pipe -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache distcc distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.mirrored.ca/ http://gentoo.mirrors.tds.net/gentoo http://prometheus.cs.wmich.edu/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/mnt/windows/pkgdir" PORTAGE_TMPDIR="/mnt/windows/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aac acpi alsa apache2 audiofile avi berkdb bidi binfilter bitmap-fonts blas bzip2 cairo ccache cdparanoia cdr crosscompile crypt cups curl dbus dlloader dri dts dvd dvdr dvdread emboss emul-linux-x86 encode esd expat fbcon ffmpeg firefox flac foomaticdb fortran ftp gcj gd gdbm gif gimpprint glibc-omitfp glut gnome gnome-print gpm gstreamer gtk gtk2 gtkhtml guile hal hpn icq idn ieee1394 imagemagick imlib java jpeg lapack lcms live lm_sensors logrotate lzo lzw mad maildir matroska mbox mdb mime mng motif mp3 mpeg mpm-worker msn nas ncurses network nforce2 nls nptl nptlonly nsplugin nvidia offensive ogg opengl oscar pam pdf perl php plotutils png ppds python qt quicktime readline real rtc samba sdl smp sndfile snmp soap sockets sou sox speex spell ssl svg swat tcltk tcpd theora threads tidy tiff truetype truetype-fonts type1-fonts usb userlocales v4l vcd videos vorbis wifi wxwindows xanim xine xml xml2 xmms xpm xprint xv xvid xvmc zlib elibc_glibc input_devices_evdev input_devices_mouse input_devices_keyboard kernel_linux userland_GNU video_cards_nv video_cards_vesa video_cards_nvidia" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LINGUAS
Created attachment 78864 [details] complete emerge log This is the complete emerge log for diag purposes. bzipped for your protection ;)
what does `emerge cross-i686-pc-linux-gnu/gcc -pv` show ?
>>> cfg-update-1.8.0-r3 : Building checksum index... (takes a few seconds) done! These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] cross-i686-pc-linux-gnu/gcc-3.4.5 USE="fortran* gcj* gtk* nls -bootstrap -boundschecking -build -hardened -ip28 -multislot -nocxx -nopie -nossp -objc -vanilla" 0 kB [1] Total size of downloads: 0 kB Portage overlays: [1] /usr/local/portage
emerge it with USE='-fortran -gcj'
It compiled that way. Why does it work with those flags for my default but not crossdev?
latest versions of crossdev should handle this nicely now