Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78858 - faad2 won't compile
Summary: faad2 won't compile
Status: RESOLVED DUPLICATE of bug 73435
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: foser (RETIRED)
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
: 82659 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-20 13:18 UTC by Karsten
Modified: 2005-07-17 13:06 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karsten 2005-01-20 13:18:03 UTC
Output follows. I am aware that this looks like the gcc update bug - but its not. Other packages compile as expected.

In Datei, eingef
Comment 1 Karsten 2005-01-20 13:18:03 UTC
Output follows. I am aware that this looks like the gcc update bug - but its not. Other packages compile as expected.

In Datei, eingefügt von ../common/mp4ff/mp4ff.h:35,
                    von main.c:42:
../common/mp4ff/mp4ff_int_types.h:23:7: Warnung: no newline at end of file
In Datei, eingefügt von main.c:42:
../common/mp4ff/mp4ff.h:128:7: Warnung: no newline at end of file
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../common/faad -I../common/mp4ff   -O2 -O2 -march=pentium3 -fomit-frame-pointer -MT getopt.o -MD -MP -MF ".deps/getopt.Tpo" \
  -c -o getopt.o `test -f '../common/faad/getopt.c' || echo './'`../common/faad/getopt.c; \
then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; \
else rm -f ".deps/getopt.Tpo"; exit 1; \
fi
/bin/sh ../libtool --mode=link i686-pc-linux-gnu-g++ -O2 -O2 -march=pentium3 -fomit-frame-pointer   -o faad  main.o audio.ogetopt.o ../libfaad/libfaad.la ../common/mp4ff/libmp4ff.la -lmp4v2 -lmp4v2
/bin/sed: -e expression #1, char 21: unknown command: `/'
mkdir .libs
libtool: link: cannot find the library `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.3/libstdc++.la'
make[2]: *** [faad] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/faad2-2.0-r4/work/faad2/frontend'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/faad2-2.0-r4/work/faad2'
make: *** [all] Fehler 2

!!! ERROR: media-libs/faad2-2.0-r4 failed.
!!! Function src_compile, Line 74, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

Hagen ~ #    

Reproducible: Always
Steps to Reproduce:
1. emerge faad2
2.
3.

Actual Results:  
See output in Details and Forum thread.

Expected Results:  
compile.

Hagen ~ # emerge info
Portage 2.0.51-r14 (default-linux/x86/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r8karsten3 i686)
=================================================================
System uname: 2.6.9-gentoo-r8karsten3 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#2, Jan 17 2005, 18:09:16)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r3
virtual/os-headers:  2.4.22
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/gentoo-de"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups divx4linux
encode f77 fam fbcon flac font-server foomaticdbfortran ftp gdbm gif gpm gtk2
imagemagick imap imlib ipv6 java jpeg kde ldap libg++ libwww mad mbox mikmod
mime motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python
qt quicktime readline samba sdl spell ssl svga tcpd tiff truetype truetype-fonts
type1-fonts usb xml2 xmms xv zlib linguas_de"
Unset:  LDFLAGS

Hagen ~ #
Comment 2 foser (RETIRED) gentoo-dev 2005-01-20 15:18:06 UTC
what is your sed version ?
Comment 3 Andrew Gaydenko 2005-01-22 06:02:56 UTC
The same for me. sed is 4.1.2.
Comment 4 foser (RETIRED) gentoo-dev 2005-01-23 02:09:59 UTC
whats your portage version ?
Comment 5 Andrew Gaydenko 2005-01-23 03:41:23 UTC
All is synced with ~x86.

# emerge -pv portage

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-apps/portage-2.0.51-r14  -build -debug (-selinux) 0 kB
Comment 6 Karsten 2005-01-23 07:20:43 UTC
Hagen ~ # emerge -pv portage

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-apps/portage-2.0.51-r14  -build -debug (-selinux) 0 kB

Total size of downloads: 0 kB
Comment 7 Karsten 2005-01-23 07:22:27 UTC
how do I determine sed version?
Comment 8 Karsten 2005-01-23 07:23:09 UTC
karsten@Hagen ~ $ sed --version
GNU sed Version 4.1.2
Copyright (C) 2003 Free Software Foundation, Inc.
(Der folgende Text ist eine nicht 
Comment 9 Karsten 2005-01-23 07:23:09 UTC
karsten@Hagen ~ $ sed --version
GNU sed Version 4.1.2
Copyright (C) 2003 Free Software Foundation, Inc.
(Der folgende Text ist eine nicht überprüfte Übersetzung, die zur
 Information dient;  in rechtlichen Fragen ist immer das englische
 Original ausschlaggebend)

Dieses Program ist freie Software; In den Quelldateien können Sie die
Bedingungen für die Weitergabe nachlesen.
Es gibt KEINE GARANTIE; nicht einmal die implizite Garantie der
MARKTFÄHIGKEIT oder der ERFÜLLUNG EINES BESTIMMTEN ZWECKES.
Comment 10 Peter Buxton 2005-01-23 19:54:28 UTC
Are you sure this isn't a gcc-config bug? faad2-2.0-r4 dies on me with:

libtool: link: cannot find the library `/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/libstdc++.la'

which is a problem:

grimace frontend # gcc-config -l
[1] i686-pc-linux-gnu-3.4.3 *
[2] i686-pc-linux-gnu-3.4.3-hardened
[3] i686-pc-linux-gnu-3.4.3-hardenednopie
[4] i686-pc-linux-gnu-3.4.3-hardenednossp
grimace frontend # 

Why is it looking for 3.4.2?



Portage 2.0.51-r14 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r5 i686)
=================================================================
System uname: 2.6.10-gentoo-r5 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec  2 2004, 12:14:27)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.9.4, 1.6.3, 1.4_p6, 1.7.9, 1.8.5-r2
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r3
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-g -O2 -march=athlon"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-g -O2 -march=athlon"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo ftp://cs.ubishops.ca/pub/gentoo ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.mirrors.pair.com/ ftp://gentoo.ccccom.com http://mirror.clarkson.edu/pub/distributions/gentoo/ ftp://ftp.ndlug.nd.edu/pub/gentoo/"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dfx 3dnow 3dnowex X acl alsa apache2 apm avi berkdb bitmap-fonts bzip2 caps cdr crypt cups curl divx4linux dvd encode f77 flac font-server foomaticdb fortran freetype gdbm gif glitz gphoto2 gpm gtk gtk2 imagemagick imlib ipv6 java jpeg kde libg++ libwww mmx mmx2 motif mozsvg mozxmlterm mpeg ncurses network nls nptl objc odbc oggvorbis opengl pam pdflib perl png python quicktime readline rtc slang spell ssl tcpd tiff truetype truetype-fonts type1-fonts unicode voodoo3 xml2 xmms xprint xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 11 foser (RETIRED) gentoo-dev 2005-01-24 05:16:13 UTC
downgrade your portage to stable and try again.
Comment 12 Sean Leather 2005-01-29 15:29:11 UTC
I have the same problem. Also have gcc-3.4.3, portage-2.0.51-r15.

emerge faad2 reports:
---------------------
/bin/sh ../libtool --mode=link i686-pc-linux-gnu-g++ -O2 -O3 -pipe -mtune=athlon-xp -ffast-math -mmmx -msse -m3dnow   -o faad  main.o audio.o getopt.o ../libfaad/libfaad.la ../common/mp4ff/libmp4ff.la -lmp4v2 -lmp4v2
mkdir .libs
libtool: link: cannot find the library `/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/libstdc++.la'
make[2]: *** [faad] Error 1
make[2]: Leaving directory `/var/tmp/portage/faad2-2.0-r4/work/faad2/frontend'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/faad2-2.0-r4/work/faad2'
make: *** [all] Error 2

!!! ERROR: media-libs/faad2-2.0-r4 failed.
!!! Function src_compile, Line 74, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
---------------------

I would downgrade portage if I knew what version to go to. I tried looking into the ebuild but gave up after a while with no luck.
Comment 13 Sean Leather 2005-01-29 15:35:00 UTC
P.S. I tried USE="-xmms" emerge faad2 with the same error.
Comment 14 Lukasz Strzygowski (RETIRED) gentoo-dev 2005-02-02 06:12:11 UTC
Same here.

Error message:
make[2]: Entering directory `/var/tmp/portage/faad2-2.0-r4/work/faad2/frontend'
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../common/faad -I../common/mp4ff   -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -MT main.o -MD -MP -MF ".deps/main.Tpo" \
  -c -o main.o `test -f 'main.c' || echo './'`main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; \
else rm -f ".deps/main.Tpo"; exit 1; \
fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../common/faad -I../common/mp4ff   -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -MT audio.o -MD -MP -MF ".deps/audio.Tpo" \
  -c -o audio.o `test -f 'audio.c' || echo './'`audio.c; \
then mv -f ".deps/audio.Tpo" ".deps/audio.Po"; \
else rm -f ".deps/audio.Tpo"; exit 1; \
fi
In file included from ../common/mp4ff/mp4ff.h:35,
                 from main.c:42:
../common/mp4ff/mp4ff_int_types.h:23:7: warning: no newline at end of file
In file included from main.c:42:
../common/mp4ff/mp4ff.h:128:7: warning: no newline at end of file
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../common/faad -I../common/mp4ff   -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -MT getopt.o -MD -MP -MF ".deps/getopt.Tpo" \
  -c -o getopt.o `test -f '../common/faad/getopt.c' || echo './'`../common/faad/getopt.c; \
then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; \
else rm -f ".deps/getopt.Tpo"; exit 1; \
fi
/bin/sh ../libtool --mode=link i686-pc-linux-gnu-g++ -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer   -o faad  main.o audio.o getopt.o ../libfaad/libfaad.la ../common/mp4ff/libmp4ff.la -lmp4v2 -lmp4v2 
mkdir .libs
libtool: link: cannot find the library `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la'
make[2]: *** [faad] Error 1
make[2]: Leaving directory `/var/tmp/portage/faad2-2.0-r4/work/faad2/frontend'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/faad2-2.0-r4/work/faad2'
make: *** [all] Error 2


Emerge info:
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.4 [2.4 (#1, Dec 27 2004, 16:26:50)]
ccache version 2.3 [enabled]
dev-lang/python:     2.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.4_p6, 1.6.3, 1.5, 1.9.4, 1.8.5-r3, 1.7.9-r1
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache cvs distlocks sandbox sfperms sign"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://src.gentoo.pl/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X acl alsa apache2 apm avi bitmap-fonts cdr crypt cups debugger dvd dvdr encode esd f77 fam font-server foomaticdb gif gnome gpm gstreamer gtk2 iproute ipv6 jpeg libg++ libwww lzo mad mmx mono mozilla moznocompose moznoirc moznomail mp3 mpeg ncurses nls no_wxgtk1 nptl oggvorbis oss pam pdflib perl png postgres python qemu-fast qt readline ruby samba sdl spell sse ssl svga tcpd tiff truetype truetype-fonts type1-fonts unicode v4l xml2 zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 15 foser (RETIRED) gentoo-dev 2005-02-02 14:30:49 UTC
those last 2 reports do not seem to be the same thing as the initial one & as such shouldn't have been posted here. Those last 2 seem to be gcc update related and not a direct faad problem.

@ the initial poster : make sure this is not the problem described in #80425 (missing auto* tool links)
Comment 16 Sean Leather 2005-02-05 02:40:25 UTC
I don't think so. I don't see how this can be a gcc update problem if faad2 is the only package that doesn't compile. I've continued to update everything else. I did fix the automake/aclocal problems caused by unmerging automake-1.8.5-r1 (http://bugs.gentoo.org/show_bug.cgi?id=80425); however, the errors in other packages were more obvious (e.g. "Can't find automake"). I could not find any reference to gcc 3.4.2 which is what it is looking for.
Comment 17 Karsten 2005-02-05 05:03:07 UTC
@foser: As you can see in my original post, i'm using sys-devel/autoconf:  2.59-r6, 2.13. I viewed the bug  #80425, but have not the foggiest idea what solution they propose. Please be so kind and tell me what to do.
Comment 18 babykart 2005-02-05 20:16:01 UTC
libtool: link: cannot find the library `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.3/libstdc++.la'
make[2]: *** [faad] Error 1
make[2]: Leaving directory `/var/tmp/portage/faad2-2.0-r3/work/faad2/frontend'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/faad2-2.0-r3/work/faad2'
make: *** [all] Error 2

!!! ERROR: media-libs/faad2-2.0-r3 failed.
!!! Function src_compile, Line 70, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

-----------------------------------------------------------------------

Portage 2.0.51-r15 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.11-rc2-mmvivid1 i686)
=================================================================
System uname: 2.6.11-rc2-mmvivid1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.4 [2.3.4 (#2, Feb  6 2005, 01:21:13)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.9.4, 1.5
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=prescott -mmmx -msse -msse2 -msse3 -pipe -ffast-math -ftracer -fprefetch-loop-arrays -fforce-addr -fforce-mem -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=prescott -mmmx -msse -msse2 -msse3 -pipe -ffast-math -ftracer -fprefetch-loop-arrays -fforce-addr -fforce-mem -fomit-frame-pointer -fpermissive"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ ftp://gentoo.blueyonder.co.uk/mirrors/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/entropie"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm avi bash-completion berkdb bitmap-fonts chroot crypt cups divx4linux dvd dvdr dvdread encode f77 foomaticdb gif gpm gtk gtk2 imagemagick imlib innodb java javascript jpeg libg++ libwww mad matroska mikmod mmx motif mozilla mpeg mysql ncurses nls nptl nptlonly oggvorbis opengl oss pam pdflib perl php pic png python quicktime readline real sdl sftplogging sse sse2 ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts userlocales xml2 xmms xv xvid zlib video_cards_radeon linguas_fr"
Unset:  ASFLAGS, CBUILD, CTARGET
Comment 19 Sean Leather 2005-02-06 01:15:19 UTC
I believe I've fixed mine. See these threads in the forums:
<ul>
<li><a href="http://forums.gentoo.org/viewtopic.php?t=282222">emerge faad2 problem [still not solved]</a></li>
<li><a href="http://forums.gentoo.org/viewtopic.php?t=231301">Accidentally emerged GCC 3.4, now trying to revert...</a></li>
</ul>

Since my error showed up as libtool looking for libstdc++.la with gcc 3.4.2 and I have 3.4.3, I ran the following and got this output:
root# <b>fix_libtool_files.sh 3.4.2</b>
 * Scanning libtool files for hardcoded gcc library paths...
 *   Scanning /lib...
 *   Scanning /usr/lib...
 *     FIXING: /usr/lib/xmms/Input/libmp4.la ... [v]
 *     FIXING: /usr/lib/libid3.la ... [v]
 *     FIXING: /usr/lib/libmp4v2.la ... [v]
 *     FIXING: /usr/lib/libdb_cxx-4.2.la ... [v]
 *   Scanning /opt/blackdown-jdk-1.4.2.01/jre/lib/i386...
 *   Scanning /usr/kde/3.3/lib...
 *   Scanning /usr/kde/3.4/lib...
 *   Scanning /usr/local/lib...
 *   Scanning /usr/qt/3/lib...
Comment 20 Karsten 2005-02-07 15:56:03 UTC
That does not solve the problem for me.
Comment 21 foser (RETIRED) gentoo-dev 2005-02-07 15:59:32 UTC
besides maybe comment #1 this is a dupe of #73435 .
Comment 22 Martin Mokrejš 2005-02-14 02:12:28 UTC
I had similar problem with libSDL referring to libstdc++-3.3.4.la, which doesn't exist anymore. This was referred from about 5 /usr/lib/*.la files, including libSDL and some others. Re-emerging the very same package, i.e. libsdl did not work as the package cannot be compiled due to the broken .la file in /usr/lib.

The fix for me was:
fix_libtool_files.sh 3.3.4

Interrestingly enough, "gcc-config -l" reports I have only 3.3.5 and 3.4.0 versions.
Comment 23 foser (RETIRED) gentoo-dev 2005-02-14 08:13:38 UTC
duping it, nothing i can do much about.

*** This bug has been marked as a duplicate of 73435 ***
Comment 24 foser (RETIRED) gentoo-dev 2005-02-20 13:25:02 UTC
*** Bug 82659 has been marked as a duplicate of this bug. ***