runtime: Unable to build coreclr repo __security_check_cookie_ex
Portion of cmake errors while building with “.\build” after following the steps in the getting started on windows documentation and executing init-tools script:
23>libucrtd.lib(invalid_parameter.obj) : error LNK2001: unresolved external symbol __security_check_cookie_ex [C:\Users\vikto\Documents\src\coreclr\bin\obj\Windows_NT.x64.Debug\src\dlls\mscoree\coreclr\coreclr.vcxproj]
23>libucrtd.lib(input.obj) : error LNK2001: unresolved external symbol __security_check_cookie_ex [C:\Users\vikto\Documents\src\coreclr\bin\obj\Windows_NT.x64.Debug\src\dlls\mscoree\coreclr\coreclr.vcxproj]
23>C:\Users\vikto\Documents\src\coreclr\bin\obj\Windows_NT.x64.Debug\src\dlls\mscoree\coreclr\Debug\coreclr.dll : fatal error LNK1120: 1 unresolved externals [C:\Users\vikto\Documents\src\coreclr\bin\obj\Windows_NT.x64.Debug\src\dlls\mscoree\coreclr\coreclr.vcxproj]
Build FAILED.
0 Warning(s)
579 Error(s)
Time Elapsed 00:32:07.06
Error log file: CoreCLR_Windows_NT__x64__Debug.zip
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 18 (18 by maintainers)
That is the issue I linked above: https://github.com/dotnet/coreclr/issues/10056
Passing in
/p:CSharpCoreTargetsPath=Roslyn\Microsoft.CSharp.Core.targetsshould work (so.\Build.cmd -- /p:CSharpCoreTargetsPath=Roslyn\Microsoft.CSharp.Core.targets)Escalated to the responsible product team and cc you.