From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v5 3/5] Makefile: add TARGET_SANITIZE_RPATH_HOOK to TARGET_FINALIZE_HOOKS
Date: Tue, 14 Jul 2015 08:37:58 +0300 [thread overview]
Message-ID: <20150714053758.GX2451@tarshish> (raw)
In-Reply-To: <1436824511-1601-3-git-send-email-s.martin49@gmail.com>
Hi Samuel,
On Mon, Jul 13, 2015 at 11:55:09PM +0200, Samuel Martin wrote:
> This patch introduces the TARGET_SANITIZE_RPATH_HOOK hook fixing the ELF
> files' RPATH of the TARGET_DIR (excluding the sysroot).
Are you sure sysroot is excluded?
> After running this hook, the RPATH from any target ELF files won't
> contain any occurence of the sysroot or some build locations.
>
> Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Tested-by: Baruch Siach <baruch@tkos.co.il>
[ Build test only: verified that /sbin/ebtables preserves its RPATH
(/lib/ebtables), and that /usr/sbin/visudo also preserves its target RPATH
(/usr/libexec/sudo), while dropping the staging part ($(@D)/lib/util/.libs)
]
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
next prev parent reply other threads:[~2015-07-14 5:37 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-13 21:55 [Buildroot] [PATCH v5 1/5] support/scripts: add fix_rpaths Samuel Martin
2015-07-13 21:55 ` [Buildroot] [PATCH v5 2/5] Makefile: add HOST_FIX_RPATH_HOOK to TARGET_FINALIZE_HOOKS Samuel Martin
2016-01-06 17:18 ` [Buildroot] [v5, " Sam Thursfield
2016-01-06 17:31 ` Yann E. MORIN
2015-07-13 21:55 ` [Buildroot] [PATCH v5 3/5] Makefile: add TARGET_SANITIZE_RPATH_HOOK " Samuel Martin
2015-07-14 5:37 ` Baruch Siach [this message]
2015-07-14 8:28 ` Samuel Martin
2015-07-13 21:55 ` [Buildroot] [PATCH v5 4/5] Makefile: staging symlink uses a relative path Samuel Martin
2015-07-13 21:55 ` [Buildroot] [PATCH v5 5/5] package/speex: remove no longer needed hook Samuel Martin
2015-07-14 4:28 ` Baruch Siach
2016-01-06 17:17 ` [Buildroot] [v5,1/5] support/scripts: add fix_rpaths Sam Thursfield
2016-01-06 17:35 ` Yann E. MORIN
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=20150714053758.GX2451@tarshish \
--to=baruch@tkos.co.il \
--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