apple / apple/foundationdb

Generate .debug symbols for libfdb_c

Open
#6,895 2 comments 0 reactions 1 assignee Claimed by @sfc-gh-vgasiunas View on GitHub
Dominant language
C++
Stars
16.7k
Forks
1.6k
Avg merge
1d 20h
Merged PRs (30d)
126

Description

Currently, it appears that [libfdb_c.so is stripped](https://github.com/apple/foundationdb/blob/297d831192b797157851125a71af4deec9a4773c/bindings/c/CMakeLists.txt#L50), and that this stripping does not generate a .debug file with symbols, [unlike what is done for executables](https://github.com/apple/foundationdb/blob/07e531947765696c3d0e80703967dd5da420fb28/cmake/FlowCommands.cmake#L136).

This is problematic for consumers of libfdb_c.so, because there's no way to symbolicate a stack trace, and the FDB project cannot offer a .debug file with symbols (like how is done for all the server components), because no such file exists.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.