[Rpm-maint] [PATCH] find-debuginfo.sh: Handle application/x-pie-executable (file 5.33 output).

Panu Matilainen pmatilai at redhat.com
Wed May 30 11:48:01 UTC 2018


On 05/30/2018 11:58 AM, Mark Wielaard wrote:
> On Tue, 2018-05-22 at 22:20 +0200, Mark Wielaard wrote:
>> A new version of file (5.33) changed the output for PIE executables.
>> Which are now represented as application/x-pie-executable;
>> charset=binary.
>>
>> The following change simply recognizes that binary format as one for
>> which -g applies. This fixes accidental stripping of the .symtab in
>> glibc (which use -g to keep that symbol table).
>>
>> https://bugzilla.redhat.com/show_bug.cgi?id=1581224
> 
> Ping. Fedora has since backed out the upstream change to file which
> caused this. But the patch is still useful/necessary when using a
> newer/upstream file.

Sorry, I was on vacation and still recovering from inbox flood. Applied 
now, thanks for the patch!

	- Panu -



More information about the Rpm-maint mailing list