[oe] [RFC] package.bbclass and aggressive library stripping

Denys Dmytriyenko denis at denix.org
Fri Feb 12 18:14:42 UTC 2010


On Fri, Feb 12, 2010 at 05:54:34PM +0100, Koen Kooi wrote:
> On 12-02-10 16:47, Josh Mahonin wrote:
> > Hi all,
> > 
> > I was attempting to use GDB on an OE build, but was given various
> > warnings about threads being disabled.  I've traced the problem to
> > package.bbclass stripping out necessary symbols in 'libpthread.so.0',
> > referenced as section 6 in http://sourceware.org/gdb/wiki/FAQ
> > 
> > I'm admittedly using an out of date OE checkout, but the problem still
> > appears to be present in trunk as well.  Is it better to create a
> > special case in package.bbclass just for libpthread, or should a
> > blacklist be created for other potentially affected libraries as well?
> 
> Installed the appropriate -dbg package works for me

In other words - all the debug symbols are in the corresponding -dbg packages. 
The main packages are stripped to save space on the target - so there is no 
real need to do separate release/debug builds.

-- 
Denys




More information about the Openembedded-devel mailing list