<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 --- - Linking standalone x86_64 Mach-O yields "Undefined symbol: stub runtime: dyld_stub_binder""
href="http://llvm.org/bugs/show_bug.cgi?id=21091">21091</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Linking standalone x86_64 Mach-O yields "Undefined symbol: stub runtime: dyld_stub_binder"
</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>release blocker
</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>alexchandel@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>What happened?
I compiled LLVM+Clang+LLD from master. After assembling a bare-bones assembly
file and linking it, lld fails with the error,
```
lld -flavor darwin test.o
Undefined symbol: stub runtime: dyld_stub_binder
symbol(s) not found
```
The bare-bones assembly source was:
```
.text
.globl start
start:
mov $0, %rdi
mov $0x2000001,%rax
syscall
```
System?
OS X 10.9.5 x86-64
Macbook Retina Late 2012
Intel i7 Ivy Bridge dual-core</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>