patchelf and bloat due to "warning: working around a Linux kernel bug by creating a hole of ..."

Bug #1888175 reported by Jeffrey Walton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
patchelf (Ubuntu)
New
Undecided
Unassigned

Bug Description

I'm working on Ubuntu 18.04 x86_64 fully patched. I'm trying to use patchelf to fix runpaths in Perl built from sources. Perl is mishandling runpath options in LDFLAGS but refuses to fix it; see https://github.com/Perl/perl5/issues/17534.

When patchelf runs I see a lot of:

/home/jwalton/perl-5.32.0/fix-pkgconfig.exe
warning: working around a Linux kernel bug by creating a hole of 2072576 bytes in ‘/home/jwalton/perl-5.32.0/fix-pkgconfig.exe’
/home/jwalton/perl-5.32.0/generate_uudmap
warning: working around a Linux kernel bug by creating a hole of 2088960 bytes in ‘/home/jwalton/perl-5.32.0/generate_uudmap’
...

I believe patchelf needs this commit: https://github.com/NixOS/patchelf/commit/c4deb5e9.

Also see https://bugzilla.redhat.com/show_bug.cgi?id=1497012.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.