Date: Wed, 01 Aug 2018 19:52:56 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 230269] failed to make llvm 2.7 Message-ID: <bug-230269-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230269 Bug ID: 230269 Summary: failed to make llvm 2.7 Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: conf Assignee: bugs@FreeBSD.org Reporter: ratneshtr09@gmail.com Created attachment 195727 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D195727&action= =3Dedit It is log file of above make Hi, I am building llvm 2.7 . But I am facing error while doing "make" . make[3]: Entering directory `/home/rtiwari1/llvm_project/llvm/lib/Transforms/Scalar' llvm[3]: Compiling LoopStrengthReduce.cpp for Release build LoopStrengthReduce.cpp: In member function =E2=80=98llvm::Value* {anonymous}::LSRInstance::Expand(const {anonymous}::LSRFixup&, const {anonymous}::Formula&, llvm::BasicBlock::iterator, llvm::SCEVExpander&, llvm::SmallVectorImpl<llvm::WeakVH>&) const=E2=80=99: LoopStrengthReduce.cpp:2820:52: error: call of overloaded =E2=80=98next(llvm::BasicBlock::iterator)=E2=80=99 is ambiguous BetterPos =3D next(BasicBlock::iterator(Inst)); ^ LoopStrengthReduce.cpp:2820:52: note: candidates are: In file included from /home/rtiwari1/llvm_project/llvm/include/llvm/CodeGen/SelectionDAGNodes.h:2= 7:0, from /home/rtiwari1/llvm_project/llvm/include/llvm/Target/TargetLowering.h:27, from LoopStrengthReduce.cpp:74: /home/rtiwari1/llvm_project/llvm/include/llvm/ADT/STLExtras.h:151:13: note: ItTy llvm::next(ItTy) [with ItTy =3D llvm::ilist_iterator<llvm::Instruction= >] inline ItTy next(ItTy it) ^ In file included from /usr/include/c++/4.8/iterator:62:0, from /home/rtiwari1/llvm_project/llvm/include/llvm/Use.h:3= 0, from /home/rtiwari1/llvm_project/llvm/include/llvm/Value.h= :18, from /home/rtiwari1/llvm_project/llvm/include/llvm/User.h:= 22, from /home/rtiwari1/llvm_project/llvm/include/llvm/Constant.h:17, from /home/rtiwari1/llvm_project/llvm/include/llvm/Constants.h:24, from LoopStrengthReduce.cpp:58: /usr/include/c++/4.8/bits/stl_iterator_base_funcs.h:184:5: note: _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type) [with _ForwardIterator =3D llvm::ilist_iterator<llvm::Instruction>; typename std::iterator_traits<_Iter>::difference_type =3D long int] next(_ForwardIterator __x, typename ^ /bin/rm: cannot remove =E2=80=98/home/rtiwari1/llvm_project/llvm/lib/Transforms/Scalar/Release/Loo= pStrengthReduce.d.tmp=E2=80=99: No such file or directory make[3]: *** [/home/rtiwari1/llvm_project/llvm/lib/Transforms/Scalar/Release/LoopStrengt= hReduce.o] Error 1 make[3]: Leaving directory `/home/rtiwari1/llvm_project/llvm/lib/Transforms/Scalar' make[2]: *** [Scalar/.makeall] Error 2 make[2]: Leaving directory `/home/rtiwari1/llvm_project/llvm/lib/Transforms' make[1]: *** [Transforms/.makeall] Error 2 make[1]: Leaving directory `/home/rtiwari1/llvm_project/llvm/lib' make: *** [all] Error 1 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230269-227>