public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "davek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/43601] Enormous increase in DLL object files size in 4.5
Date: Thu, 21 Apr 2011 00:42:00 -0000	[thread overview]
Message-ID: <bug-43601-4-X0LLT9lG5h@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-43601-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43601

--- Comment #61 from Dave Korn <davek at gcc dot gnu.org> 2011-04-21 00:40:17 UTC ---
(In reply to comment #59)

> I review the patch, and found that we can add "-fno-keep-inline-dllexport" to
> the compiler option, and then, the compiler and linker stage works well. But
> the wxWidgets release mono dll's size is so large.(about 17M)

In newer versions of GCC there is also a lot more debug info and Dwarf-2
exception table data that didn't used to be there.  Stripping the dll and/or
building a compiler with SJLJ rather than dwarf exceptions might help, although
SJLJ trades off executable size for slower runtime.  (Badly; dwarf exceptions
only take CPU time when one is actually thrown, whereas SJLJ exceptions take
CPU time every time you enter or exit a try block.  Since exceptions are meant
to be exceptional conditions that only happen occasionally, this tradeoff is
probably worthwhile on desktop platforms where memory is not in short supply,
but SJLJ might still be better on embedded platforms where memory is so
critical that slower runtime performance might be the preferable option.)


  parent reply	other threads:[~2011-04-21  0:42 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-43601-4@http.gcc.gnu.org/bugzilla/>
2010-09-24  4:33 ` [Bug 43601] (c++) " cestrauss at gmail dot com
2010-09-24  5:37 ` davek at gcc dot gnu.org
2010-09-24 20:33 ` [Bug c++/43601] " silver24k at gmail dot com
2010-09-25  6:31 ` cestrauss at gmail dot com
2010-09-26  7:49 ` cestrauss at gmail dot com
2010-09-27  9:41 ` vz-gcc at zeitlins dot org
2010-09-28 11:55 ` LpSolit at netscape dot net
2010-09-28 12:13 ` vz-gcc at zeitlins dot org
2010-09-28 12:23 ` cestrauss at gmail dot com
2010-10-14 12:19 ` loaden at gmail dot com
2010-10-14 15:10 ` pinskia at gcc dot gnu.org
2010-10-14 15:25 ` vz-gcc at zeitlins dot org
2010-10-14 15:38 ` davek at gcc dot gnu.org
2010-10-14 15:44 ` vz-gcc at zeitlins dot org
2010-10-14 15:45 ` vz-gcc at zeitlins dot org
2010-10-14 15:46 ` vz-gcc at zeitlins dot org
2010-10-14 15:48 ` vz-gcc at zeitlins dot org
2010-10-14 15:51 ` davek at gcc dot gnu.org
2010-10-14 16:01 ` vz-gcc at zeitlins dot org
2010-10-14 16:02 ` vz-gcc at zeitlins dot org
2010-10-14 16:06 ` vz-gcc at zeitlins dot org
2010-10-14 16:12 ` vz-gcc at zeitlins dot org
2010-10-14 17:09 ` vz-gcc at zeitlins dot org
2010-10-14 17:13 ` pinskia at gcc dot gnu.org
2010-10-14 17:30 ` vz-gcc at zeitlins dot org
2011-01-09 17:31 ` davek at gcc dot gnu.org
2011-01-09 17:45 ` davek at gcc dot gnu.org
2011-01-10  0:21 ` loaden at gmail dot com
2011-01-21  5:52 ` davek at gcc dot gnu.org
2011-01-26  4:46 ` davek at gcc dot gnu.org
2011-03-16  6:26 ` xunxun1982 at gmail dot com
2011-03-16  7:33 ` xunxun1982 at gmail dot com
2011-04-06  6:35 ` dongsheng.song at gmail dot com
2011-04-07 15:15 ` davek at gcc dot gnu.org
2011-04-07 15:54 ` dongsheng.song at gmail dot com
2011-04-10  4:36 ` dongsheng.song at gmail dot com
2011-04-17 11:09 ` xunxun1982 at gmail dot com
2011-04-18  3:52 ` dongsheng.song at gmail dot com
2011-04-21  0:42 ` davek at gcc dot gnu.org [this message]
2011-04-21  1:29 ` xunxun1982 at gmail dot com
2011-04-21 14:07 ` vz-gcc at zeitlins dot org
2011-06-08 14:28 ` xunxun1982 at gmail dot com
2010-03-31 12:31 [Bug c++/43601] New: " vz-gcc at zeitlins dot org
2010-03-31 21:48 ` [Bug c++/43601] " pinskia at gcc dot gnu dot org
2010-03-31 22:05 ` vz-gcc at zeitlins dot org
2010-03-31 22:11 ` pinskia at gcc dot gnu dot org
2010-03-31 22:12 ` pinskia at gcc dot gnu dot org
2010-03-31 22:25 ` vz-gcc at zeitlins dot org
2010-03-31 22:32 ` pinskia at gcc dot gnu dot org
2010-03-31 22:36 ` vz-gcc at zeitlins dot org
2010-04-02 11:37 ` bangerth at gmail dot com
2010-04-03 17:16 ` vz-gcc at zeitlins dot org
2010-04-03 17:25 ` pinskia at gcc dot gnu dot org
2010-04-03 17:46 ` vz-gcc at zeitlins dot org
2010-04-03 18:17 ` vz-gcc at zeitlins dot org
2010-04-04  8:21 ` dannysmith at users dot sourceforge dot net
2010-04-23  0:05 ` tdragon at tdragon dot net
2010-05-03 11:12 ` loaden at gmail dot com
2010-05-15  6:01 ` a14331990 at hotmail dot com
2010-05-15  9:29 ` a14331990 at hotmail dot com
2010-05-15  9:31 ` a14331990 at hotmail dot com
2010-05-15 11:53 ` stahta01 at students dot ipfw dot edu
2010-05-15 13:25 ` a14331990 at hotmail dot com
2010-09-22 10:07 ` vanboxem dot ruben at gmail dot com
2010-09-23  3:56 ` davek at gcc dot gnu dot org
2010-09-23  4:08 ` davek at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-43601-4-X0LLT9lG5h@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).