<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW " title="NEW --- - Problem with liblldb linking on RHEL 6 and unifying --start-group/--end-group support" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24140&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=DDUMf06MYELAe1Nlv7KChiwJLLHbYha4jtK_AOiWqwQ&m=9Opy8xh9f-joJNgGx69skG4cNI_I6v8B9uKDpI0npXs&s=l47mKxNh-Weeglu9kSChcKd6mgUObnAGXmWTuT7b4T4&e=">24140</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Problem with liblldb linking on RHEL 6 and unifying --start-group/--end-group support
</td>
</tr>
<tr>
<th>Product</th>
<td>lldb
</td>
</tr>
<tr>
<th>Version</th>
<td>3.7
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>release blocker
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>lldb-dev@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Reporter</th>
<td>eugene.zelenko@gmail.com
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=14593" name="attach_14593" title="My patch for this problem">attachment 14593</a> <a href="attachment.cgi?id=14593&action=edit" title="My patch for this problem">[details]</a></span>
My patch for this problem
Unfortunately previous patch for liblldb linking on RHEL 6 (<a class="bz_bug_link
bz_status_RESOLVED bz_closed" title="RESOLVED FIXED - Problem with liblldb linking on RHEL 6" href="show_bug.cgi?id=24044">bug 24044</a>, 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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>