https://bugs.llvm.org/show_bug.cgi?id=49624
Bug ID: 49624
Summary: [WoA] Clang MSVC driver uses link.exe linker by
default
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: release blocker
Priority: P
Component: Driver
Assignee: unassignedclangb...@nondot.org
Reporter: maxim.kuvyr...@gmail.com
CC: llvm-bugs@lists.llvm.org, neeil...@live.com,
richard-l...@metafoo.co.uk
At the moment "link.exe" is hard-coded as default linker in MSVC.cpp,
so there's no way to use LLD as default linker for MSVC driver.
For Windows on Arm this is a release blocker because link.exe is an x86_64
binary, which WoA can't emulate (only x86_32 emulation is supported), so
linking fails unless -fuse-ld=lld option is provided.
This is fixed on trunk in https://reviews.llvm.org/D98493, but needs
backporting to releases/12.x .
--
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