Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] libgcc: correct mode on libgcc_s.so.1 to ensure it gets stripped
@ 2011-07-20 10:07 Phil Blundell
  2011-07-20 14:33 ` Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: Phil Blundell @ 2011-07-20 10:07 UTC (permalink / raw)
  To: oe-core

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






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] libgcc: correct mode on libgcc_s.so.1 to ensure it gets stripped
  2011-07-20 10:07 [PATCH] libgcc: correct mode on libgcc_s.so.1 to ensure it gets stripped Phil Blundell
@ 2011-07-20 14:33 ` Richard Purdie
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2011-07-20 14:33 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Wed, 2011-07-20 at 11:07 +0100, Phil Blundell wrote:
> 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>

Merged to master, thanks.

Richard




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-20 14:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-20 10:07 [PATCH] libgcc: correct mode on libgcc_s.so.1 to ensure it gets stripped Phil Blundell
2011-07-20 14:33 ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox