temp preprocessed filename

Michael Morrell morrell@alumni.ucsd.edu
Sun Feb 28 21:34:00 GMT 2010


Thanks for the hint.  I am using ccache.  Perhaps that makes it a ccache issue and not appropriate for this list?

  Michael

--- On Sat, 2/27/10, Ian Lance Taylor <iant@google.com> wrote:

> From: Ian Lance Taylor <iant@google.com>
> Subject: Re: temp preprocessed filename
> To: morrell@alumni.ucsd.edu
> Cc: gcc-help@gcc.gnu.org
> Date: Saturday, February 27, 2010, 2:41 PM
> Michael Morrell <morrell@alumni.ucsd.edu>
> writes:
> 
> > I'm tracking down some differences in the object files
> from ostensibly the same compilation flags of the same
> input.  I've got two .o files that should be the same,
> but when I run:
> >
> >   readelf -wl <object file> |
> grep ii
> >
> > to see the debug.line info, I see a difference. 
> The filename that is shown
> > is of the form
> <basename>.tmp,<hostname>.<number>.ii
> >
> > and <number> is different.  I've looked
> through the source and can't find
> > where that filename is generated.  I want to know
> why <number> would change
> > and how to prevent it from doing so.
> >
> > Can anyone point me in the right direction?
> 
> I think you can get names of that sort when using distcc
> and/or
> ccache.  Are you using either of those?  Check
> the exact path of the
> compiler.
> 
> Ian
>



More information about the Gcc-help mailing list