<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Dear Kiran,<br>
<br>
Which version of LLVM/SAFECode are you using? Is it LLVM 3.2?<br>
<br>
I'm guessing that you're using LLVM 3.2 and trying to compile
safecode/tools/LTO (that's the only component that links in
AssistDS.a). You could try changing the following line:<br>
<br>
$(PROJ_OBJ_ROOT)/$(BuildMode)/lib/libAssistDS.a:
$(POOLALLOC_OBJDIR)/$(BuildMode)/lib/AssistDS.a<br>
<br>
... to:<br>
<br>
$(PROJ_OBJ_ROOT)/$(BuildMode)/lib/libAssistDS.a:
$(POOLALLOC_OBJDIR)/$(BuildMode)/lib/libAssistDS.a<br>
<br>
You'll need to fix the problem for other libraries for which
SAFECode creates links in its own object tree (such as
libpoolalloc.a).<br>
<br>
That might fix the problem on Cygwin.<br>
<br>
Regards,<br>
<br>
John Criswell<br>
<br>
On 10/13/15 2:36 AM, kiran pawar via llvm-dev wrote:<br>
</div>
<blockquote
cite="mid:CAK55ByMJGaKMGEhvEa6jJL9zoDvti0OLrMpwg4k3o-om_8OyeA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>Hi,<br>
</div>
On Linux I observed<br>
<br>
[root@localhost poolalloc]# find . -name *.a<br>
./Release+Asserts/lib/LLVMDataStructure.a<br>
./Release+Asserts/lib/poolalloc.a<br>
./Release+Asserts/lib/AssistDS.a<br>
./Release+Asserts/lib/libpoolalloc_fl_rt.a<br>
./Release+Asserts/lib/libpoolalloc_rt.a<br>
./Release+Asserts/lib/libpa_pre_rt.a<br>
./Release+Asserts/lib/libcount.a<br>
<br>
<br>
</div>
On cygwin I observed <br>
<br>
kpawar@KPAWAR-LT ~/SAFECode/LLVM_SRC/llvm/projects/poolalloc<br>
$ find . -name *.a<br>
./Release+Asserts/lib/libAssistDS.a<br>
./Release+Asserts/lib/libcount.a<br>
./Release+Asserts/lib/libLLVMDataStructure.a<br>
./Release+Asserts/lib/libpa_pre_rt.a<br>
./Release+Asserts/lib/libpoolalloc.a<br>
./Release+Asserts/lib/libpoolalloc_fl_rt.a<br>
./Release+Asserts/lib/libpoolalloc_rt.a<br>
./Release+Asserts/lib/libtypechecks_rt.a<br>
<br>
<br>
</div>
This creates issue to llvm/safecode since it tries to search
libraries named as poolalloc.a, AssistDS.a etc. Any solution
for this ?<br>
<br>
</div>
~ Kiran<br>
<div>
<div><br>
<br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
John Criswell
Assistant Professor
Department of Computer Science, University of Rochester
<a class="moz-txt-link-freetext" href="http://www.cs.rochester.edu/u/criswell">http://www.cs.rochester.edu/u/criswell</a></pre>
</body>
</html>