[LLVMdev] Error when i am using command make -j4 command in cygwin to compile safecode
John Criswell
jtcriswel at gmail.com
Wed Jul 29 09:32:21 PDT 2015
Dear Nikhil,
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.
Also, are you using the code from Peter's Github repository? I think
Peter made this change in his code already.
Regards,
John Criswell
On 7/29/15 11:27 AM, Nikhil Reddy Kothapally wrote:
> llvm[4]: Compiling PoolAllocate.cpp for Release+Asserts build
> /home/NIKHILREDDY/WORK/LLVM_SRC/projects/poolalloc/lib/PoolAllocate/PoolAllocate.cpp:
> In member function ‘virtual bool
> llvm::PoolAllocate::runOnModule(llvm::Module&)’:
> /home/NIKHILREDDY/WORK/LLVM_SRC/projects/poolalloc/lib/PoolAllocate/PoolAllocate.cpp:403:16:
> error: ‘class llvm::Constant’ has no member named
> ‘replaceUsesOfWithOnConstant’
> C->replaceUsesOfWithOnConstant(F, CEnew,
> ReplaceWorklist[index]);
> ^
> llvm[4]: Compiling PoolOptimize.cpp for Release+Asserts build
> llvm[4]: Compiling RunTimeAssociate.cpp for Release+Asserts build
> /usr/bin/rm: cannot remove
> ‘/home/NIKHILREDDY/WORK/LLVM_OBJ/projects/poolalloc/lib/PoolAllocate/Release+Asserts/PoolAllocate.d.tmp’:
> No such file or directory
> /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
> make[4]: ***
> [/home/NIKHILREDDY/WORK/LLVM_OBJ/projects/poolalloc/lib/PoolAllocate/Release+Asserts/PoolAllocate.o]
> Error 1
> make[4]: *** Waiting for unfinished jobs....
> make[4]: Leaving directory
> '/home/NIKHILREDDY/WORK/LLVM_OBJ/projects/poolalloc/lib/PoolAllocate'
> /home/NIKHILREDDY/WORK/LLVM_SRC/Makefile.rules:880: recipe for target
> 'all' failed
> make[3]: *** [all] Error 1
> make[3]: Leaving directory
> '/home/NIKHILREDDY/WORK/LLVM_OBJ/projects/poolalloc/lib'
> /home/NIKHILREDDY/WORK/LLVM_SRC/Makefile.rules:880: recipe for target
> 'all' failed
> make[2]: *** [all] Error 1
> make[2]: Leaving directory
> '/home/NIKHILREDDY/WORK/LLVM_OBJ/projects/poolalloc'
> /home/NIKHILREDDY/WORK/LLVM_SRC/Makefile.rules:880: recipe for target
> 'all' failed
> make[1]: *** [all] Error 1
> make[1]: Leaving directory '/home/NIKHILREDDY/WORK/LLVM_OBJ/projects'
> /home/NIKHILREDDY/WORK/LLVM_SRC/Makefile.rules:965: recipe for target
> 'all' failed
> make: *** [all] Error 1
> NIKHILREDDY at NikhilReddyK ~/WORK/LLVM_OBJ
>
>
> for your reference i will also send the configurlog file and also
> maketools and makelog files
>
>
> Thank You,
>
> Kind Regards,
>
> Nikhil Reddy Kothapally
>
> +4917672147229 <tel:%2B4917672147229>
>
> Master Student
>
> Technische Universität Chemnitz,(Germany)
>
> Automotive Software Engineering.
--
John Criswell
Assistant Professor
Department of Computer Science, University of Rochester
http://www.cs.rochester.edu/u/criswell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150729/38d778b0/attachment.html>
More information about the llvm-dev
mailing list