Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 513450 - sys-devel/gcc-4.9.0 - msgfmt: .../sys-devel/gcc-4.8.3/work/build/x86_64-pc-linux-gnu/libstdc++-v3/src/. libs/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib64/libicuuc.so.52)
Summary: sys-devel/gcc-4.9.0 - msgfmt: .../sys-devel/gcc-4.8.3/work/build/x86_64-pc-li...
Status: RESOLVED DUPLICATE of bug 391247
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 526140 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-06-16 09:17 UTC by milan hodoscek
Modified: 2014-11-01 03:42 UTC (History)
1 user (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 milan hodoscek 2014-06-16 09:17:32 UTC
sci-chemistry/gamess does not pass any tests with compilers newer than gcc-4.7.x, so I need this compiler along the newest one which is used for the rest of the gentoo system. The problem is in the dev-libs/icu package. If this package is compiled with gcc-4.9.0, then older compilers cannot be compiled with any compiler. But if this package is compiled by eg gcc:4.7 then any of the gcc:4.6, gcc:4.7, gcc:4.8, can be compiled with any other. I checked all the combinations :-)

Since I am not an expert in sys-devel I am not even sure if the problem can be fixed in the compilers or dev-libs/icu so I file this bug here, but maybe it should be icu bug???


Reproducible: Always

Steps to Reproduce:
1. install gcc-4.9.0, gcc-config it and source /etc/profile
2. compile dev-libs/icu
3. emerge gcc:4.7
Actual Results:  
in short the message is, but I am also attaching the whole log:
msgfmt: /var/tmp/portage/sys-devel/gcc-4.8.3/work/build/x86_64-pc-linux-gnu/libstdc++-v3/src/.
libs/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib64/libicuuc.so.52)


Expected Results:  
emerge gcc:4.7 to finish normally

If one selects gcc-4.7.x in gcc-config and then compile dev-libs/icu
every compiler can build any other :-)

So we have a work around but it is ugly :-(
Comment 1 milan hodoscek 2014-06-16 09:19:54 UTC
s9 ~ # emerge --info
Portage 2.2.10 (default/linux/amd64/13.0, gcc-4.9.0, glibc-2.19-r1, 3.15.0-gentoo-r1 x86_64)
=================================================================
System uname: Linux-3.15.0-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.2
KiB Mem:    16113188 total,   6367996 free
KiB Swap:   39062524 total,  39062524 free
Timestamp of tree: Mon, 16 Jun 2014 08:30:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p47
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6-r1, 3.3.5, 3.4.0
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.6.4, 4.7.3-r1, 4.8.2-r1, 4.9.0
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.15 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo science local
Installed sets: @enlightenment
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=corei7"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=corei7"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nostrip parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe -march=corei7"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/science /usr/local/portage"
SYNC="rsync://a/portage"
USE="X a52 aac aalib acpi akode alsa amarok amd64 amr amrnb amrr amrwb animgif ansi apache2 apng applet aura autoipd avahi bash-completion berkdb bitmapfonts bl blas bluetooth branding breakme bzip2 cairo canna cdaudio cdb cdda cddb cdio cdr cdrom cdsound chm cjk cli clucene clutter consolekit context cracklib crypt cups curl cviewer cvs cxx daap dbus dconf declarative demosaic detex device-mapper dga dirac divx dri dts dv dvd dvdnav dvdread dvi dvi2tty dvipdfm emacs embedded emerald emovix encode epiphany exif exim extensions extra extras fax ffmpeg fftw firefox fits flac fontconfig foomaticdb fortran fping frei0r fts3 fuse g3dvl gcj gd gdbm gdu gimp gimpprint git gkrellm gles2 glib glibc-compat20 glitz glut gmedia gnuplot gnutls gphoto2 graphics gstreamer gtk gtk3 gudev gzip gzip-el h323 hpijs humanities hwdb hwinfo iconv icu imagemagick introspection ipv6 jack java javascript jbig jpeg jpeg2k kde kdenlive kdepim keymap kpathsea ksolver lame lapack latex latex3 lcms lua lua-cairo luatex lzma mad matplotlib matroska mdnsresponder-compat melt minizip mjpeg mmx mng modemmanager modules mozilla mp3 mp4 mp4live mpeg mpeg2 mplayer multilib multiuser musepack music musicbrainz mysql nautilus ncurses nemesi networkmanager new-hpcups nls nptl nsplugin ogg oggvorbis omega openbabel openexr opengl openmp opus pam pcntl pcre pdf pdo perl phonon pipechan plasma player plotutils png policykit posix ppds print ps pstricks publishers pulseaudio python python3 q16 q32 qt3support qt4 raw readline realmedia reiserfs replytolist rtc scanner schroedinger science scipy screen script scripting scripts scripttools sdl secure-delete semantic-desktop sendto serial session sip smp sna sndfile sockets socks5 soprano sox spamassassin speex spell sql sqlite sqlite3 sse sse2 ssl static-libs subtitles subversion svg svgz t1lib tagwriting tcl tcltk tcpd tetex tex4ht tga theora threads tiff tk tools tracker transcode translator truetype type1 udev unicode usb uvm uxa v4l2 vaapi vala vcd vdpau vdr vhook vorbis vorbis-psy vpx wav wavpack webkit webm wma wmf wmp wordperfect wxgtk1 x264 xcb xcomposite xetex xft xindy xinetd xiph xml xmp xpm xrandr xterm xulrunner xv xvfb xvid xvmc yv12 zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="all" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" ELIBC="glibc" ENLIGHTENMENT_MODULES="backlight battery clock comp conf-applications conf-dialogs conf-display conf-edgebindings conf-interaction conf-intl conf-keybindings conf-menus conf-paths conf-performance conf-randr conf-shelves conf-theme conf-window-manipulation conf-window-remembers connman cpufreq dropshadow everything fileman fileman-opinfo gadman ibar ibox illume2 mixer msgbus notification pager quickaccess start syscon systray tasks temperature tiling winlist wizard xkbswitch access shot" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="us" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="vesa intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.3 3.4"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 milan hodoscek 2014-06-16 09:28:19 UTC
bzipped build log attachement didn't work :-(
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-06-16 19:57:39 UTC
(In reply to milan hodoscek from comment #2)
> bzipped build log attachement didn't work :-(

Try again.
Comment 4 milan hodoscek 2014-06-16 22:03:21 UTC
(In reply to Jeroen Roovers from comment #3)
> (In reply to milan hodoscek from comment #2)
> > bzipped build log attachement didn't work :-(
> 
> Try again.

It still doesn't like me. Is it because I do .bz2 ? I specified a binary file...
The uncompressed text file is too big
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2014-06-16 23:48:36 UTC
No problem here.  What does /etc/ld.so.conf.d/05gcc-... look like?
Comment 6 SpanKY gentoo-dev 2014-06-17 00:20:30 UTC

*** This bug has been marked as a duplicate of bug 391247 ***
Comment 7 Ryan Hill (RETIRED) gentoo-dev 2014-06-17 02:33:12 UTC
I've fixed this for 4.7.4.  I'll get it into 4.8.3 and 4.9.0 next time I get a chance.  See bug #372377.
Comment 8 milan hodoscek 2014-06-17 08:27:22 UTC
(In reply to Ryan Hill from comment #7)
> I've fixed this for 4.7.4.  I'll get it into 4.8.3 and 4.9.0 next time I get
> a chance.  See bug #372377.

gcc-4.7.4 works here, too. Thanks!

Also this is my /etc/ld.so.conf.d/05gcc-x86_64-pc-linux-gnu.conf file content:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0/32
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/32
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.4/32
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.4
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.4/32
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.4
Comment 9 SpanKY gentoo-dev 2014-06-17 18:20:15 UTC

*** This bug has been marked as a duplicate of bug 391247 ***
Comment 10 SpanKY gentoo-dev 2014-11-01 03:42:30 UTC
*** Bug 526140 has been marked as a duplicate of this bug. ***