ClangOnWindows icon indicating copy to clipboard operation
ClangOnWindows copied to clipboard

Error during the link

Open 40tude opened this issue 7 years ago • 1 comments

Bonjour Thanks a lot for the time spent on the subject I tried the bat file without sucess I got an error during the link

See below the outpout : lld-link.exe main.o -out:"test.exe" -machine:x64 -nodefaultlib -subsystem:console -libpath:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\lib\x64" -libpath:"C:\Program Files (x86)\Windows Kits\10\Lib\10.0.16299.0\ucrt\x64" -libpath:"C:\Program Files (x86)\Windows Kits\10\Lib\10.0.16299.0\um\x64" libucrt.lib libvcruntime.lib libcmt.lib libcpmt.lib legacy_stdio_definitions.lib oldnames.lib legacy_stdio_wide_specifiers.lib kernel32.lib User32.lib lld-link.exe: warning: libcmt.lib(loadcfg.obj): undefined symbol: __enclave_config error: link failed

Regarding my configuration, see below :
Visual Studio 2017 : 14.12.25827 WinSDKVersion=10.0.16299.0 LLVM : 5.0.1

I have no idea about __enclave_config symbol I looked around on google without success (few page but not related to lld-link

Do you experience similar issue? Any advise will be more than welcome :-) Best regards, Philippe

40tude avatar Jan 31 '18 16:01 40tude

Same issue occurring here, however it is not linked to this repository, I'm just using lld-link.exe in general.

ghost avatar May 09 '19 21:05 ghost