All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Shared libraries permissions prevent stripping
@ 2013-05-27 16:32 Julien
  0 siblings, 0 replies; only message in thread
From: Julien @ 2013-05-27 16:32 UTC (permalink / raw)
  To: buildroot

Hello,

Some packages (at least acl, attr, bind, gettext and nettle) install 
shared libraries with permission 644. It prevents them to be stripped 
during final stage, command line is:
find [...]/output/target -type f -perm +111 -not \( -name 
'libpthread*.so*' \) -print | xargs 
[...]/output/host/usr/bin/[...]-strip --remove-section=.comment 
--remove-section=.note 2>/dev/null || true
(in /Makefile, STRIP_FIND_CMD += -type f -perm +111)

I suggest to patch packages Makefiles (or Makefiles.in) of these 
packages, here are the patches.

There is maybe better ways to handle this.

Regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: acl-makefile-libs-install-perms.patch
Type: text/x-patch
Size: 1037 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130527/715fbcfd/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: attr-makefile-libs-install-perms.patch
Type: text/x-patch
Size: 1037 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130527/715fbcfd/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-makefile-libs-install-perms.patch
Type: text/x-patch
Size: 2633 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130527/715fbcfd/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gettext-makefile-libs-install-perms.patch
Type: text/x-patch
Size: 1295 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130527/715fbcfd/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nettle-makefile-libs-install-perms.patch
Type: text/x-patch
Size: 944 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130527/715fbcfd/attachment-0004.bin>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-05-27 16:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-27 16:32 [Buildroot] Shared libraries permissions prevent stripping Julien

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.