Issue |
83045
|
Summary |
clang-cl broken with Microsoft EWDK
|
Labels |
new issue
|
Assignees |
|
Reporter |
namazso
|
Repro:
```
Z:>D:\LaunchBuildEnv.cmd amd64
**********************************************************************
** Enterprise Windows Driver Kit (WDK) build environment
** Version ni_release_svc_prod3.22621.1778
**********************************************************************
** Visual Studio 2022 Developer Command Prompt v17.1.5
** Copyright (c) 2022 Microsoft Corporation
**********************************************************************
Z:>echo int main() { return 0; } >test.c
Z:>"C:\Program Files\LLVM\bin\clang-cl.exe" test.c
LINK : fatal error LNK1104: cannot open file 'kernel32.lib'
clang-cl: error: linker command failed with exit code 1104 (use -v to see invocation)
```
I think the issue lies here: https://github.com/llvm/llvm-project/blob/9de78c4e243e9b1dffb289173a94d6a50421c463/llvm/lib/WindowsDriver/MSVCPaths.cpp#L409-L410
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs