------- Comment #21 from vanboxem dot ruben at gmail dot com 2010-09-22 10:06 ------- What is the status of this problem? Having every project depending on MinGW(.org/-w64) toolchains modify their code is not an option. I see that the main problem is dllexported *inline* functions. Can Nathan's change be modified to only emit dllexported *non-inline* functions? I see no reason why that wouldn't work (and together with auto-import enabled in ld).
IMO this would a) fix the large object file size b) consequently fix ld out of memory issues c) work fine for old sources which expect old behavior because ld has auto-import enabled. This has been a long-standing issue, which needs a fix soon. PS: this bug should be marked as NEW and the affected host and target should be *-*-mingw*. Could someone who can change that, do that please? -- vanboxem dot ruben at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vanboxem dot ruben at gmail | |dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43601