[lldb-dev] [Bug 24140] New: Problem with liblldb linking on RHEL 6 and unifying --start-group/--end-group support

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jul 15 15:20:56 PDT 2015


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 at cs.uiuc.edu
          Reporter: eugene.zelenko at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20150715/7a6b9fea/attachment.html>


More information about the lldb-dev mailing list