Subject: Re: bug#19973: Grafts break debug outputs

From: [email-masked] (Ludovic Courtès)
Date: Fri, 10 Mar 2017 14:14:13 +0100

[email-masked] (Ludovic Courtès) skribis:

> However, one very likely problem is that .debug files include a CRC of
> the binary they correspond to (info "(gdb) Separate Debug Files"), and
> that CRC is not updated when we graft things.

It manifests like this in GDB:

--8<---------------cut here---------------start------------->8---
warning: the debug information found in "/home/ludo/.guix-profile/lib/debug//gnu/store/y8ppqsxiki39n4mqpb4mab6bgwqsnnp7-libgc-7.4.2/lib/libgc.so.debug" does not match "/gnu/store/y8ppqsxiki39n4mqpb4mab6bgwqsnnp7-libgc-7.4.2/lib/libgc.so.1" (CRC mismatch).
--8<---------------cut here---------------end--------------->8---

Ludo’.