As described in link: https://forums.gentoo.org/viewtopic-t-1077132.html Upgrade of GCC needs rebuild of libebml. Cause without rebuild - VLC-player won't compile. Error: matroska_segment_parse.cpp: undefined reference to 'libebml::EbmlString::operator' etc. This lib also reported in ticket: https://bugs.gentoo.org/657004 Already year forum-branch get new answers and this seems not fixed. Reproducible: Always
libebml-1.3.5 without debug and static-libs
1. Please attach the entire build log to this bug report. 2. Please post your `emerge --info` output in a comment.
Created attachment 568960 [details] Build log of VLC
Created attachment 568962 [details] Output of Emerge --info
(In reply to Jeroen Roovers from comment #2) > 1. Please attach the entire build log to this bug report. > 2. Please post your `emerge --info` output in a comment. fxd
emerge -au vlc: Calculating dependencies... done! [ebuild U ] media-video/vlc-3.0.6-r1:0/5-9::gentoo [2.2.8-r1:0/5-8::gentoo] USE="X a52 alsa bluray cddb dbus dts dvbpsi dvd encode ffmpeg flac fontconfig gcrypt gstreamer jack jpeg kate libass libcaca libnotify libsamplerate matroska mp3 mpeg mtp ncurses ogg png qt5 skins speex ssl%* theora truetype udev v4l vaapi vdpau vorbis wma-fixed x264 x265 xml (-altivec) (-aom) -archive% -aribsub% -bidi -chromaprint -chromecast% (-dav1d) -dc1394 -debug (-directx) -faad -fdk -fluidsynth -gme -gnome-keyring% -ieee1394 -libav -libtar -libtiger -linsys -lirc -live -lua -macosx-notifications% (-macosx-qtkit) -mad% -modplug -musepack (-neon) -nfs% -omxil -opencv -optimisememory -opus -postproc -projectm -pulseaudio -rdp -run-as-root -samba -sdl-image -sftp -shout -sid -soxr% (-srt) -svg -taglib -test -tremor -twolame -upnp -vnc -vpx -wayland% -zeroconf -zvbi (-aalib%*) (-atmo%) (-audioqueue%) (-avcodec%*) (-avformat%*) (-cdda%*) (-dvb%*) (-dxva2%) (-gnome%) (-gnutls%*) (-growl%) (-httpd%) (-macosx-dialog-provider%) (-macosx-eyetv%) (-macosx-quartztext%) (-opengl%) (-rtsp%) (-schroedinger%) (-sdl%) (-swscale%*) (-vcdx%) (-vlm%*) (-xcb%*) (-xv%)" CPU_FLAGS_X86="mmx sse" 0 KiB
demux/mkv/.libs/libmkv_plugin_la-matroska_segment.o: In function `matroska_segment_c::ParseSimpleTags(SimpleTag*, libmatroska::KaxTagSimple*, int)': matroska_segment.cpp:(.text+0x4af6): undefined reference to `libebml::EbmlString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&() const' demux/mkv/.libs/libmkv_plugin_la-matroska_segment_parse.o: In function `matroska_segment_c::ParseChapterAtom(int, libmatroska::KaxChapterAtom*, chapter_item_c&)::ChapterAtomHandlers::KaxChapterLanguage_callback(libebml::EbmlElement*, void*)': matroska_segment_parse.cpp:(.text+0x1425): undefined reference to `libebml::EbmlString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&() const' demux/mkv/.libs/libmkv_plugin_la-matroska_segment_parse.o: In function `matroska_segment_c::ParseChapterAtom(int, libmatroska::KaxChapterAtom*, chapter_item_c&)::ChapterAtomHandlers::KaxChapterCountry_callback(libebml::EbmlElement*, void*)': matroska_segment_parse.cpp:(.text+0x1445): undefined reference to `libebml::EbmlString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&() const' demux/mkv/.libs/libmkv_plugin_la-matroska_segment_parse.o: In function `matroska_segment_c::ParseTrackEntry(libmatroska::KaxTrackEntry const*)::MetaDataHandlers::KaxTrackLanguage_callback(libebml::EbmlElement*, void*)': matroska_segment_parse.cpp:(.text+0x2720): undefined reference to `libebml::EbmlString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&() const' demux/mkv/.libs/libmkv_plugin_la-matroska_segment_parse.o: In function `matroska_segment_c::ParseTrackEntry(libmatroska::KaxTrackEntry const*)::MetaDataHandlers::KaxCodecID_callback(libebml::EbmlElement*, void*)': matroska_segment_parse.cpp:(.text+0x2814): undefined reference to `libebml::EbmlString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&() const' demux/mkv/.libs/libmkv_plugin_la-matroska_segment_parse.o:matroska_segment_parse.cpp:(.text+0x28a2): more undefined references to `libebml::EbmlString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&() const' follow This means that you forgot to rebuild C++ libraries (e.g. dev-libs/libebml) after upgrading GCC (from GCC <6 to GCC >=6.)