This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/51910] [4.7 Regression] -frepo linking failure


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

--- Comment #15 from Sandra Loosemore <sandra at codesourcery dot com> 2012-01-27 23:22:45 UTC ---
I've just dug around in the code a bit and I think we can fix this.  I don't
have a build tree to use for this set up at the moment, but roughly:  the loop
to attempt relinking after processing repo files is in do_tlink.  Move the
tlink_execute call at the bottom of the loop to the top and add --no-demangle. 
Add another tlink_execute call without --no-demangle after the end of the loop
(but still in the "if (read_repo_files ..." condition).

That means you'll do two extra link steps when processing repo files, but
incurs no extra overhead in the normal case.

I'll play with that over the weekend unless somebody points out that it's a
dumb idea that won't work.  :-P


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]