Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not compile pinba 1.2.0 with CXXFLAGS="-fno-rtti" #65

Open
landure opened this issue Aug 15, 2018 · 1 comment
Open

Can not compile pinba 1.2.0 with CXXFLAGS="-fno-rtti" #65

landure opened this issue Aug 15, 2018 · 1 comment

Comments

@landure
Copy link

landure commented Aug 15, 2018

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.

@spider4216
Copy link

the same problem... any news?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants