On Wed, Mar 04, 2009 at 11:49:48AM +0100, Josselin Mouette wrote:
> Therefore, it would be very nice to think of a way to not make this
> reading happen. I don’t think it is necessary to check the whole file’s
> CRC32; other mechanisms (like dependencies) should prevent the files
> from having discrepancies. Just to be safe, you could store a generated
> UUID in both file headers, and that would not require reading the whole
> files. 

This is possible using build-id notes.  However, I don't know what
changes across the distribution would be required for that.  We'd have
to generate them for all binaries and libraries if we aren't already.

After that, if GDB locates a debug file by using build ID it won't
check the crc.  I think it will still check CRC's if it searches
/usr/lib/debug, but that could be fixed in a very straightforward manner.

-- 
Daniel Jacobowitz
CodeSourcery



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to