[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Libunwind-devel] tests/Gperf-trace.c does not compile on uCLibC
From: |
Konstantin Belousov |
Subject: |
Re: [Libunwind-devel] tests/Gperf-trace.c does not compile on uCLibC |
Date: |
Wed, 17 Aug 2011 16:47:22 +0300 |
User-agent: |
Mutt/1.4.2.3i |
On Wed, Aug 17, 2011 at 03:31:09PM +0200, Sven Neumann wrote:
> Hi,
>
> by default uCLibC does not include for the backtrace function (it can be
> enabled on some platforms though). Thus the Gperf-trace test in
> libunwind does not compile. I suggest that a configure check for
> backtrace() is added.
>
> I've tested this with libunwind-1.0-rc1.
backtrace(3) is only needed for tests, as you noted. libunwind already allows
the backtrace(3) to come from libexecinfo, this was done for FreeBSD
that also does not implement backtrace in libc. Requiring a library
for testing is reasonable, IMO.
pgpvvlrTtk17G.pgp
Description: PGP signature