http://bugs.winehq.org/show_bug.cgi?id=31501
Bug #: 31501 Summary: Wine binaries have become substantially bigger in Wine 1.5.11 Product: Wine Version: 1.5.11 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: t.artem@mailcity.com Classification: Unclassified
To give you an idea:
Wine 1.5.10:
-rwxr-xr-x 1 root root 1177178 Aug 1 01:43 actxprxy.dll.so
Wine 1.5.11:
-rwxr-xr-x 1 root root 2742982 Aug 19 12:43 actxprxy.dll.so (133% increase in size)
I use the same compiler (GCC 4.5.4) and compilation flags (-m32 -march=native -O2)
Wine 1.5.10 lib directory weighs ~100MB Wine 1.5.11 lib directory weighs ~196MB
that's two times increase!
http://bugs.winehq.org/show_bug.cgi?id=31501
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=31501
--- Comment #1 from Artem S. Tashkinov t.artem@mailcity.com 2012-08-19 02:03:12 CDT --- That's what causes the increase:
configure.ac
+ WINE_TRY_CFLAGS([-gdwarf-2]) + WINE_TRY_CFLAGS([-gstrict-dwarf])
I wonder if users by default should have their binaries built with debugging enabled - most of them won't debug Wine and even without -gdwarf-2 GCC compiles in enough information to produce usable debugging information.
http://bugs.winehq.org/show_bug.cgi?id=31501
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani@redhat.com Regression SHA1| |3f1dbaf3df0ae8ec2f0e86191ea | |e3879fc422e2d
http://bugs.winehq.org/show_bug.cgi?id=31501
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |build-env
--- Comment #2 from Austin English austinenglish@gmail.com 2012-08-21 13:53:01 CDT --- Typical users aren't compiling Wine themselves. Most packagers have debugging symbols in a separate package.
-O2 -g has been the default for a while, AFAICT, so debugging symbols are already the default, for self-compiled Wine.
http://bugs.winehq.org/show_bug.cgi?id=31501
--- Comment #3 from Henri Verbeet hverbeet@gmail.com 2012-08-21 14:01:55 CDT --- (In reply to comment #2)
-O2 -g has been the default for a while, AFAICT, so debugging symbols are already the default, for self-compiled Wine.
Yes, but this does make it a bit harder to override that default.
http://bugs.winehq.org/show_bug.cgi?id=31501
--- Comment #4 from Artem S. Tashkinov t.artem@mailcity.com 2012-08-21 14:32:41 CDT --- (In reply to comment #2)
Typical users aren't compiling Wine themselves. Most packagers have debugging symbols in a separate package.
-O2 -g has been the default for a while, AFAICT, so debugging symbols are already the default, for self-compiled Wine.
A lot of people around me do compile Wine because distros are usually days, sometimes _weeks_ behind official wine releases.
Please, make it an option - I guess it's just a question of adding two or three lines of code into the configure script, something like
--disable-dwarf2-debug
http://bugs.winehq.org/show_bug.cgi?id=31501
--- Comment #5 from Artem S. Tashkinov t.artem@mailcity.com 2012-08-21 16:48:53 CDT --- Created attachment 41445 --> http://bugs.winehq.org/attachment.cgi?id=41445 a lame attempt to make this feature configurable
http://bugs.winehq.org/show_bug.cgi?id=31501
--- Comment #6 from Austin English austinenglish@gmail.com 2012-08-21 18:09:02 CDT --- I was already writing a similar patch :)
sent: http://source.winehq.org/patches/data/89251
http://bugs.winehq.org/show_bug.cgi?id=31501
Eric Pouech eric.pouech@orange.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.pouech@orange.fr
--- Comment #7 from Eric Pouech eric.pouech@orange.fr 2012-08-22 01:50:08 CDT --- in reply to #6, you should also test that -g is an option in CFLAGS before forcing -gdwarf2 or -gstrict-dwarf A+
http://bugs.winehq.org/show_bug.cgi?id=31501
--- Comment #8 from Austin English austinenglish@gmail.com 2012-08-22 13:27:48 CDT --- (In reply to comment #7)
in reply to #6, you should also test that -g is an option in CFLAGS before forcing -gdwarf2 or -gstrict-dwarf A+
-g is enforced by autoconf, AFAICT.
-gdwarf-2 / -gstrict-dwarf are only forced if the compiler supports it, using the WINE_TRY_CFLAGS macro. I think it's highly unlikely that there is a compiler that supports -gdwarf-2 or -gstrict-dwarf but not -g.
http://bugs.winehq.org/show_bug.cgi?id=31501
--- Comment #9 from Austin English austinenglish@gmail.com 2012-08-23 15:31:06 CDT --- http://source.winehq.org/git/wine.git/commitdiff/ce48e2c8ab4537fb57e4416d03f...
http://bugs.winehq.org/show_bug.cgi?id=31501
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |UPSTREAM
--- Comment #10 from Artem S. Tashkinov t.artem@mailcity.com 2012-08-23 17:09:34 CDT --- (In reply to comment #9)
http://source.winehq.org/git/wine.git/commitdiff/ce48e2c8ab4537fb57e4416d03f...
Thank you!
http://bugs.winehq.org/show_bug.cgi?id=31501
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|UPSTREAM |FIXED
--- Comment #11 from Michael Stefaniuc mstefani@redhat.com 2012-08-23 18:07:19 CDT --- We just use RESOLVED - FIXED. It will be automatically CLOSED - FIXED when 1.5.12 is released.
http://bugs.winehq.org/show_bug.cgi?id=31501
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |ce48e2c8ab4537fb57e4416d03f | |6fdd0685262b8
http://bugs.winehq.org/show_bug.cgi?id=31501
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org 2012-08-31 12:57:17 CDT --- Closing bugs fixed in 1.5.12.