Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 584084 - app-emulation/vmware-player does not start due to cxx11 ABI of dev-cpp/glibmm
Summary: app-emulation/vmware-player does not start due to cxx11 ABI of dev-cpp/glibmm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL: https://communities.vmware.com/thread...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-25 09:35 UTC by Dmitriy Dyomin
Modified: 2016-05-25 14:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge_info.txt,5.42 KB, text/plain)
2016-05-25 09:35 UTC, Dmitriy Dyomin
Details
vmware-player log file (vmware-apploader-2475.log,6.00 KB, text/plain)
2016-05-25 12:36 UTC, Dmitriy Dyomin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitriy Dyomin 2016-05-25 09:35:52 UTC
Created attachment 435334 [details]
emerge --info

I've trying to launch app-emulation/vmware-player-12.1.0.3272444-r2 and it just silently exits. I've successfully did emerge --config app-emulation/vmware-player, required modules are loaded and vmware service is running.

After the unsuccessful launch I get the log file attached. The following line is a suspect:

Unable to load libvmwareui.so from /opt/vmware/lib/vmware/lib/libvmwareui.so/libvmwareui.so: /opt/vmware/lib/vmware/lib/libvmwareui.so/libvmwareui.so: undefined symbol: _ZN4Glib10spawn_syncERKSsRKNS_11ArrayHandleISsNS_17Container_Helpers10TypeTraitsISsEEEENS_10SpawnFlagsERKN4sigc4slotIvNSA_3nilESC_SC_SC_SC_SC_SC_EEPSsSG_Pi

This symbol is demangled with objdump -TC /opt/vmware/lib/vmware/lib/libvmwareui.so/libvmwareui.so to Glib::spawn_sync(std::string const&, Glib::ArrayHandle<std::string, Glib::Container_Helpers::TypeTraits<std::string> > const&, Glib::SpawnFlags, sigc::slot<void, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> const&, std::string*, std::string*, int*)

I've inspected the /usr/lib64/libglibmm-2.4.so.1.3.0 binary (dev-cpp/glibmm-2.46.3 package) and found Glib::spawn_sync(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Glib::ArrayHandle<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, Glib::Container_Helpers::TypeTraits<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, Glib::SpawnFlags, sigc::slot<void, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, int*)

Of course, I'm using gcc 5 (gcc-config -c gives me x86_64-pc-linux-gnu-5.3.0)

So I assume that at least dev-cpp/glibmm should be compiled using old CXX ABI?
Comment 1 Fabio Rossi 2016-05-25 12:17:21 UTC
Did you use USE=+bundled-libs ?
Comment 2 Dmitriy Dyomin 2016-05-25 12:34:52 UTC
Actually, using bundled libs solves this problem (I guess they were built using gcc 4.xx).

Failing vmware-player was built with USE="-bundled-libs"
Comment 3 Dmitriy Dyomin 2016-05-25 12:36:53 UTC
Created attachment 435340 [details]
vmware-player log file
Comment 4 Fabio Rossi 2016-05-25 13:14:04 UTC
(In reply to Dmitriy Dyomin from comment #2)
> Actually, using bundled libs solves this problem (I guess they were built
> using gcc 4.xx).
> 
> Failing vmware-player was built with USE="-bundled-libs"

Ok, so that is a well known problem. There is a notice at the end of the emerge process saying to use +bundled-libs with gcc5
Comment 5 Dmitriy Dyomin 2016-05-25 14:20:40 UTC
oops, sorry, did not notice this message about "You MUST set USE=bundled-libs..." after package installation.