<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 --- - lld/ELF2 produces a broken executable when linking tablegen (on FreeBSD)"
href="https://llvm.org/bugs/show_bug.cgi?id=25539">25539</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>lld/ELF2 produces a broken executable when linking tablegen (on FreeBSD)
</td>
</tr>
<tr>
<th>Product</th>
<td>lld
</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>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>davide@freebsd.org
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Log here, needs further investigation. This only happens on FreeBSD (to the
best of my knowledge)
% ./llvm-tblgen
Bus error (core dumped)
(gdb) r
Starting program: /exps/llvm-lld/build2/bin/llvm-tblgen
Program received signal SIGBUS, Bus error.
0x0000000800511838 in ?? ()
(gdb) bt
#0 0x0000000800511838 in ?? ()
#1 0x00000000004b4d5e in llvm::SetTheory::evaluate(llvm::Init*,
llvm::SmallSetVector<llvm::Record*, 16u>&, llvm::ArrayRef<llvm::SMLoc>) ()
#2 0x000000000025a399 in void
llvm::SetTheory::evaluate<std::__1::__wrap_iter<llvm::Init* const*>
<span class="quote">>(std::__1::__wrap_iter<llvm::Init* const*>, std::__1::__wrap_iter<llvm::Init*</span >
const*>, llvm::SmallSetVector<llvm::Record*, 16u>&,
llvm::ArrayRef<llvm::SMLoc>) ()
#3 0x00000000004b92b2 in (anonymous namespace)::AddOp::apply(llvm::SetTheory&,
llvm::DagInit*, llvm::SmallSetVector<llvm::Record*, 16u>&,
llvm::ArrayRef<llvm::SMLoc>) ()
#4 0x00000000004f3402 in __do_global_ctors_aux ()
#5 0x00000000004f3426 in _init ()
#6 0x00007fffffffeab0 in ?? ()
#7 0x00000000000770f6 in _start ()</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>