<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 --- - lld build error (llvm::yaml namespaces)"
href="http://llvm.org/bugs/show_bug.cgi?id=17569">17569</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>lld build error (llvm::yaml namespaces)
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</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>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>kraiskil@ovi.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=11369" name="attach_11369" title="full error text">attachment 11369</a> <a href="attachment.cgi?id=11369&action=edit" title="full error text">[details]</a></span>
full error text
Building of llvm+clang+lld fails compiling MachONormalizedFileYAML.cpp with gcc
4.7 and 4.8 with about 20 errors like:
/home/kraiskil/llvm/llvm/tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp:80:8:
error: specialization of ‘template<class T> struct llvm::yaml::SequenceTraits’
in different namespace [-fpermissive]
struct SequenceTraits< std::vector<Section> > {
^
In file included from
/home/kraiskil/llvm/llvm/tools/lld/lib/ReaderWriter/MachO/MachONormalizedFile.h:50:0,
from
/home/kraiskil/llvm/llvm/tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp:18:
/home/kraiskil/llvm/llvm/include/llvm/Support/YAMLTraits.h:129:8: error: from
definition of ‘template<class T> struct llvm::yaml::SequenceTraits’
[-fpermissive]
struct SequenceTraits {
^
Full error log attached.
Builds fine with clang-3.3.</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>