https://bugs.llvm.org/show_bug.cgi?id=45584
Bug ID: 45584
Summary: Support --allow-multiple-definitions in ld.lld.exe
Product: lld
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: COFF
Assignee: unassignedb...@nondot.org
Reporter: mikhail.kviatkovs...@pm.me
CC: llvm-bugs@lists.llvm.org
MinGW version of LLD, ld.lld.exe, does not support
"--allow-multiple-definitions" options:
lld: error: unknown argument: --allow-multiple-definitions
collect2.exe: error: ld returned 1 exit status
As far as I understand, ld.lld.exe is a wrapper over a lld-link.exe, which has
the option "/force:multiple" ("Allow multiply defined symbols when creating
executables"), which sounds similar to me.
So maybe it is possbile to implement "--allow-multiple-definitions" options
with passing "/force:multiple" to lld-link.exe?
I also wonder if there is a workaround, that allows to pass arguments from
ld.lld.exe wrapper to lld-link.exe directly, like "-Wl" allows to pass
arguments from compiler to linker?
Thank you in advance!
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs