[Bug 235213] devel/ikos: fails to build with llvm80

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jan 26 09:09:13 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235213

            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 at freebsd.org
          Reporter: jbeich at FreeBSD.org
          Assignee: yuri at freebsd.org
             Flags: maintainer-feedback?(yuri at freebsd.org)

As only one LLVM version is supported this port shouldn't use LLVM_DEFAULT.

$ echo "DEFAULT_VERSIONS += llvm=80" >>${__MAKE_CONF:-/etc/make.conf}
$ make
[...]
-- Found LLVM: /usr/local/llvm80 (found version "8.0.0") 
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 =
                                                   ^
/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() == 0;
                              ~~~  ^
2 errors generated.

build log: https://ptpb.pw/OkhB

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list