pinba_engine
pinba_engine copied to clipboard
Can not compile pinba 1.2.0 with CXXFLAGS="-fno-rtti"
OS: Debian 9.0 Stretch Mysql Version: MariaDB 10.1.26
Installation method (in french and command lines): Installer l'engine MySQL Pinba sur Debian
When configuring pinba 1.2.0, i use these options to prevent the _ZTI7handler error (known problem):
${source}/configure \
--with-mysql="${mysqlSource}" \
--with-judy \
--with-protobuf \
--with-event \
--libdir="${mysqlPluginPath}" \
CXXFLAGS="-fno-rtti"
When compiling, this error is thrown:
src/hashtable_test.cc:1996:45: error: cannot use typeid with -fno-rtti std::cout << "sizeof(" << typeid(TypeParam).name() << "): "
The error is fixed by removing "<< typeid(TypeParam.name()" in line 1996 of file sparsehash/src/hashtable_test.cc
This problem is major, since it prevent compilation when error _ZTI7handler is present on the system when -fno-rtti is not used.
the same problem... any news?