<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">Hi, Any new idea?<br><br><br><br><div>Regards,</div><div>Dian Chen<br></div><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><br><pre><br>At 2019-03-13 21:39:17, paul.robinson@sony.com wrote:
>+Kostya who is the sanitizer guru.
>
>> -----Original Message-----
>> From: Hongbin Zheng [mailto:etherzhhb@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@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@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@lists.llvm.org] On Behalf Of
>> mirchd via llvm-dev
>> > Sent: Tuesday, March 12, 2019 8:37 AM
>> > To: mirchd
>> > Cc: llvm-dev@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@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@Z)£¬ "void * __cdecl operator
>> new(unsigned __int64)" (??2@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@lists.llvm.org
>> > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
</pre></div><br><br><span title="neteasefooter"><p> </p></span>