[PATCH] Fix PR 51910, -frepo/linker demangling interaction

Sandra Loosemore sandra@codesourcery.com
Mon Jan 30 16:29:00 GMT 2012


On 01/30/2012 07:23 AM, Jakub Jelinek wrote:
> On Sun, Jan 29, 2012 at 05:08:10PM -0700, Sandra Loosemore wrote:
>> Bootstrapped and regression-tested on i636 linux.  OK to check in?
>
> I think that is terribly expensive fix, for larger projects a single
> ld invocation can take several minutes.  What exactly are advantages
> of using the linker demangling as opposed to collect2 doing the
> demangling as before?  Does it really justify penalizing -frepo
> that much?

collect2 doesn't know how to demangle linker map files, and our 
experience has been that users are more likely to want a map file than 
to use -frepo.

-Sandra



More information about the Gcc-patches mailing list