apple / foundationdb

FoundationDB - the open source, distributed, transactional key-value store
https://apple.github.io/foundationdb/
Apache License 2.0
14.56k stars 1.32k forks source link

Generate .debug symbols for libfdb_c #6895

Open sfc-gh-almiller opened 2 years ago

sfc-gh-almiller commented 2 years ago

Currently, it appears that libfdb_c.so is stripped, and that this stripping does not generate a .debug file with symbols, unlike what is done for executables.

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.

sfc-gh-abeamon commented 2 years ago

As a side note, historically the debug file for libfdb_c.so had been named libfdb_c.so-debug, and I believe it was just an unstripped version of libfdb_c.so. This is different than what we do for the executables, where the .debug file contains just the symbols.

mpatou-openai commented 3 weeks ago

Any news on this issue?