public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/43601]  New: Enormous increase in DLL object files size in 4.5
@ 2010-03-31 12:31 vz-gcc at zeitlins dot org
  2010-03-31 21:48 ` [Bug c++/43601] " pinskia at gcc dot gnu dot org
                   ` (22 more replies)
  0 siblings, 23 replies; 64+ messages in thread
From: vz-gcc at zeitlins dot org @ 2010-03-31 12:31 UTC (permalink / raw)
  To: gcc-bugs

Hello,

 This is not necessarily a bug but I don't know about any other place to
discuss this so I'm reporting it here -- please let me know if I should post
somewhere else.

 Anyhow, there seems to be a big problem with building shared C++ libraries
using the typical

        class __attribute(dllexport) SomePublicClass
        {
        public:
                ... a lot of inline functions without dllexport ...

                ... and also a lot of non-inline functions ...
        };

pattern, wxWidgets being one particular example (but AFAIK there is really
nothing special about wxWidgets here). I've described the problem in details
in http://thread.gmane.org/gmane.comp.gnu.mingw.user/32435 but, basically,
the size of object files produced by mingw32 4.5 has been multiplied by 10
compared to mingw32 4.4 making linking them extremely time consuming and
plainly impossible on machines with modest amounts of RAM.

 This seems to be due to the following change in gcc itself (and not
mingw32): http://gcc.gnu.org/viewcvs?view=revision&revision=147799 and I'd
like to know if there is any way to undo its effect. For example, the reply
from Cesar Strauss in the thread above suggested using -fhide-inline-functions
option for this. IMHO ideal would be to revert to the old behaviour at
least until some better approach can be found but any solution would be
nicer than nothing.

 Thanks in advance,
VZ


-- 
           Summary: Enormous increase in DLL object files size in 4.5
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: vz-gcc at zeitlins dot org
  GCC host triplet: i686-pc-mingw32


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


^ permalink raw reply	[flat|nested] 64+ messages in thread
[parent not found: <bug-43601-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2011-06-08 14:28 UTC | newest]

Thread overview: 64+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-31 12:31 [Bug c++/43601] New: Enormous increase in DLL object files size in 4.5 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
     [not found] <bug-43601-4@http.gcc.gnu.org/bugzilla/>
2010-09-24 20:33 ` 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
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

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).