Bug ID 24140
Summary Problem with liblldb linking on RHEL 6 and unifying --start-group/–end-group support
Product lldb
Version 3.7
Hardware PC
OS Linux
Status NEW
Severity release blocker
Priority P
Component All Bugs
Assignee lldb-dev@cs.uiuc.edu
Reporter eugene.zelenko@gmail.com
Classification Unclassified
Created attachment 14593 [details]
My patch for this problem
Unfortunately previous patch for liblldb linking on RHEL 6 (bug 24044, r241576)
was not correct because COMPILER_SUPPORTS_GROUPS was local variable in other
function.
I renamed it to LLDB_LINKER_SUPPORTS_GROUPS (--start-group/--end-group is ld
options), made it global and share in cmake/modules/AddLLDB.cmake and
tools/lldb-server/CMakeLists.txt.
I also noticed (with CMake --trace) that it was applied for all LLDB static
libraries. I used PARAM_SHARED to distinguish static libraries and liblldb, but
I'm not sure that this is absolutely correct.
Problem should be fixed in 3.7 and trunk.