[Buildroot] [PATCH 1/1] package/patchelf: Pull in upstream bugfixes

Thomas Petazzoni thomas.petazzoni at bootlin.com
Tue Oct 6 14:33:54 UTC 2020


On Mon,  5 Oct 2020 13:50:34 -0500
Conrad Ratschan <conrad.ratschan at rockwellcollins.com> wrote:

> On Buildroot 2020.02.6 when building iputils for powerpc with
> BR2_PIC_PIE enabled, the arping/rdisc/tftpd binaries will segfault at
> runtime. This can be traced back to a few bugs in patchelf corrupting
> the ELFs when resizing the RPATH to replace "$ORIGIN/" with "/usr/sbin".
> 
> This patch pulls in upstream fixes to prevent the binaries from being
> needlessly inflated, prevent the startPage from always being adjusted,
> fix a few minor bugs, and fix incorrect endianness handling.
> 
> Signed-off-by: Conrad Ratschan <conrad.ratschan at rockwellcollins.com>

So the idea of backporting all those changes for patchelf 0.9 instead
of bumping to patchelf 0.12 is to minimize the changes for Buildroot's
LTS 2020.02.x branch ?

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list