PR/15448: add a compiler timestamp to PCH files (take 2)
Geoff Keating
geoffk@geoffk.org
Fri Feb 18 20:50:00 GMT 2005
On 17/02/2005, at 5:26 AM, Paolo Bonzini wrote:
>> I think this solves the problem nicely, and fixes the bootstrap
>> problem. The only other issue I can think of, is, it is critical
>> (for the installation of the libstdc++ gch file) that the install
>> process leaves the mtime alone on the compiler binary. touch -r
>> might be necessary to make it work. touch -r isn't very portable.
>
> The PCH would need to be rebuilt upon installation, or the st_size
> could be used alone. The approach of checking addresses are
> unreliable because of PIE.
>
> Geoff, is the patch okay with only st_size being checked? (I'm not
> sure if you can approve the libiberty bits.)
Yes, it's OK, except for the libiberty bits which I haven't really
reviewed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2410 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050218/b817482d/attachment.p7s>
More information about the Gcc-patches
mailing list