<html>
<head>
<base href="http://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 --- - CMake build fails with gcc 4.4.x on RHEL6"
href="http://llvm.org/bugs/show_bug.cgi?id=18018">18018</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>CMake build fails with gcc 4.4.x on RHEL6
</td>
</tr>
<tr>
<th>Product</th>
<td>libc++
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</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>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>hhinnant@apple.com
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ryan.pavlik@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=11585" name="attach_11585" title="Build system patch as described above">attachment 11585</a> <a href="attachment.cgi?id=11585&action=edit" title="Build system patch as described above">[details]</a></span>
Build system patch as described above
This is because of the fact that bits/cxxabi_forced.h is known as
cxxabi-forced.h in that version. (see first comment on first answer here:
<a href="http://stackoverflow.com/questions/17917731/what-is-the-sanctioned-way-to-build-libc-for-clang-on-linux">http://stackoverflow.com/questions/17917731/what-is-the-sanctioned-way-to-build-libc-for-clang-on-linux</a>
)
A small change to the CMake scripts can work around this in a better way than
that SO post. The attached patch adds an option for CXX_ABI called libstdc++3,
which seems like the best idea at the time for distinguishing the older
libstdc++, though I now see that the soname is still 6.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>