Building without tcmalloc?

Description:

I recently noticed that some unit tests from python-qiskit fail due to crashes on symegine when it's compiled with tcmalloc. I created an issue upstream but it looks like a symengine bug (I will open an issue if I manage to create a simple example where it crashes symengine alone). I confirmed these qiskit crashes are avoided when building symengine with -DWITH_TCMALLOC=OFF.

I also noticed that upstream does not recommend using tcmalloc for distro packages and their official wheel packages in PyPI are distributed also without tcmalloc.

I think the only package from the repos that depends on symengine and python-symengine is python-sympy. If there is not a big impact in its performance (I will check running their benchmark tests), would it be possible to disable tcmalloc in the official package? Or is there another reasons to build with tcmalloc that I'm not aware of?