This is the mail archive of the gcc@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]

Re: Where does the gcc_tg.o linked in tests come from?


On Fri, 11 Oct 2013, Brooks Moses wrote:

> I'm trying to reproduce a test failure outside the Dejagnu testsuite,
> and I noticed that the file I'm trying to recompile is linked with a
> gcc_tg.o file.  Based on the missing-symbol errors I get when I don't
> include it, it seems to provide things like __wrap_main and so forth.
>
> Where on earth does this gcc_tg.o file come from?  I'm completely lost
> here -- I can't find any log that indicates it getting built,

It's actually a copy of gcc-testglue.o which is mentioned
including compile command in the .log and which you'll find
where you look for gcc_tg.o.  Why the rename is missing from the
log or why it's renamed, I don't know.  (Yeah for the name maybe
some 8+3 concern but then why not name it correctly in the first
place.)  I don't think anyone would mind if this was fixed...

brgds, H-P


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