[llvm-dev] llvm compiled error

via llvm-dev llvm-dev at lists.llvm.org
Wed Mar 13 06:39:17 PDT 2019


+Kostya who is the sanitizer guru.

> -----Original Message-----
> From: Hongbin Zheng [mailto:etherzhhb at gmail.com]
> Sent: Tuesday, March 12, 2019 10:19 PM
> To: mirchd
> Cc: Robinson, Paul; llvm-dev
> Subject: Re: [llvm-dev] llvm compiled error
> 
> I used to build llvm/clang on windows a lot, and never had any issues.
> 
> But I never built asan on windows, maybe asan just doesn't build on
> windows?
> 
> On Tue, Mar 12, 2019 at 7:14 PM mirchd via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
> >
> > I am using Visual Studio 2017,
> > I re-running cmake and rebuild the project but it still has the
> unresolved link error.
> >
> > thanks for your help
> >
> >
> >
> >
> >
> > 在 2019-03-12 21:34:14,paul.robinson at sony.com 写道:
> >
> > 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_d
> ynamic-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
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > LLVM Developers mailing list
> > llvm-dev at lists.llvm.org
> > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev


More information about the llvm-dev mailing list