[LLVMbugs] [Bug 21091] New: Linking standalone x86_64 Mach-O yields "Undefined symbol: stub runtime: dyld_stub_binder"
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Sep 28 02:14:55 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=21091
Bug ID: 21091
Summary: Linking standalone x86_64 Mach-O yields "Undefined
symbol: stub runtime: dyld_stub_binder"
Product: lld
Version: unspecified
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: release blocker
Priority: P
Component: All Bugs
Assignee: unassignedbugs at nondot.org
Reporter: alexchandel at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
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
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140928/018d98a5/attachment.html>
More information about the llvm-bugs
mailing list