<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:davide@freebsd.org" title="Davide Italiano <davide@freebsd.org>"> <span class="fn">Davide Italiano</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - Building with LINK_LLVM_DYLIB and LTO cause tblgen link failure"
href="https://bugs.llvm.org/show_bug.cgi?id=33669">bug 33669</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>INVALID
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>davide@freebsd.org
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - Building with LINK_LLVM_DYLIB and LTO cause tblgen link failure"
href="https://bugs.llvm.org/show_bug.cgi?id=33669#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - Building with LINK_LLVM_DYLIB and LTO cause tblgen link failure"
href="https://bugs.llvm.org/show_bug.cgi?id=33669">bug 33669</a>
from <span class="vcard"><a class="email" href="mailto:davide@freebsd.org" title="Davide Italiano <davide@freebsd.org>"> <span class="fn">Davide Italiano</span></a>
</span></b>
<pre>I think you're using GNU ar that doesn't know about bitcode files.
You should use an archiver that knows about bitcode symbol tables, e.g.
llvm-ar.
You also need to override ranlib, you can set to /usr/bin/true (or llvm-ranlib)
See
<a href="https://clang.llvm.org/docs/ThinLTO.html#id13">https://clang.llvm.org/docs/ThinLTO.html#id13</a>
(please note that while this is for ThinLTO something equivalent applies for
LTO).</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>