Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 70456
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 68799
Assigned To: Gentoo Toolchain Maintainers <toolchain@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: C. Dominik Bodi <dominik.bodi@gmx.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 70456 depends on: Show dependency tree
Bug 70456 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-11-08 06:19 0000
~x86 got upgraded to gcc-3.4.3 today. In course of a world update, portage
wanted to emerge kdenetwork-3.3.1-r1, which failed with following error
message:

/bin/sh ../../../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++ 
-Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W
-Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O1 -O2 -O3 -s -pipe
-mtune=athlon-xp -march=athlon-xp -ftracer -fexpensive-optimizations
-fomit-frame-pointer -Wformat-security -Wmissing-format-attribute
-fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o
libkcm_kcmsambaconf.la -rpath /usr/kde/3.3/lib/kde3 -L/usr/X11R6/lib
-L/usr/qt/3/lib -L/usr/kde/3.3/lib  -module -avoid-version -module
-no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R
/usr/kde/3.3/lib -R /usr/qt/3/lib -R /usr/X11R6/lib  printerdlgimpl.lo
kcmsambaconf.lo kcminterface.lo kcmprinterdlg.lo joindomaindlg.lo -lkdeprint
libfilesharesamba.la
grep: /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/libstdc++.la: No such file or
directory
/bin/sed: can't read /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/libstdc++.la: No such
file or directory
libtool: link: `/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/libstdc++.la' is not a
valid libtool archive
make[4]: *** [libkcm_kcmsambaconf.la] Error 1
make[4]: Leaving directory
`/var/tmp/portage/kdenetwork-3.3.1-r1/work/kdenetwork-3.3.1/filesharing/advanced/kcm_sambaconf'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/kdenetwork-3.3.1-r1/work/kdenetwork-3.3.1/filesharing/advanced'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kdenetwork-3.3.1-r1/work/kdenetwork-3.3.1/filesharing'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/kdenetwork-3.3.1-r1/work/kdenetwork-3.3.1'
make: *** [all] Error 2

This looks like libtool still wants to access the libstdc++ lib from gcc-3.4.2,
which does not reside on the system anymore as did upgrade to gcc-3.4.3 before
trying to emerge kdenetwork. However, all other kde ebuilds were built with
gcc-3.4.2 (and not upgraded) which might explain part of the error.

However, for minor gcc updates (e.g. 3.4.2->3.4.3) the c++ ABIs are binary
compatible and therefore should not be causing problems when upgrading.

Btw, the new gcc ebuild failed to automatically update the gcc-profile from
3.4.2 to 3.4.3, I had to do that myself with gcc-config.

I re-emerged libtool, did a ccache -C and cleaned out /var/tmp/portage, to no
avail.

Reproducible: Always
Steps to Reproduce:
1. emerge kde with gcc-3.4.2 (kdenetwork-3.3.1)
2. upgrade to gcc-3.4.3, re-emerge libtool, ccache -C
3. emerge kdenetwork-3.3.1-r1

Actual Results:  
emerge kdenetwork-3.3.1-r1 failed to emerge immediately after upgrading from
gcc-3.4.2-r3 to gcc-3.4.3.

Expected Results:  
kdenetwork-3.3.1-r1 should build and emerge successfully.

Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.4.3,
glibc-2.3.4.20041102-r0,
2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.5
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r6
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O1 -O2 -O3 -s -pipe -mtune=athlon-xp -march=athlon-xp -ftracer
-fexpensive-optimizations -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /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="-O1 -O2 -O3 -s -pipe -mtune=athlon-xp -march=athlon-xp -ftracer
-fexpensive-optimizations -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.gentoo.skynet.be/pub/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://ftp.linux.ee/pub/gentoo/distfiles/ http://trumpetti.atm.tut.fi/gentoo/
http://gentoo.mirror.sdv.fr
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://ftp.easynet.nl/mirror/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/gentoo/
http://mirror.gentoo.no/ http://ftp.du.se/pub/os/gentoo
http://ds.thn.htu.se/linux/gentoo http://mirror.pudas.net/gentoo
http://mirror.switch.ch/mirror/gentoo/
http://www.mirror.ac.uk/mirror/distro.ibiblio.org/pub/linux/distributions/gentoo
http://mir.zyrianes.net/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acpi alsa arts audiofile avi berkdb bitmap-fonts cdr crypt cups
dga
divx4linux dvd dvdr emacs encode exif fam fbcon flac gdbm gif gnutls gphoto2
gpm
gstreamer gtk gtk2 icq imagemagick imlib jabber java joystick jpeg jpeg2k junit
kde lcms libwww mad maildir mbox mime mmx motif mozilla mpeg ncurses nls
nocardbus nptl offensive oggvorbis opengl pam pda pdflib perl pic png ppds
python qt quicktime readline real scanner sdl slang smime speex spell sse ssl
tcltk tcpd tetex theora tiff truetype unicode usb videos x86 xine xml2 xmms xv
xvid yahoo zlib linguas_de"

------- Comment #1 From Simone Gotti (RETIRED) 2004-11-08 06:43:20 0000 -------
you can try runniong from root: 'fix_libtool_files.sh 3.4.2' 

on my system it was done automatically.. But I had to do the gcc-config by hand.

------- Comment #2 From C. Dominik Bodi 2004-11-08 06:57:59 0000 -------
Thx for your hint Simone, my system is still builduing but it already passed
the obstacle mentioned in the bug report.
It seems to me the new gcc-3.4.3 ebuild is having some difficulties, as
emerging it did neither update my profile with gcc-config nor
fix_libtool_files.sh on my system. I had to manually do both before everything
went back to normal.
I'd suggest changing the bug reports component from KDE to Core Utils.

------- Comment #3 From Gregorio Guidi (RETIRED) 2004-11-08 07:08:46 0000 -------
So it seems --> bug 70437.

------- Comment #4 From Adam Polkosnik 2004-11-08 12:04:32 0000 -------
Changes to paths (to point to 3.4.3 instead of some other version) in
/etc/env.d/05gcc needed and env-update re-run to regenerate  /etc/ld.so.cache
as far as I can tell. 

------- Comment #5 From Caleb Tennis 2004-11-09 04:54:28 0000 -------

*** This bug has been marked as a duplicate of 68799 ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug