<html>
<head>
<base href="https://bugs.llvm.org/">
</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 - Linker creates invalid executables that crash dyld when linking Intel IPP"
href="https://bugs.llvm.org/show_bug.cgi?id=50186">50186</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Linker creates invalid executables that crash dyld when linking Intel IPP
</td>
</tr>
<tr>
<th>Product</th>
<td>lld
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Macintosh
</td>
</tr>
<tr>
<th>OS</th>
<td>MacOS X
</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>MachO
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>caleb.zulawski@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>gkm@fb.com, jezreel@gmail.com, llvm-bugs@lists.llvm.org, smeenai@fb.com
</td>
</tr></table>
<p>
<div>
<pre>I'm trying lld 12 for macOS and can link and run trivial executables. However
when I move on to another (unfortunately proprietary) codebase the generated
executables cause the following error from dyld:
dyld: REBASE_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB has segment 0 which is not a
writable segment (__TEXT) in dist/lib/libxyz.dylib.1
It's worth noting that libxyz is static linked against Intel's IPP which I'm
guessing has a slightly different object format, since I think it's compiled
with ICC.
I am using clang with the -fuse-ld=lld.darwinnew option.</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>