<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Dear Nikhil,<br>
<br>
The lib/PoolAllocate code doesn't compile with LLVM mainline, and
you don't need it for SAFECode. You can remove PoolAllocate from
the list of directories to compile in poolalloc/lib/Makefile.<br>
<br>
Also, are you using the code from Peter's Github repository? I
think Peter made this change in his code already.<br>
<br>
Regards,<br>
<br>
John Criswell<br>
<br>
On 7/29/15 11:27 AM, Nikhil Reddy Kothapally wrote:<br>
</div>
<blockquote
cite="mid:CA+=LHJa=CLK0kH_ur_zSWmawzV1nXF0Uq2sg+x71cfmvg58aEg@mail.gmail.com"
type="cite">
<meta http-equiv="Context-Type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>
<div>
<div>llvm[4]: Compiling PoolAllocate.cpp for Release+Asserts
build</div>
<div>/home/NIKHILREDDY/WORK/LLVM_SRC/projects/poolalloc/lib/PoolAllocate/PoolAllocate.cpp:
In member function ‘virtual bool
llvm::PoolAllocate::runOnModule(llvm::Module&)’:</div>
<div>/home/NIKHILREDDY/WORK/LLVM_SRC/projects/poolalloc/lib/PoolAllocate/PoolAllocate.cpp:403:16:
error: ‘class llvm::Constant’ has no member named
‘replaceUsesOfWithOnConstant’</div>
<div> C->replaceUsesOfWithOnConstant(F,
CEnew, ReplaceWorklist[index]);</div>
<div> ^</div>
<div>llvm[4]: Compiling PoolOptimize.cpp for Release+Asserts
build</div>
<div>llvm[4]: Compiling RunTimeAssociate.cpp for
Release+Asserts build</div>
<div>/usr/bin/rm: cannot remove
‘/home/NIKHILREDDY/WORK/LLVM_OBJ/projects/poolalloc/lib/PoolAllocate/Release+Asserts/PoolAllocate.d.tmp’:
No such file or directory</div>
<div>/home/NIKHILREDDY/WORK/LLVM_SRC/Makefile.rules:1521:
recipe for target
'/home/NIKHILREDDY/WORK/LLVM_OBJ/projects/poolalloc/lib/PoolAllocate/Release+Asserts/PoolAllocate.o'
failed</div>
<div>make[4]: ***
[/home/NIKHILREDDY/WORK/LLVM_OBJ/projects/poolalloc/lib/PoolAllocate/Release+Asserts/PoolAllocate.o]
Error 1</div>
<div>make[4]: *** Waiting for unfinished jobs....</div>
<div>make[4]: Leaving directory
'/home/NIKHILREDDY/WORK/LLVM_OBJ/projects/poolalloc/lib/PoolAllocate'</div>
<div>/home/NIKHILREDDY/WORK/LLVM_SRC/Makefile.rules:880:
recipe for target 'all' failed</div>
<div>make[3]: *** [all] Error 1</div>
<div>make[3]: Leaving directory
'/home/NIKHILREDDY/WORK/LLVM_OBJ/projects/poolalloc/lib'</div>
<div>/home/NIKHILREDDY/WORK/LLVM_SRC/Makefile.rules:880:
recipe for target 'all' failed</div>
<div>make[2]: *** [all] Error 1</div>
<div>make[2]: Leaving directory
'/home/NIKHILREDDY/WORK/LLVM_OBJ/projects/poolalloc'</div>
<div>/home/NIKHILREDDY/WORK/LLVM_SRC/Makefile.rules:880:
recipe for target 'all' failed</div>
<div>make[1]: *** [all] Error 1</div>
<div>make[1]: Leaving directory
'/home/NIKHILREDDY/WORK/LLVM_OBJ/projects'</div>
<div>/home/NIKHILREDDY/WORK/LLVM_SRC/Makefile.rules:965:
recipe for target 'all' failed</div>
<div>make: *** [all] Error 1</div>
</div>
<div>NIKHILREDDY@NikhilReddyK ~/WORK/LLVM_OBJ<br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div>for your reference i will also send the configurlog file
and also maketools and makelog files </div>
<div><br>
</div>
<br>
<div>
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>Thank You,</div>
<div><br>
</div>
<div>Kind Regards,</div>
<div><br>
</div>
<div>Nikhil Reddy Kothapally </div>
<div><br>
</div>
<div><a moz-do-not-send="true" href="tel:%2B4917672147229" value="+4917672147229" target="_blank">+4917672147229</a></div>
<div><br>
</div>
<div>Master Student </div>
<div><br>
</div>
<div>Technische Universität Chemnitz,(Germany)</div>
<div><br>
</div>
<div>Automotive Software Engineering.</div>
</div>
</div>
</div>
</div>
</div>
</div>
</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="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.cs.rochester.edu_u_criswell&d=AwMD-g&c=8hUWFZcy2Z-Za5rBPlktOQ&r=Mfk2qtn1LTDThVkh6-oGglNfMADXfJdty4_bhmuhMHA&m=Hmkq-ft0xrxSUM5xroJyD7MIoQw6V0FLCvpb8hwJuwE&s=6bkY-kFCmnR2XGkKPmz41HYxrFbz2BQkamRoLTJtEd4&e=">http://www.cs.rochester.edu/u/criswell</a></pre>
</body>
</html>