Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300262 - System's C++ libs are randomly broken w/ const@GLIBCXX_3.4.11
Summary: System's C++ libs are randomly broken w/ const@GLIBCXX_3.4.11
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-09 09:05 UTC by Michele Ciacci
Modified: 2010-01-11 12:19 UTC (History)
0 users

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 Michele Ciacci 2010-01-09 09:05:52 UTC
Making all in frontend
make[2]: Entering directory `/var/tmp/portage/media-libs/faac-1.28-r1/work/faac-1.28/frontend'
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include     -march=native -O2 -pipe -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include     -march=native -O2 -pipe -MT input.o -MD -MP -MF .deps/input.Tpo -c -o input.o input.c
main.c: In function 'main':
main.c:718: warning: format not a string literal and no format arguments
main.c:908: warning: 'MP4SetMetadataTool' is deprecated (declared at /usr/include/mp4v2/meta.h:138)
main.c:911: warning: 'MP4SetMetadataArtist' is deprecated (declared at /usr/include/mp4v2/meta.h:60)
main.c:912: warning: 'MP4SetMetadataWriter' is deprecated (declared at /usr/include/mp4v2/meta.h:86)
main.c:913: warning: 'MP4SetMetadataName' is deprecated (declared at /usr/include/mp4v2/meta.h:34)
main.c:914: warning: 'MP4SetMetadataAlbum' is deprecated (declared at /usr/include/mp4v2/meta.h:190)
main.c:917: warning: 'MP4SetMetadataCompilation' is deprecated (declared at /usr/include/mp4v2/meta.h:346)
main.c:918: warning: 'MP4SetMetadataYear' is deprecated (declared at /usr/include/mp4v2/meta.h:164)
main.c:919: warning: 'MP4SetMetadataGenre' is deprecated (declared at /usr/include/mp4v2/meta.h:268)
main.c:920: warning: 'MP4SetMetadataComment' is deprecated (declared at /usr/include/mp4v2/meta.h:112)
main.c:922: warning: 'MP4SetMetadataCoverArt' is deprecated (declared at /usr/include/mp4v2/meta.h:398)
main.c:1128: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
mv -f .deps/input.Tpo .deps/input.Po
mv -f .deps/main.Tpo .deps/main.Po
/bin/sh ../libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc  -march=native -O2 -pipe  -Wl,-O1 -o faac main.o input.o ../libfaac/libfaac.la -lm -lmp4v2 
libtool: link: i686-pc-linux-gnu-gcc -march=native -O2 -pipe -Wl,-O1 -o .libs/faac main.o input.o  ../libfaac/.libs/libfaac.so -lm /usr/lib/libmp4v2.so
/usr/lib/libmp4v2.so: undefined reference to `std::ctype<char>::_M_widen_init() const@GLIBCXX_3.4.11'
collect2: ld returned 1 exit status
make[2]: *** [faac] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/faac-1.28-r1/work/faac-1.28/frontend'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/faac-1.28-r1/work/faac-1.28'
make: *** [all] Error 2


Reproducible: Always

Steps to Reproduce:
1. emerge faac
2.
3.




Portage 2.1.7.16 (default/linux/x86/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.31-gentoo-r6 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.31-gentoo-r6-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 08 Jan 2010 12:00:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4, 3.1.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.7.9-r2, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="it"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="/ X a52 aac acl acpi alsa apache2 avahi berkdb bindist bluetooth branding bzip2 cairo cdb cddb cdparanoia cdr cli consolekit cracklib crypt css cups cxx daap dbus dga dri dts dvb dvd dvdr eds emboss encode evo exif faad fam ffac ffmpeg firefox flac fortran gdbm gif gpm gstreamer gtk hal iconv ivtv java javascript joystick jpeg latin1 lcd ldap libnotify lirc lm_sensors mad mdnsresponder-compat mikmod mmxext mng modules mp3 mp4 mpeg mudflap mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl png posix ppds pppd python qt3support qt4 quicktime readline reflection rss samba sdl server session spell spl sqlite sse3 ssl startup-notification svg sysfs tcpd thunar tiff transcode truetype type1 unicode usb v4l vcd vdpau vorbis wifi win32codecs wma x264 x86 xcomposite xine xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" LIRC_DEVICES="atiusb atilibusb" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-01-09 09:09:56 UTC
/usr/lib/libmp4v2.so: undefined reference to `std::ctype<char>::_M_widen_init()
const@GLIBCXX_3.4.11'

Looks like you upgraded GCC lately, and didn't rebuild your world

Try recompiling at least libmp4v2
Comment 2 Michele Ciacci 2010-01-09 09:52:41 UTC
just 

update the system with 
emerge -e system
emerge -e system
emerge -e world 
emerge -e world 

I did try to do

emerge -C libmp4v2
emerge faac

wich pull in also libmp4v2

but the result is what you can see above
Comment 3 Rafał Mużyło 2010-01-09 13:19:44 UTC
Actually looks more like a gcc-config problem:
that error means that some of the libs are linked
against a more recent libstdc++ than the linker finds.
Try resetting selected gcc and check /etc/ld.so.conf.
Comment 4 Michele Ciacci 2010-01-09 19:50:17 UTC
Thx for pointing me up the gcc issue I'm fixing the issue

stay tuned
Comment 5 Michele Ciacci 2010-01-11 12:19:41 UTC
fixed thanks again for the support