Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denis@denix.org>
To: openembedded-devel@lists.openembedded.org
Subject: [RFC] -dbg for static libraries?
Date: Thu, 17 Sep 2009 01:40:34 -0400	[thread overview]
Message-ID: <20090917054034.GB5465@denix.org> (raw)

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



             reply	other threads:[~2009-09-17  5:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-17  5:40 Denys Dmytriyenko [this message]
2009-09-17  9:46 ` [RFC] -dbg for static libraries? Koen Kooi
2009-09-17 12:16   ` Stanislav Brabec
2009-09-17 12:01 ` Phil Blundell
2009-09-19 21:48   ` GNUtoo
2009-09-20  7:13     ` Phil Blundell
2009-09-20 11:45       ` GNUtoo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090917054034.GB5465@denix.org \
    --to=denis@denix.org \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox