[oe] [RFC] -dbg for static libraries?

Denys Dmytriyenko denis at denix.org
Thu Sep 17 05:40:34 UTC 2009


As target binaries and libraries are now built with extra debugging symbols, 
some of the -dbg packages are very large. Unfortunately, -dbg packages only 
contain debug versions of executable binaries and shared libraries, but not 
static libraries, which go directly into -dev packages. That increases the 
size of sdk/toolchain tarballs, which include -dev packages, depending on the 
main packages, and end up with stripped shared libs, but bloated static libs.

I understand, that -dev packages are specifically for development and having 
full debugging symbols in a library might be helpful for that, but -dev 
packages don't usually depend on -dbg, and most toolchain-target tasks don't 
include them either, hence not providing debugging versions of shared libs in 
the sdk/toolchain.

Would it make sense to package stripped version of a static lib into -dev and 
the full version into corresponding -dbg?

-- 
Denys




More information about the Openembedded-devel mailing list