Re: [libelftc] internal library or not?

From: Michael Zhilin <mizhka_at_freebsd.org>
Date: Mon, 21 Aug 2017 09:07:14 +0300
Thank you, David!

__cxa_demangle works fine [1] :)

Best regards,
  Michael.

[1]
https://github.com/z0nt/pstack/pull/2/commits/8f45f92c63d385cd523d67f6ccbc436c7669f9d3

On Tue, Aug 1, 2017 at 6:22 PM, David Chisnall <theraven_at_freebsd.org> wrote:

> On 1 Aug 2017, at 12:36, Michael Zhilin <mizhka_at_FreeBSD.org> wrote:
> >
> > Hi Ed, freebsd-current,
> >
> > I want to add C++ demangling into sysutils/pstack. In man pages I've
> found
> > eltfc_demangle, exact what I need. This function belongs to libelftc.
> "make
> > installworld" installs man pages and include files, but there is no
> > installed library. As results compilation error is occuried.
>
> Is pstack written in C++ or linking anything that is?  If so, you will get
> __cxa_demangle[1] provided by the C++ ABI library (libcxxrt on FreeBSD,
> which currently uses the libelftc implementation, though might switch
> soon).  If not, adding -lcxxrt will provide it.
>
> David
>
> [1] https://itanium-cxx-abi.github.io/cxx-abi/abi.html#demangler
Received on Mon Aug 21 2017 - 04:14:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:12 UTC