[llvm-dev] llvm compiled error

via llvm-dev llvm-dev at lists.llvm.org
Tue Mar 12 06:34:14 PDT 2019


I assume you are using Visual Studio as your build tool?  The LLVM project set turns into a bunch of Visual Studio project files, and my experience has been that they do not always coordinate correctly. Often just running the build again will solve a problem like this.  I'm not really familiar with the sanitizers so I don't have any ideas about the specific error, if re-running the build doesn't solve it.
--paulr

From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of mirchd via llvm-dev
Sent: Tuesday, March 12, 2019 8:37 AM
To: mirchd
Cc: llvm-dev at lists.llvm.org
Subject: Re: [llvm-dev] llvm compiled error

Ping,
any idea?
thanks in advance~





在 2019-03-11 22:44:12,"mirchd via llvm-dev" <llvm-dev at lists.llvm.org> 写道:

Hello,

when I build llvm from git source, some errors occured.

80>asan_new_delete.obj : error LNK2019: unresolved external symbol "void * __cdecl MemalignFromLocalPool(unsigned __int64,unsigned __int64)" (?MemalignFromLocalPool@@YAPEAX_K0 at Z), "void * __cdecl operator new(unsigned __int64)" (??2 at YAPEAX_K@Z)
80>D:\program\llvm\build\Debug\lib\clang\9.0.0\lib\windows\clang_rt.asan_dynamic-x86_64.dll : fatal error LNK1120
80>“clang_rt.asan-dynamic-x86_64.vcxproj” fail.

env:
cmake x64
win10, visualstudio2017 15.9.8

please help,

Best wishes,
Dian Chen






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190312/9174f6c6/attachment.html>


More information about the llvm-dev mailing list