Don't strip shipped binaries #929

Closed
opened 3 years ago by trinity-1686a · 0 comments
Owner

Currently we strip binaries so they are smaller. This remove debugging symbols which are apparently used when generating backtraces. Without them, a typical backtrace looks like this:

stack backtrace:
   0:     0x5615348edf74 - <unknown>
   1:     0x561534910e5c - <unknown>
[21 lines omitted]
  23:     0x5615348df7ef - <unknown>
  24:     0x5615348f6110 - <unknown>
  25:     0x7fc5d9984609 - start_thread
  26:     0x7fc5d988e293 - __clone
  27:                0x0 - <unknown>

This makes it way harder to understand the issue, as we have no idea where the panic was emited

Currently we strip binaries so they are smaller. This remove debugging symbols which are apparently used when generating backtraces. Without them, a typical backtrace looks like this: ``` stack backtrace: 0: 0x5615348edf74 - <unknown> 1: 0x561534910e5c - <unknown> [21 lines omitted] 23: 0x5615348df7ef - <unknown> 24: 0x5615348f6110 - <unknown> 25: 0x7fc5d9984609 - start_thread 26: 0x7fc5d988e293 - __clone 27: 0x0 - <unknown> ``` This makes it way harder to understand the issue, as we have no idea where the panic was emited
trinity-1686a added the
C: Enhancement
Build
labels 3 years ago
KitaitiMakoto closed this issue 3 years ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
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: Plume/Plume#929
Loading…
There is no content yet.