Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Phil Blundell <philb@gnu.org>
To: oe-core <openembedded-core@lists.openembedded.org>
Subject: [PATCH] libgcc: correct mode on libgcc_s.so.1 to ensure it gets stripped
Date: Wed, 20 Jul 2011 11:07:32 +0100	[thread overview]
Message-ID: <1311156453.30326.53.camel@phil-desktop> (raw)

If the library is installed without execute permission then package.bbclass
will not consider it for stripping.  This is particularly unfortunate because 
there seems to be a bug somewhere else which is causing all DSOs to end up with 
a NEEDED dependency on libgcc_s, even if they don't actually require it, and 
hence it is getting installed in all images (for uclibc on i586 at least).

Signed-off-by: Phil Blundell <philb@gnu.org>
---
 meta/recipes-devtools/gcc/libgcc_4.6.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-devtools/gcc/libgcc_4.6.bb b/meta/recipes-devtools/gcc/libgcc_4.6.bb
index e74be19..a53835f 100644
--- a/meta/recipes-devtools/gcc/libgcc_4.6.bb
+++ b/meta/recipes-devtools/gcc/libgcc_4.6.bb
@@ -1,6 +1,6 @@
 require gcc-${PV}.inc
 
-PR = "r0"
+PR = "r1"
 
 INHIBIT_DEFAULT_DEPS = "1"
 DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
@@ -41,6 +41,7 @@ do_install () {
 	fi
 
 	chown -R root:root ${D}
+	chmod +x ${D}${base_libdir}/libgcc_s.so.*
 }
 
 do_package_write_ipk[depends] += "virtual/libc:do_package"
-- 
1.7.4.1






             reply	other threads:[~2011-07-20 10:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-20 10:07 Phil Blundell [this message]
2011-07-20 14:33 ` [PATCH] libgcc: correct mode on libgcc_s.so.1 to ensure it gets stripped Richard Purdie

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=1311156453.30326.53.camel@phil-desktop \
    --to=philb@gnu.org \
    --cc=openembedded-core@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