https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122729
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
use __cxa_demangle instead which is the C++ ABI support way of doing this.
libiberty is NOT installed by default except by some distros.
This is also not a libiberty bug either. if you include libiberty.h directly or
indirectly (in your case), you need to supply the HAVE_* defines as other
programs do.