[SERVER-64438] Investigate linking libunwind with libz and lzma Created: 11/Mar/22  Updated: 02/Nov/23

Status: Open
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0 Desired

Type: Improvement Priority: Major - P3
Reporter: Daniel Moody Assignee: Daniel Moody
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

In SERVER-61856, it was found that we aren't actually using lzma via libunwind due to configuring with --disable-minidebuginfo.

Also it was found, that our pre configuration generated on RHEL6.2 x86_64 does not allow for decompressing .debug_info sections, but the Ubuntu 16 arm64 pre-config did. For now the zlib decompression was disabled, potentially hiding debug info from unwind if the library happens to have compressed debug info.

Another issue with zlib in libunwind is the dependency ordering of our build, we don't want zlib to be built before libunwind and tcmalloc because of its use in the server libraries. 

This ticket is to investigate and decided what to do about these libraries in the context libunwind.



 Comments   
Comment by Iryna Zhuravlova [ 21/Mar/22 ]

We are putting this ticket back to the backlog, it seems like it might take a little longer than we expected and the team would like to prioritize other things first. daniel.moody will put the patch build with the work he has done so far

Generated at Thu Feb 08 06:00:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.