Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 776733 - sys-devel/gcc-10.2.0-r5: msgfmt: symbol lookup error: /usr/lib/libicuuc.so.68: undefined symbol: _ZSt14__once_functor, version GLIBCXX_3.4.11
Summary: sys-devel/gcc-10.2.0-r5: msgfmt: symbol lookup error: /usr/lib/libicuuc.so.68...
Status: RESOLVED DUPLICATE of bug 843119
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-16 17:38 UTC by lebkoungcity
Modified: 2022-06-05 04:44 UTC (History)
3 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 lebkoungcity 2021-03-16 17:38:44 UTC
I encountered the problem when I tried to emerge sys-devel/gcc-10.2.0-r5 on my Raspberry Pi 4. It's a rather fresh 32bit installation.
It was discussed here:
https://forums.gentoo.org/viewtopic-t-1131744.html

As a test I set '-icu' in make.conf and rebuilt world ('emerge -auvDNU world') and gcc emerged successfully.



Reproducible: Always

Steps to Reproduce:
1. emerge -1av sys-devel/gcc
2.
3.
Actual Results:  
(...)
msgfmt -o de.mo /var/tmp/portage/sys-devel/gcc-10.2.0-r5/work/gcc-10.2.0/libstdc++-v3/po/de.po
msgfmt -o fr.mo /var/tmp/portage/sys-devel/gcc-10.2.0-r5/work/gcc-10.2.0/libstdc++-v3/po/fr.po
msgfmt: symbol lookup error: /usr/lib/libicuuc.so.68: undefined symbol: _ZSt14__once_functor, version GLIBCXX_3.4.11
make[5]: *** [Makefile:551: de.mo] Error 127
make[5]: *** Waiting for unfinished jobs....
msgfmt: symbol lookup error: /usr/lib/libicuuc.so.68: undefined symbol: _ZSt14__once_functor, version GLIBCXX_3.4.11
make[5]: *** [Makefile:551: fr.mo] Error 127
(...)

Expected Results:  
That sys-devel/gcc is emerged successfully.

It seems that all packages which make use of 'libicuuc.so.68' while emerging are affected.
Comment 1 lebkoungcity 2021-03-16 17:40:48 UTC
thalia ~ # emerge --info
Portage 3.0.13 (python 3.8.7-final-0, default/linux/arm/17.0/armv7a/desktop, gcc-9.3.0, glibc-2.32-r8, 5.4.79-v7l+ armv7l)
=================================================================
System uname: Linux-5.4.79-v7l+-armv7l-ARMv7_Processor_rev_3_-v7l-with-glibc2.4
KiB Mem:     8012320 total,   6467452 free
KiB Swap:    5860348 total,   5859828 free
Timestamp of repository gentoo: Tue, 16 Mar 2021 16:30:01 +0000
Head commit of repository gentoo: cc22543731a73ffa32998217e751de296856fe9a
sh bash 5.0_p18
ld GNU ld (Gentoo 2.35.1 p2) 2.35.1
distcc 3.3.3 armv7a-unknown-linux-gnueabihf [enabled]
ccache version 4.1 [enabled]
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          3.8.7-r1::gentoo, 3.9.1-r1::gentoo
dev-util/ccache:          4.1::gentoo
dev-util/cmake:           3.18.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2-r1::gentoo
sys-devel/binutils:       2.35.1-r1::gentoo
sys-devel/gcc:            9.3.0-r2::gentoo, 10.2.0-r5::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r8::gentoo
Repositories:

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: 1
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 

ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="@FREE"
CBUILD="armv7a-unknown-linux-gnueabihf"
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
CHOST="armv7a-unknown-linux-gnueabihf"
CONFIG_PROTECT="/boot/cmdline.txt /boot/config.txt /etc /usr/share/gnupg/qualified.txt"
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="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg ccache config-protect-if-modified distcc distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
GENTOO_MIRRORS="https://104.23.128.5/gentoo/ https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ https://ftp.fau.de/gentoo http://ftp.halifax.rwth-aachen.de/gentoo/ ftp://mirror.netcologne.de/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de_1901 de_DE de en"
MAKEOPTS="-j21 -l4"
PKGDIR="/var/cache/binpkgs"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl alsa arm berkdb bluetooth branding bzip2 cairo cli crypt dbus dri dts egl elogind encode exif flac fortran gdbm gif gles1 gles2 gpm gtk gui iconv icu ipv6 jpeg lcms libglvnd libnotify mad mng mp3 mp4 mpeg ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit pulseaudio qrcode qt5 raspberry-pi raspi readline sdl seccomp spell split-usr ssl startup-notification svg system-ffmpeg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ADA_TARGET="gnat_2018" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp neon thumb vfp vfpv3 vfpv4 vfp-d32 v4 v5 v6 v7 thumb2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de-1901 de en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="fbdev v3d vc4" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2021-03-26 18:04:58 UTC
Yeah, ideally gcc should stop injecting with LD_PRELOAD it's locally built libstdc++.so. It also breaks linkers occasionally.

As a workaround we could try disabling doc building (again).
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-05 04:44:18 UTC
Let's reverse mark as dupe as the other has.. more dupes and discussion.

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