This is the mail archive of the
mailing list for the GCC project.
Re: PR/15448: add a compiler timestamp to PCH files
On Wed, 2005-02-16 at 20:12 -0500, Ian Lance Taylor wrote:
> Paolo Bonzini <email@example.com> writes:
> I think it would be simpler and more efficient to pick a set of
> relevant compiler global variables and functions and hash their
> addresses together. If those are well chosen, it will be very
> unlikely to generate a PCH with same hash code that will not work.
But wouldn't this fail with Position Independent Executable ? At least,
differences of adresses must be used, and I do not even know whether
this would be sufficient...
Then, of course, PCH is not currently working with PIE....