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: [RFC] Change PCH "checksum"


Hi,

On Tue, 26 Feb 2019, Richard Biener wrote:

> get_build_id_1 (struct dl_phdr_info *info, size_t, void *data)
> { 

Isn't this all a bit silly?  We could simply encode the svn revision, or 
maybe even just some random bytes generated once in stage1 at build time 
as "checksum" and be done with.  In the latter case PCHs will then not 
work across different compiler builds, but so what?


Ciao,
Michael.


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