[libelftc] internal library or not?
    David Chisnall 
    theraven at FreeBSD.org
       
    Tue Aug  1 15:22:43 UTC 2017
    
    
  
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
    
    
More information about the freebsd-current
mailing list