Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 146858

Summary: gcc-4.1.1 upgrade fails with incompatible libraries
Product: Gentoo Linux Reporter: Thomas Skyt <thomas>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: VERIFIED NEEDINFO    
Severity: major    
Priority: High    
Version: 2006.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: The compilation process (emerge gcc &> gcc-process.txt)
The configure-log for the compilation process

Description Thomas Skyt 2006-09-08 11:29:13 UTC
An upgrade from gcc-3.4.6 to gcc-4.1.1 fails with:
/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/x86_64-pc-linux-gnu/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make[3]: *** [32/libgcc_s.so] Error 1
make[3]: Leaving directory `/var/tmp/portage/gcc-4.1.1/work/build/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/var/tmp/portage/gcc-4.1.1/work/build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-4.1.1/work/build/gcc'
make: *** [profiledbootstrap] Error 2

emerge --info gives:
--------------------
Portage 2.1-r2 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r12 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r12 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
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-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="da en_GB de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://192.168.0.131/gentoo-portage"
USE="amd64 X aac alsa amarok apache2 apm arts audiofile automount avi berkdb binfilter bitmap-fonts bluetooth bootsplash bzip2 cdda cdinstall cdparanoia cdr chroot cli cpudetection crypt ctype cups dba dlloader dri dvd dvdr dvdread elibc_glibc emboss emul-linux encode ethereal exif expat fam fame fastbuild fat ffmpeg font-server fontconfig foomaticdb force-cgi-redirect fortran ftp fuse gd gdbm gif gimp gimpprint glut glx gmp gnome-print gpm grammar gstreamer gtk gtk2 gtkhtml guile hfs iconv idn imap imlib ipv6 isdnlog java javascript jfs jpeg kde kernel_linux lame lcms libg++ libwww lm_sensors logitech-mouse lzw lzw-tiff mad md5sum memlimit mhash mikmod mime mjpeg mng motif mozilla mozsvg mp3 mp4live mpeg mpeg2 mplayer musepack mysql nas ncurses nethack network nls nptl nptlonly ntfs ogg opengl oss pcre pdflib perl php png posix pppd python qt qt3 qt4 quicktime rar readline reflection samba scanner scp screen sdl sensord session sftp sftplogging simplexml slang soap sockets spell spl sql ssl tcltk tcpd tiff tokenizer truetype truetype-fonts type1 type1-fonts udev usb userland_GNU v4l v4l2 vcd vorbis wordperfect xfs xine xinerama xml xml2 xmms xorg xpm xsl xv xvid zlib input_devices_keyboard input_devices_mouse input_devices_evdev linguas_da linguas_en_GB linguas_de video_cards_radeon video_cards_fglrx"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Thomas Skyt 2006-09-08 11:42:53 UTC
Created attachment 96414 [details]
The compilation process (emerge gcc &> gcc-process.txt)

This is the output of the compilation process.
Comment 2 Thomas Skyt 2006-09-08 11:44:31 UTC
Created attachment 96417 [details]
The configure-log for the compilation process

This is the logfile from 'configure' inside /var/tmp/portage.
Comment 3 SpanKY gentoo-dev 2006-09-08 19:30:47 UTC
do you have multilib support enabled and working ?
Comment 4 Thomas Skyt 2006-09-09 09:06:19 UTC
(In reply to comment #3)
> do you have multilib support enabled and working ?
> 

No.

In the meantime I have reinstalled the system with the 2006.1 cd. I'm closing the bug.