https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113258
--- Comment #16 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note multiple copies of the libstdc++ will not fix the issue here since libtcmalloc provides a free which does not work with aligned_alloc. In fact it would just fall over the same way. As I mentioned libtcmalloc is not even compatible with C11. aligned_alloc was around for a few years even.