-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Description
-- Found TVM_LLVM_VERSION=200
-- Found TVM_LLVM_HAS_AARCH64_TARGET=0
-- Build with LLVM
-- Set TVM_LLVM_VERSION=200
-- Build with contrib.random
-- Build with contrib.sort
-- Git found: /usr/bin/git
-- Found TVM_GIT_COMMIT_HASH=87f478ed30a9b273e27f435d2fbd010dcf3b7848
-- Found TVM_GIT_COMMIT_TIME=2026-01-27 13:55:36 +0800
-- Detected target triple: x86_64-linux-gnu
-- Setting C++ macro TVM_FFI_USE_LIBBACKTRACE - 1
-- Setting C++ macro TVM_FFI_BACKTRACE_ON_SEGFAULT - 1
-- Building with TVM Map...
-- Build with thread support...
-- CLANG_VERSION 20.0
-- Setting enhanced clang warning flags
-- Added "-fuse-ld=lld" to linker flags
-- Configuring done (3.7s)
-- Generating done (0.2s)
/home/richard/data/tvm-build/tvm/src/target/llvm/codegen_llvm.cc:2284:29: error: no matching member function for call to 'insertDeclare'
2284 | dbg_info_->di_builder_->insertDeclare(
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/data/richard/rocm-all-libs-build/rocm-install/include/llvm/IR/DIBuilder.h:1018:16: note: candidate function not viable: no known conversion from 'llvm::BasicBlock::iterator' (aka 'ilist_iterator_w_bits<llvm::ilist_detail::node_options<llvm::Instruction, true, false, void, true, llvm::BasicBlock>, false, false>') to 'BasicBlock *' for 5th argument
1018 | DbgInstPtr insertDeclare(llvm::Value *Storage, DILocalVariable *VarInfo,
| ^
1019 | DIExpression *Expr, const DILocation *DL,
1020 | BasicBlock *InsertAtEnd);
| ~~~~~~~~~~~~~~~~~~~~~~~
/data/richard/rocm-all-libs-build/rocm-install/include/llvm/IR/DIBuilder.h:1047:16: note: candidate function not viable: no known conversion from 'llvm::BasicBlock::iterator' (aka 'ilist_iterator_w_bits<llvm::ilist_detail::node_options<llvm::Instruction, true, false, void, true, llvm::BasicBlock>, false, false>') to 'Instruction *' for 5th argument
1047 | DbgInstPtr insertDeclare(llvm::Value *Storage, DILocalVariable *VarInfo,
| ^
1048 | DIExpression *Expr, const DILocation *DL,
1049 | Instruction *InsertBefore);
| ~~~~~~~~~~~~~~~~~~~~~~~~~
/data/richard/rocm-all-libs-build/rocm-install/include/llvm/IR/DIBuilder.h:98:16: note: candidate function not viable: requires 6 arguments, but 5 were provided
98 | DbgInstPtr insertDeclare(llvm::Value *Storage, DILocalVariable *VarInfo,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
99 | DIExpression *Expr, const DILocation *DL,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
100 | BasicBlock *InsertBB, Instruction *InsertBefore);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/richard/data/tvm-build/tvm/src/target/llvm/codegen_llvm.cc:2328:29: error: no matching member function for call to 'insertDeclare'
2328 | dbg_info_->di_builder_->insertDeclare(
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/data/richard/rocm-all-libs-build/rocm-install/include/llvm/IR/DIBuilder.h:1018:16: note: candidate function not viable: no known conversion from 'llvm::BasicBlock::iterator' (aka 'ilist_iterator_w_bits<llvm::ilist_detail::node_options<llvm::Instruction, true, false, void, true, llvm::BasicBlock>, false, false>') to 'BasicBlock *' for 5th argument
1018 | DbgInstPtr insertDeclare(llvm::Value *Storage, DILocalVariable *VarInfo,
| ^
1019 | DIExpression *Expr, const DILocation *DL,
1020 | BasicBlock *InsertAtEnd);
| ~~~~~~~~~~~~~~~~~~~~~~~
/data/richard/rocm-all-libs-build/rocm-install/include/llvm/IR/DIBuilder.h:1047:16: note: candidate function not viable: no known conversion from 'llvm::BasicBlock::iterator' (aka 'ilist_iterator_w_bits<llvm::ilist_detail::node_options<llvm::Instruction, true, false, void, true, llvm::BasicBlock>, false, false>') to 'Instruction *' for 5th argument
1047 | DbgInstPtr insertDeclare(llvm::Value *Storage, DILocalVariable *VarInfo,
| ^
1048 | DIExpression *Expr, const DILocation *DL,
1049 | Instruction *InsertBefore);
| ~~~~~~~~~~~~~~~~~~~~~~~~~
/data/richard/rocm-all-libs-build/rocm-install/include/llvm/IR/DIBuilder.h:98:16: note: candidate function not viable: requires 6 arguments, but 5 were provided
98 | DbgInstPtr insertDeclare(llvm::Value *Storage, DILocalVariable *VarInfo,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
99 | DIExpression *Expr, const DILocation *DL,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
100 | BasicBlock *InsertBB, Instruction *InsertBefore);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated when compiling for gfx1102.