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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to