https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230269
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: [email protected]
Reporter: [email protected]
Created attachment 195727
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=195727&action=edit
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 ‘llvm::Value*
{anonymous}::LSRInstance::Expand(const {anonymous}::LSRFixup&, const
{anonymous}::Formula&, llvm::BasicBlock::iterator, llvm::SCEVExpander&,
llvm::SmallVectorImpl<llvm::WeakVH>&) const’:
LoopStrengthReduce.cpp:2820:52: error: call of overloaded
‘next(llvm::BasicBlock::iterator)’ is ambiguous
BetterPos = 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:27: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 = 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:30,
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 =
llvm::ilist_iterator<llvm::Instruction>; typename
std::iterator_traits<_Iter>::difference_type = long int]
next(_ForwardIterator __x, typename
^
/bin/rm: cannot remove
‘/home/rtiwari1/llvm_project/llvm/lib/Transforms/Scalar/Release/LoopStrengthReduce.d.tmp’:
No such file or directory
make[3]: ***
[/home/rtiwari1/llvm_project/llvm/lib/Transforms/Scalar/Release/LoopStrengthReduce.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
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"