[OE-core] [PATCH oe-core] valgrind: add powerpc to the compatible host and add eglibc-dbg in rdepends

Paul Eggleton paul.eggleton at linux.intel.com
Wed Dec 28 10:18:40 UTC 2011


On Wednesday 28 December 2011 10:01:13 Luo Zhenhua-B19537 wrote:
> May I know what's the concern with eglibc instead of uclibc?

So my concern is, if you add a runtime dependency on eglibc-dbg to valgrind 
and you've selected uclibc instead, it will force installation of eglibc when 
you install valgrind (not to mention building it when you build valgrind); 
this is almost certainly not what you want.

If a dependency on the libc debug packages is really needed you could do 
something this instead:

RRECOMMENDS_${PN} += "${TCLIBC}-dbg"

(I suggest using RRECOMMENDS here rather than RDEPENDS in case here is no such 
debug package for the user's selected libc.)

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre




More information about the Openembedded-core mailing list