Date: Tue, 1 Aug 2017 16:22:33 +0100 From: David Chisnall <theraven@FreeBSD.org> To: Michael Zhilin <mizhka@FreeBSD.org> Cc: Ed Maste <emaste@freebsd.org>, freebsd-current@freebsd.org Subject: Re: [libelftc] internal library or not? Message-ID: <5EB2EB33-9701-469B-B953-4161DD3F2D99@FreeBSD.org> In-Reply-To: <CAF19XBKZEEeS2B6qhZHuVO9eRo4TCKSiUso__LHdf6aMfU5ikw@mail.gmail.com> References: <CAF19XBKZEEeS2B6qhZHuVO9eRo4TCKSiUso__LHdf6aMfU5ikw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1 Aug 2017, at 12:36, Michael Zhilin <mizhka@FreeBSD.org> wrote: >=20 > Hi Ed, freebsd-current, >=20 > 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=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5EB2EB33-9701-469B-B953-4161DD3F2D99>