5.6.25 with tokudb, solaris 11.2, x86, sunpro 5.12
[ 87%] Building CXX object plugin/HandlerSocket-Plugin-for-MySQL/CMakeFiles/handlersocket.dir/handlersocket/database.cpp.o
cd /build/obj/plugin/HandlerSocket-Plugin-for-MySQL && /opt/solarisstudio12.3/bin/CC -Dhandlersocket_EXPORTS -DHAVE_RWLOCK_T -DDBUG_OFF -DHAVE_CONFIG_H -DPIC -DMYSQL_DYNAMIC_PLUGIN -fast -xchip=core2 -m64 -features=extensions -features=no%extinl -noex -features=no%rtti -xinline=%auto -library=sunperf -library=stlport4 -KPIC -I/build/obj/include -I/build/percona-server-5.6.25-73.1/plugin/HandlerSocket-Plugin-for-MySQL/libhsclient -I/build/percona-server-5.6.25-73.1/include -I/build/percona-server-5.6.25-73.1/sql -I/build/percona-server-5.6.25-73.1/regex -fno-rtti -fno-exceptions -fPIC -o CMakeFiles/handlersocket.dir/handlersocket/database.cpp.o -c /build/percona-server-5.6.25-73.1/plugin/HandlerSocket-Plugin-for-MySQL/handlersocket/database.cpp
CC: Warning: Option -fno-rtti passed to ld, if ld is invoked, ignored otherwise
CC: Warning: Option -fno-exceptions passed to ld, if ld is invoked, ignored otherwise
Unexpected flag 'no%rtti' for 'features'.
"/build/percona-server-5.6.25-73.1/plugin/HandlerSocket-Plugin-for-MySQL/handlersocket/database.hpp", line 75: Warning: Identifier expected instead of "}".
"/opt/solarisstudio12.3/prod/include/CC/stlport4/stl/_auto_ptr.h", line 75: Error: Could not find a match for std::__ptr_base::__set(volatile dena::database_i*) needed in std::auto_ptr<volatile dena::database_i>::auto_ptr(volatile dena::database_i*).
"/build/percona-server-5.6.25-73.1/plugin/HandlerSocket-Plugin-for-MySQL/handlersocket/database.cpp", line 218: Where: While instantiating "std::auto_ptr<volatile dena::database_i>::auto_ptr(volatile dena::database_i*)".
"/build/percona-server-5.6.25-73.1/plugin/HandlerSocket-Plugin-for-MySQL/handlersocket/database.cpp", line 218: Where: Instantiated from non-template code.
"/build/percona-server-5.6.25-73.1/plugin/HandlerSocket-Plugin-for-MySQL/handlersocket/database.cpp", line 1156: Warning: Identifier expected instead of "}".
1 Error(s) and 2 Warning(s) detected.
I was not able to hit this specific problem because of many others (like missing -lsocket etc). I hope to resolve them eventually...