I get the following error on world update for cross-m68k-unknown-linux-gnu/glibc-2.3.5-r3: checking for a BSD-compatible install... /bin/install -c checking whether ln -s works... yes checking for m68k-unknown-linux-gnu-gcc... m68k-unknown-linux-gnu-gcc checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. !!! ERROR: cross-m68k-unknown-linux-gnu/glibc-2.3.5-r3 failed. In config.log, there are the lines: configure:2660: checking for suffix of object files configure:2681: m68k-unknown-linux-gnu-gcc -c -march=pentium4 -pipe -O2 -O2 -pipe conftest.c >&5 cc1: error: invalid option `arch=pentium4' Obviously, pentium4 is not applicable to m68k and I didn't see this when upgrading r1 => r2. Reproducible: Always Steps to Reproduce: 1. emerge -DNu world Portage 2.0.53_rc6 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r3, 2.6.13.4 i686) ================================================================= System uname: 2.6.13.4 i686 Intel(R) Pentium(R) M processor 1500MHz Gentoo Base System version 1.12.0_pre9 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.13 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.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~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 /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/gentoo/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.osuosl.org" LINGUAS="de" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/gentoo/build" PORTDIR="/gentoo/portage" PORTDIR_OVERLAY="/gentoo/build/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X Xaw3d a52 aac aalib acl acpi activefilter ada afs alsa aotuv arts audiofile avi bash-completion berkdb bitmap-fonts bluetooth browserplugin bzip2 caps cdda cddb cdio cdparanoia cdr chipcard client-only cpudetection crypt cups dlloader doc dtaus dv dvd dvdread edl emacs emboss encode exif expat fam flac font-server foomaticdb ftp gd-external gdbm geldkarte gif gnokii gnutls gphoto2 gpm gtk2 hardened hbci httpd icq imagemagick imap imlib ipppd irda irmc isdnlog jpeg jpeg2k kcal kde kerberos latex lcms ldap libg++ libwww lm_sensors lzo mad madwifi maildir mbox mime mjpeg motif mozsvg mp3 mpeg mule musicbrainz nas ncurses nls no-old-linux noantlr nobcel nobeanutils nobsh nocommonslogging nocommonsnet nojdepend nojsch nojython nolog4j nooro noregexp norhino noxalan noxerces nptl nptlonly nsplugin objc ofx ogg oggvorbis openexr opengl pam pam_console pcre pdflib perl perlsuid pg-intdatetime pic png postgres ppds pppd pwdb python qt quicktime rdesktop readline real rtc savedconfig slang slp sms sockets socks5 speex spell sql sse ssl stream subversion svg svga symlink sysfs tcltk tcpd tetex theora threads tiff toolbar truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd vim-with-x vlm vorbis wifi win32codecs wxwindows xine xml2 xmms xprint xscreensaver xv xvid xvmc zeroconf zlib linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS
post full emerge log
Created attachment 71611 [details] Typescript of emerge -DNu world Here is a typescript of the whole thing.
try running emerge with the '--debug' flag and post the logfile please
Created attachment 71932 [details] gzip'd typescript of emerge -DNu --debug world I ran emerge with --debug option. The typescript is 1.7M, so I gzip'd it.
thanks, your debug output showed the bug ... the tc-getCC was using ABI info and thus was testing CFLAGS with your native compiler rather than the m68k one
eradicator fixed this in cvs toolchain-funcs so if you sync up, you should be able to upgrade now
Yep, it's currently compiling. Many thanks.