After gcc upgrade to sys-devel/gcc-7.3.0-r3. Rebuilding libtool, llvm, boost and clang. media-video/vlc-3.0.2-r1 fails with dev-libs/libebml-1.3.5: libtool: link: mv -f ".libs/libmkv_plugin.expT" ".libs/libmkv_plugin.exp" [781/13684] libtool: link: x86_64-pc-linux-gnu-g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/crtbeginS.o demux/mkv/.libs/libmkv_pl ugin_la-util.o demux/mkv/.libs/libmkv_plugin_la-virtual_segment.o demux/mkv/.libs/libmkv_plugin_la-matroska_segment.o demux/mkv/.libs/libmkv_plugin_la-matroska_segment_parse.o demux/mkv/.libs/libmkv_plugin_la-ma troska_segment_seeker.o demux/mkv/.libs/libmkv_plugin_la-demux.o demux/mkv/.libs/libmkv_plugin_la-Ebml_parser.o demux/mkv/.libs/libmkv_plugin_la-chapters.o demux/mkv/.libs/libmkv_plugin_la-chapter_command.o demu x/mkv/.libs/libmkv_plugin_la-stream_io_callback.o demux/mp4/.libs/libmkv_plugin_la-libmp4.o demux/mkv/.libs/libmkv_plugin_la-mkv.o packetizer/.libs/libmkv_plugin_la-dts_header.o -Wl,-rpath -Wl,/tmp/portage/med ia-video/vlc-3.0.2-r1/work/vlc-3.0.2/src/.libs ../compat/.libs/libcompat.a -L/usr/lib64/sidplay/builders/ ../src/.libs/libvlccore.so -lidn -lpthread -ldl -ldbus-1 -Wl,--as-needed -lebml -lmatroska -lz -L/usr/lib /gcc/x86_64-pc-linux-gnu/7.3.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/lib -L/usr/l ib/gcc/x86_64-pc-linux-gnu/7.3.0/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64/crtn.o -O2 -mabm -madx -maes -march=s kylake -mavx -mavx2 -mbmi -mbmi2 -mclflushopt -mcx16 -mf16c -mfma -mfsgsbase -mfxsr -mlzcnt -mmmx -mmovbe -mno-3dnow -mno-avx5124fmaps -mno-avx5124vnniw -mno-avx512bw -mno-avx512cd -mno-avx512dq -mno-avx512er -m no-avx512f -mno-avx512ifma -mno-avx512pf -mno-avx512vbmi -mno-avx512vl -mno-clwb -mno-clzero -mno-fma4 -mno-hle -mno-lwp -mno-mwaitx -mno-pku -mno-prefetchwt1 -mno-rdpid -mno-rtm -mno-sha -mno-sse4a -mno-tbm -mn o-xop -mpclmul -mpopcnt -mprfchw -mrdrnd -mrdseed -msahf -msgx -msse -msse2 -msse3 -msse4.1 -msse4.2 -mssse3 -mtune=skylake -mxsave -mxsavec -mxsaveopt -mxsaves -Wl,-O1 -Wl,-z -Wl,defs -Wl,-soname -Wl,libmkv_p lugin.so -Wl,-retain-symbols-file -Wl,.libs/libmkv_plugin.exp -o .libs/libmkv_plugin.so demux/mkv/.libs/libmkv_plugin_la-matroska_segment.o: In function `matroska_segment_c::ParseSimpleTags(SimpleTag*, libmatroska::KaxTagSimple*, int)': matroska_segment.cpp:(.text+0x4a96): 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+0x1455): 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(l ibebml::EbmlElement*, void*)': matroska_segment_parse.cpp:(.text+0x1475): 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+0x2770): 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+0x2874): 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+0x2902): more undefined references to `libebml::EbmlString::operator std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > const&() const' follow collect2: error: ld returned 1 exit status Solution: rebuild of dev-libs/libebml
It happened on two of my systems.
Fixed by rebuild of dev-libs/libebml
*** This bug has been marked as a duplicate of bug 638244 ***