Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Julien <julien.news@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] Shared libraries permissions prevent stripping
Date: Mon, 27 May 2013 18:32:42 +0200	[thread overview]
Message-ID: <51A38AAA.6090504@free.fr> (raw)

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>

                 reply	other threads:[~2013-05-27 16:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=51A38AAA.6090504@free.fr \
    --to=julien.news@free.fr \
    --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