Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] uclibc: build uclibc unstripped by default
Date: Sun, 12 Oct 2014 16:15:38 +0200	[thread overview]
Message-ID: <87k345xtkl.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <1413119739-4977-1-git-send-email-abrodkin@synopsys.com> (Alexey Brodkin's message of "Sun, 12 Oct 2014 15:15:39 +0200")

>>>>> "Alexey" == Alexey Brodkin <alexey.brodkin@gmail.com> writes:

 > uClibc could be build stripped (implemented as link-time option in uClibc).
 > This could be useful for those who build root fs manually.

 > In Buildroot there's it's own strip stage wich strips most of shared libs
 > in "target" folder (well except kernel modules known to not work properly being
 > stripped and libpthread required to be non-stripped for correct debugging with
 > gdb of multi-threaded apps).

 > So there're few problems with current implementation:
 >  1. uClibc is being stripped 2 times (first on its build stage, second on
 >     global Buildroot strip stage)
 >  2. uClibc libs in "staging" folder are also always stripped except if
 >     "no strip" (BR2_STRIP_none) is explicitly is selected in Buildroot config.
 >     That makes it possible to remote debug uClibc libs on target only if target
 >     rootfs was not stripped (which might not be possible due to huge libs
 >     like Qt)

 > This patch disables embedded strip in uClibc (still users may modify uClibc
 > config and explicitly set "DOSTRIP=yes" if really needed).

 > Interesting that DOSTRIP was not only selected in uClibc config but also was
 > force set with Buildroot on uClibc configuration step with UCLIBC_STRIP_CONFIG.

 > Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>

 > Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
 > Cc: Peter Korsgaard <peter@korsgaard.com>
 > Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
 > Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
 > Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
 > Cc: Waldemar Brodkorb <wbx@openadk.org>

Committed, thanks.

-- 
Venlig hilsen,
Peter Korsgaard 

      parent reply	other threads:[~2014-10-12 14:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-12 13:15 [Buildroot] [PATCH] uclibc: build uclibc unstripped by default Alexey Brodkin
2014-10-12 13:24 ` Thomas Petazzoni
2014-10-12 14:15 ` Peter Korsgaard [this message]

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=87k345xtkl.fsf@dell.be.48ers.dk \
    --to=peter@korsgaard.com \
    --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