Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#68007 - [wine] Consider stripping the PE binaries

Attached to Project: Community Packages
Opened by Emil (xexaxo) - Saturday, 26 September 2020, 15:21 GMT
Last edited by Felix Yan (felixonmars) - Monday, 28 September 2020, 11:26 GMT
Task Type Bug Report
Category Packages: Multilib
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

With the transition to PE build (5.14-2) we're using mingw-w64-gcc to build many of the EXE/DLLs shipped.
The explicit strip stage is missing (as per the guidelines [1]), thus the package size has effectively tripled.

Note: The package still has ELF files, so the "always add !strip, ... to options" hunk is not applicable.

[1] https://wiki.archlinux.org/index.php/MinGW_package_guidelines

Additional info:
* package version(s)
5.18-1, but also applicable back to 5.14-2


Steps to reproduce:
- pick a random PE DLL check it with ls/file
- strip as instructed in the wiki


Example numbers from: 5.18-1

ls -lah /usr/lib/wine/ntdll.dll
before: 3.4M
after: 593K

file /usr/lib/wine/ntdll.dll
before: PE32+ executable (DLL) (console) x86-64, for MS Windows
after: PE32+ executable (DLL) (console) x86-64 (stripped to external PDB), for MS Windows
This task depends upon

Closed by  Felix Yan (felixonmars)
Monday, 28 September 2020, 11:26 GMT
Reason for closing:  Implemented
Additional comments about closing:  wine 5.18-2
wine-staging 5.18-1

Loading...