[Buildroot] [PATCH 1/1] patchelf: Add patch to fix relative rpath issue on PPC

Thomas Petazzoni thomas.petazzoni at bootlin.com
Tue Jun 26 20:04:47 UTC 2018


Hello,

On Mon, 25 Jun 2018 16:44:07 -0500, Bryce Ferguson wrote:
> This commit adds a patch to the host package patchelf to fix an
> issue with endianness when the --make-rpath-relative option is
> specified. Currently, patchelf does not take into account the
> architecture of the target ELF when it performs the fixup on the
> RPATH. Thus, if it differs from the host in endianness, the RUNPATH
> field will be invalid. The patch fixes the bug reported here:
> 
> https://bugs.busybox.net/show_bug.cgi?id=11101
> 
> Signed-off-by: Bryce Ferguson <bryce.ferguson at rockwellcollins.com>
> ---
>  ...LF-endianness-before-writing-new-run.patch | 40 +++++++++++++++++++
>  1 file changed, 40 insertions(+)
>  create mode 100644 package/patchelf/0004-patchelf-Check-ELF-endianness-before-writing-new-run.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list