FS#58346 - [pacman] [file] changes in file-5.33 cause PIE binaries to not be stripped by makepkg
Attached to Project:
Arch Linux
Opened by Jeb Rosen (jebrosen) - Wednesday, 25 April 2018, 05:52 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 25 April 2018, 06:02 GMT
Opened by Jeb Rosen (jebrosen) - Wednesday, 25 April 2018, 05:52 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 25 April 2018, 06:02 GMT
|
Details
file-5.33-1 (in testing) adds additional support for PIE
binaries. Their mimetype as reported by `file -bi` is
now:
application/x-pie-executable; charset=binary file-5.32-1 (in core) reported them as: application/x-sharedlib; charset=binary makepkg uses `file -bi` (/usr/share/makepkg/tidy/strip.sh:114) to determine whether to strip files and what flags to apply, but does not account for x-pie-executable. The end result is that PIE binaries are no longer stripped, dramatically inflating built package sizes. |
This task depends upon
Closed by Doug Newgard (Scimmia)
Wednesday, 25 April 2018, 06:02 GMT
Reason for closing: Not a bug
Additional comments about closing: This was fixed nearly 5 days ago
Wednesday, 25 April 2018, 06:02 GMT
Reason for closing: Not a bug
Additional comments about closing: This was fixed nearly 5 days ago