On Wed, 2011-08-17 at 16:47 +0300, Konstantin Belousov wrote: > 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.
Then perhaps the easiest solution is to add a configure option to skip all tests. That would allow building on platforms where the tests don't compile easily. Sven _______________________________________________ Libunwind-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/libunwind-devel
