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

Khem Raj raj.khem at gmail.com
Mon May 20 20:52:54 UTC 2019



On 5/14/19 7:08 AM, Richard Purdie wrote:
> 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...

we need PN-syms and PN-dbg and then we can add rdep on PN-syms alone
but sadly thats another hump to climb.

> 
> Cheers,
> 
> Richard
> 


More information about the Openembedded-core mailing list