Summary: | sys-devel/gcc-4.8.3 built with sys-devel/gcc-4.9.1 - .../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.53) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mark R. Pariente <markpariente> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | lists |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 461954, 495124 | ||
Attachments: |
gcc-4.8.3-build-1.log.gz
sed Makefile.am to run msgfmt without LD_LIBRARY_PATH build log with patch (failed) |
Description
Mark R. Pariente
2014-10-20 18:34:40 UTC
1) Please attach the entire build log to this bug report. 2) Please post your `emerge --info' output in a comment. Created attachment 387160 [details] gcc-4.8.3-build-1.log.gz Attaching full build log. Here's also emerge --info: Portage 2.2.14 (python 2.7.8-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.9.1, glibc-2.19-r1, 3.16.6-gentoo x86_64) ================================================================= System uname: Linux-3.16.6-gentoo-x86_64-Intel-R-_Core-TM-_i7-3517U_CPU_@_1.90GHz-with-gentoo-2.2 KiB Mem: 10097896 total, 1052960 free KiB Swap: 23451604 total, 23451604 free Timestamp of tree: Tue, 21 Oct 2014 18:45:01 +0000 ld GNU ld (Gentoo 2.24 p1.4) 2.24 distcc 3.1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.3_p30 dev-java/java-config: 2.2.0 dev-lang/perl: 5.20.1-r1 dev-lang/python: 2.7.8, 3.3.5-r1, 3.4.2 dev-util/cmake: 3.0.2 dev-util/pkgconfig: 0.28-r2 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.13.1 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.10.3, 1.11.6, 1.14.1 sys-devel/binutils: 2.24-r3 sys-devel/gcc: 4.8.3, 4.9.1 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2-r1 sys-devel/make: 4.1-r1 sys-kernel/linux-headers: 3.17 (virtual/os-headers) sys-libs/glibc: 2.19-r1 Repositories: gentoo mrpdaemon local ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -pipe -fomit-frame-pointer -march=core-avx-i -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle -mrdrnd -mf16c -mfsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=core-avx-i -fstack-protector" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.1/conf" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O3 -pipe -fomit-frame-pointer -march=core-avx-i -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle -mrdrnd -mf16c -mfsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=core-avx-i -fstack-protector" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5 -l5" 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/mrpdaemon /usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 avahi avx bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli clutter colord cracklib crypt cscope cups cxx dbus dri dts dv dvd dvdr eds emboss encode evo exif faac fam ffmpeg firefox flac fortran gdbm gif git glade glamor gnome gnome-keyring gnome-online-accounts gphoto2 gpm gstreamer gtk iconv introspection ipv6 jabber jpeg laptop lcms libnotify libsecret mad mmx mmxext mng modules mp3 mp4 mpeg msn multilib nautilus ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio python qt3support qt4 readline rtmp sdl session socialweb spell sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification svg systemd tcpd theora threads tiff tracker truetype udev udisks unicode upower usb v4l vaapi vala vim-syntax vorbis vpx wxwidgets x264 xcb xml xv xvid xvmc 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="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" 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="synaptics evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel nvidia" 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" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON Thanks for reporting. It would be neat if you could please try downloading the attached ebuild patch to some directory, and let us know the results of testing: mkdir -p /usr/local/portage/sys-devel/gcc cd /usr/local/portage/sys-devel/gcc cp -pR /usr/portage/sys-devel/gcc/* . patch --verbose -p 1 </path-to-download-patch/gcc-4.8.3-env-u-LD_LIBRARY_PATH-msgfmt.patch ebuild gcc-4.8.3.ebuild manifest emerge -av -1 sys-devel/gcc:4.8 Created attachment 387178 [details, diff]
sed Makefile.am to run msgfmt without LD_LIBRARY_PATH
Unfortunately I've had a hardware issue with my laptop so I can't test your patch until I get it repaired (next week or so). I'm having this same problem. Tried patch but failed, will upload results. Created attachment 387278 [details]
build log with patch (failed)
(In reply to jeremiah from comment #7) > Created attachment 387278 [details] > build log with patch (failed) Its a mismatch of libstdc++'s hitting dev-libs/icu. Am I right in understanding that when you you upgraded to gcc-4.9 you rebuild world, including icu? If so, now when libicuuc.so.52 tries to link against ../src/.libs/libstdc++.so.6 rather than the system libstdc++ it fails on that symbol. Something like that patch should work. well, I rebuilt -e system and -e kde-meta, which probably included icu (In reply to Mark Wright from comment #4) > Created attachment 387178 [details, diff] [details, diff] > sed Makefile.am to run msgfmt without LD_LIBRARY_PATH This patch worked for me - gcc 4.8.3 compiled successfully. BTW to answer Anthony's question - yes I had already done emerge -e @system @world with gcc 4.9.1 before running into this, so icu was compiled with 4.9.1. (In reply to Mark R. Pariente from comment #10) > (In reply to Mark Wright from comment #4) > > Created attachment 387178 [details, diff] [details, diff] [details, diff] > > sed Makefile.am to run msgfmt without LD_LIBRARY_PATH > > This patch worked for me - gcc 4.8.3 compiled successfully. > > BTW to answer Anthony's question - yes I had already done emerge -e @system > @world with gcc 4.9.1 before running into this, so icu was compiled with > 4.9.1. Good otherwise the bug would be confusing. patch works fine without any rebuilds of @system, thank you *** This bug has been marked as a duplicate of bug 513450 *** |