https://llvm.org/bugs/show_bug.cgi?id=24140

            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.zele...@gmail.com
    Classification: Unclassified

Created attachment 14593
  --> https://llvm.org/bugs/attachment.cgi?id=14593&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lldb-dev mailing list
lldb-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to