[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using GDB to debug Guix-installed software (e.g. virsh)
From: |
Ludovic Courtès |
Subject: |
Re: Using GDB to debug Guix-installed software (e.g. virsh) |
Date: |
Thu, 26 Jul 2018 17:29:26 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hi Chris,
Chris Marusich <address@hidden> skribis:
> (gdb) run
> Starting program:
> /gnu/store/mx3rmbpg6lhl0yxl9djbx49nfps9lwqi-my-libvirt-4.3.0/bin/virsh
> nodedev-list
> warning: the debug information found in
> "/home/marusich/debug/profile/lib/debug//gnu/store/mx3rmbpg6lhl0yxl9djbx49nfps9lwqi-my-libvirt-4.3.0/lib/libvirt.so.0.4003.0.debug"
> does not match
> "/gnu/store/mx3rmbpg6lhl0yxl9djbx49nfps9lwqi-my-libvirt-4.3.0/lib/libvirt.so.0"
> (CRC mismatch).
>
> warning: the debug information found in
> "/home/marusich/debug/profile/lib/debug//gnu/store/mx3rmbpg6lhl0yxl9djbx49nfps9lwqi-my-libvirt-4.3.0/lib/libvirt.so.0.4003.0.debug"
> does not match
> "/gnu/store/mx3rmbpg6lhl0yxl9djbx49nfps9lwqi-my-libvirt-4.3.0/lib/libvirt.so.0"
> (CRC mismatch).
This is a bug: like Gábor guessed, it has to do with grafting:
https://bugs.gnu.org/19973
GDB documents how this CRC is computed so we could implement that method
and use that in (guix build grafts). Would be nice!
Ludo’.