[llvm-bugs] [Bug 32899] New: LLD ELF: weak undefined symbols remain weak even if we see a strong undefined symbol later
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue May 2 20:46:18 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=32899
Bug ID: 32899
Summary: LLD ELF: weak undefined symbols remain weak even if we
see a strong undefined symbol later
Product: lld
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: ELF
Assignee: unassignedbugs at nondot.org
Reporter: peter at pcc.me.uk
CC: llvm-bugs at lists.llvm.org
$ cat w1.s
.weak foo
$ cat w2.s
.long foo
.globl _start
_start:
ret
$ clang -c w{1,2}.s
$ ld.lld w{1,2}.o
$ ld.lld w{2,1}.o
ld.lld: error: undefined symbol: foo
>>> referenced by w2.o:(.text+0x0)
--
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/20170503/0b7b14d5/attachment.html>
More information about the llvm-bugs
mailing list