Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110616 - Can't update to cross-*/glibc-2.3.5-r3
Summary: Can't update to cross-*/glibc-2.3.5-r3
Status: RESOLVED FIXED
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: 2005-10-27 06:11 UTC by Dirk Heinrichs
Modified: 2005-11-04 07:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Typescript of emerge -DNu world (typescript,16.27 KB, text/plain)
2005-10-27 22:43 UTC, Dirk Heinrichs
Details
gzip'd typescript of emerge -DNu --debug world (typescript.gz,108.65 KB, application/octet-stream)
2005-11-02 06:43 UTC, Dirk Heinrichs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Heinrichs 2005-10-27 06:11:32 UTC
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
Comment 1 SpanKY gentoo-dev 2005-10-27 19:15:10 UTC
post full emerge log
Comment 2 Dirk Heinrichs 2005-10-27 22:43:05 UTC
Created attachment 71611 [details]
Typescript of emerge -DNu world

Here is a typescript of the whole thing.
Comment 3 SpanKY gentoo-dev 2005-10-28 18:07:43 UTC
try running emerge with the '--debug' flag and post the logfile please
Comment 4 Dirk Heinrichs 2005-11-02 06:43:48 UTC
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.
Comment 5 SpanKY gentoo-dev 2005-11-03 18:28:14 UTC
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
Comment 6 SpanKY gentoo-dev 2005-11-03 18:28:32 UTC
eradicator fixed this in cvs toolchain-funcs so if you sync up, you should be
able to upgrade now
Comment 7 Dirk Heinrichs 2005-11-04 07:06:46 UTC
Yep, it's currently compiling. Many thanks.