Re-add separateDebugInfo = true; once the GDB bugfix is rolled out everywhere #1003

Open
opened 2025-10-04 13:48:05 +00:00 by ma27 · 0 comments
Member

Describe the bug

Not a real bug, but I figured having an issue for documentation purposes is still sensible.

In https://gerrit.lix.systems/c/lix/+/3880 we had to turn off separateDebugInfo = true; since this resulted in the debug script not being loaded.

The reason is that the hook for separateDebugInfo=true; also turns on compression for these sections, but the code-path in GDB for loading user scripts regressed on loading compressed scripts recently.

I filed a patch for binutils-gdb: https://sourceware.org/pipermail/gdb-patches/2025-October/221398.html

Once it's available for nixpkgs, we should turn separateDebugInfo for Linux back on.

Additional context

Add any other context about the problem here.

## Describe the bug Not a real bug, but I figured having an issue for documentation purposes is still sensible. In https://gerrit.lix.systems/c/lix/+/3880 we had to turn off `separateDebugInfo = true;` since this resulted in the debug script not being loaded. The reason is that the hook for `separateDebugInfo=true;` also turns on compression for these sections, but the code-path in GDB for loading user scripts regressed on loading compressed scripts recently. I filed a patch for binutils-gdb: https://sourceware.org/pipermail/gdb-patches/2025-October/221398.html Once it's available for nixpkgs, we should turn `separateDebugInfo` for Linux back on. ## Additional context Add any other context about the problem here.
ma27 self-assigned this 2025-10-04 13:48:05 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#1003
No description provided.