[llvm-bugs] [Bug 38985] New: lld-link does not work with VS integration if vcpkg is installed.
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Sep 18 10:49:12 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=38985
Bug ID: 38985
Summary: lld-link does not work with VS integration if vcpkg is
installed.
Product: lld
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: COFF
Assignee: zturner at google.com
Reporter: zturner at google.com
CC: llvm-bugs at lists.llvm.org
If you install vcpkg from here: https://github.com/Microsoft/vcpkg
And run `vcpkg integrate install` from a command prompt, then the LLVM VS
integration stops working with this error message:
C:\src\vcpkg\installed\x64...\lib\*.lib: invalid argument error.
The error seems to be coming from this file:
c:\src\vcpkg\scripts\buildsystems\msbuild\vcpkg.targets
<AdditionalDependencies Condition="'$(VcpkgNormalizedConfiguration)' == 'Debug'
and '$(VcpkgAutoLink)' !=
'false'">%(AdditionalDependencies);$(VcpkgRoot)debug\lib\*.lib</AdditionalDependencies>
If you set the MSBuild project output verbosity to diagnostic level and get the
lld-link.exe command line it's running and then paste that into a command
prompt, it appears to work, so this appears to be an MSBuild issue. But
perhaps there's a workaround we can submit in lld, or alternatively maybe we
can fix MSBuild and/or vcpkg.
This was reported by user henrik@ on IRC.
--
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/20180918/18901a54/attachment.html>
More information about the llvm-bugs
mailing list