https://bugs.llvm.org/show_bug.cgi?id=48542
Bug ID: 48542
Summary: ld.lld on Windows does not accept -Bstatic aliases
Product: lld
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: unassignedb...@nondot.org
Reporter: d...@adrian-ebeling.de
CC: llvm-bugs@lists.llvm.org, smithp...@googlemail.com
According to ld.lld --help, there are three aliases for --Bstatic:
$ ld.lld --help | grep Bstatic
--Bstatic Do not link against shared libraries
--dn Alias for --Bstatic
--non_shared Alias for --Bstatic
--static Alias for --Bstatic
However, only --Bstatic works (version with one dash is also accepted):
$ ld.lld -m i386pep --dn main.o -o main.exe
lld: error: unknown argument: --dn
$ ld.lld -m i386pep --non_shared main.o -o main.o2
lld: error: unknown argument: --non_shared
$ ld.lld -m i386pep --static main.o -o main.o2
lld: error: unknown argument: --static
Current version on my PC is "LLD 10.0.0 (compatible with GNU linkers)", but I
also tried with 11.0.0.
--
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