Date: Sat, 26 Jan 2019 09:09:09 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 235213] devel/ikos: fails to build with llvm80 Message-ID: <bug-235213-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235213 Bug ID: 235213 Summary: devel/ikos: fails to build with llvm80 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: yuri@freebsd.org Reporter: jbeich@FreeBSD.org Assignee: yuri@freebsd.org Flags: maintainer-feedback?(yuri@freebsd.org) As only one LLVM version is supported this port shouldn't use LLVM_DEFAULT. $ echo "DEFAULT_VERSIONS +=3D llvm=3D80" >>${__MAKE_CONF:-/etc/make.conf} $ make [...] -- Found LLVM: /usr/local/llvm80 (found version "8.0.0")=20 CMake Error at frontend/llvm/CMakeLists.txt:127 (message): LLVM 7 is required. [...] frontend/llvm/src/import/function.cpp:1888:52: error: no viable conversion = from 'TinyPtrVector<llvm::DbgVariableIntrinsic *>' to 'TinyPtrVector<llvm::DbgInfoIntrinsic *>' llvm::TinyPtrVector< llvm::DbgInfoIntrinsic* > dbg_addrs =3D ^ /usr/local/llvm80/include/llvm/ADT/TinyPtrVector.h:48:3: note: candidate constructor not viable: no known conversion from 'TinyPtrVector<llvm::DbgVariableIntrinsic *>' to 'const llvm::TinyPtrVector<llvm::DbgInfoIntrinsic *> &' for 1st argument TinyPtrVector(const TinyPtrVector &RHS) : Val(RHS.Val) { ^ /usr/local/llvm80/include/llvm/ADT/TinyPtrVector.h:81:3: note: candidate constructor not viable: no known conversion from 'TinyPtrVector<llvm::DbgVariableIntrinsic *>' to 'llvm::TinyPtrVector<llvm::DbgInfoIntrinsic *> &&' for 1st argument TinyPtrVector(TinyPtrVector &&RHS) : Val(RHS.Val) { ^ /usr/local/llvm80/include/llvm/ADT/TinyPtrVector.h:111:3: note: candidate constructor not viable: no known conversion from 'TinyPtrVector<llvm::DbgVariableIntrinsic *>' to 'std::initializer_list<DbgInfoIntrinsic *>' for 1st argument TinyPtrVector(std::initializer_list<EltTy> IL) ^ /usr/local/llvm80/include/llvm/ADT/TinyPtrVector.h:156:3: note: candidate template ignored: could not match 'ArrayRef' against 'TinyPtrVector' operator ArrayRef<U>() const { ^ /usr/local/llvm80/include/llvm/ADT/TinyPtrVector.h:134:3: note: candidate function operator ArrayRef<EltTy>() const { ^ /usr/local/llvm80/include/llvm/ADT/TinyPtrVector.h:143:3: note: candidate function operator MutableArrayRef<EltTy>() { ^ frontend/llvm/src/import/function.cpp:1894:36: error: no member named 'getExpression' in 'llvm::DbgInfoIntrinsic' return dbg->getExpression()->getNumElements() =3D=3D= 0; ~~~ ^ 2 errors generated. build log: https://ptpb.pw/OkhB --=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-235213-7788>