[OE-core] [PATCH 2/5] valgrind: do not strip the package or ptests

Richard Purdie richard.purdie at linuxfoundation.org
Tue May 14 14:08:33 UTC 2019


On Mon, 2019-05-13 at 23:57 -0400, Randy MacLeod wrote:
> About half the ptests will fail if the executables deployed
> as part of the ptest package are stripped. Currently
> there is no easy way to only strip the main valgrind
> package so leave it and the ptests *all* unstripped.
> 
> There is an enhancement filed to enable wildcard stripping:
>    https://bugzilla.yoctoproject.org/show_bug.cgi?id=13343
> so this recipe can be fixed once that is implemented.
> 
> Signed-off-by: Randy MacLeod <Randy.MacLeod at windriver.com>
> ---
>  meta/recipes-devtools/valgrind/valgrind_3.15.0.bb | 4 ++++
>  1 file changed, 4 insertions(+)

I did test whether we could get away with a dependency on valgrind-dbg
as in theory that should behave the same way. It doesn't which means
the debug symbol linkage isn't being honoured by valgrind and that is
something we need to look into too :/.

I'm torn on whether to accept this patch or try and fix partial
stripping...

Cheers,

Richard



More information about the Openembedded-core mailing list