From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] On strip and debugging symbols
Date: Wed, 23 Jun 2010 09:40:48 +0200 [thread overview]
Message-ID: <874ogu6vsv.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <20100623091224.266d1030@surf> (Thomas Petazzoni's message of "Wed, 23 Jun 2010 09:12:24 +0200")
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Hi,
Thomas> Therefore, I'd propose to add two options (which would replace the
Thomas> existing ENABLE_DEBUG knob) :
Thomas> * ENABLE_DEBUG_IN_STAGING, which is enabled by default, and has the
Thomas> effect of building all packages with '-g', and installing them
Thomas> unstripped in $(STAGING_DIR). All *packages* would be installed in
Thomas> STAGING, be there libraries or end-user applications, so we could
Thomas> get rid of the <pkg>_INSTALL_STAGING and <pkg>_INSTALL_TARGET knobs.
Thomas> Having the debugging symbols in $(STAGING_DIR) allows to use remote
Thomas> debugging correctly.
As mentioned before, the problem with this is that people have
historically expected that they can just export
PATH=path/to/staging/usr/bin:$PATH and use the cross compiler outside
buildroot. If you start installing target binaries into staging/usr/bin
then this would break horrible.
(Yes, I know people should atleast append it to the path (export
PATH=$PATH:path/to/staging/usr/bin), but people will forget and it used
to work.
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2010-06-23 7:40 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-21 23:25 [Buildroot] sdl demo app install problem H Hartley Sweeten
2010-06-21 23:32 ` Peter Hüwe
2010-06-21 23:41 ` H Hartley Sweeten
2010-06-21 23:47 ` Peter Hüwe
2010-06-21 23:59 ` H Hartley Sweeten
2010-06-22 1:05 ` H Hartley Sweeten
2010-06-22 1:18 ` Peter Hüwe
2010-06-22 6:54 ` Thomas Petazzoni
2010-06-22 14:41 ` Peter Korsgaard
2010-06-22 15:39 ` H Hartley Sweeten
2010-06-22 20:32 ` Peter Korsgaard
2010-06-23 7:12 ` [Buildroot] On strip and debugging symbols Thomas Petazzoni
2010-06-23 7:40 ` Peter Korsgaard [this message]
2010-06-23 8:46 ` Thomas Petazzoni
2010-06-23 9:36 ` Peter Korsgaard
2010-06-23 9:51 ` Thomas Petazzoni
2010-06-23 10:02 ` Peter Korsgaard
2010-06-23 11:12 ` Thomas Petazzoni
2010-06-23 11:24 ` Peter Korsgaard
2010-06-23 9:47 ` William Wagner
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=874ogu6vsv.fsf@macbook.be.48ers.dk \
--to=jacmet@uclibc.org \
--cc=buildroot@busybox.net \
/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