This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Where does the gcc_tg.o linked in tests come from?
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Brooks Moses <bmoses at google dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 27 Oct 2013 11:48:10 -0400 (EDT)
- Subject: Re: Where does the gcc_tg.o linked in tests come from?
- Authentication-results: sourceware.org; auth=none
- References: <CAOxa4KqeB3aoEk05SDr1mr83pLc2+pxLpZRizGxTkJ+FB6PL+g at mail dot gmail dot com>
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