[Buildroot] [PATCH] leaktracer: New package
thomas.petazzoni at free-electrons.com
Sun Jul 24 21:49:32 UTC 2016
On Wed, 6 Jul 2016 23:35:24 +0200, Romain Naour wrote:
> > diff --git a/package/leaktracer/Config.in b/package/leaktracer/Config.in
> > new file mode 100644
> > index 0000000..18c07a7
> > --- /dev/null
> > +++ b/package/leaktracer/Config.in
> > @@ -0,0 +1,8 @@
> > +config BR2_PACKAGE_LEAKTRACER
> > + bool "leaktracer"
> leaktracer must depends on !musl and !uClibc-ng since it use execinfo.h
> libleaktracer/include/MemoryTrace.hpp:25:22: fatal error: execinfo.h: No such
> file or directory
> #include <execinfo.h>
Or alternatively (better), make sure that the Makefile does not pass
-DUSE_BACKTRACE. Indeed, it is already planned in the leaktracer source
code to support systems with <execinfo.h>. Maybe a simple patch to the
Makefile would allow passing a make variable to disable backtrace usage.
Maxime, can you look into this and respin a new version of this patch?
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
More information about the buildroot