WsqRichards opened a new issue, #18709:
URL: https://github.com/apache/tvm/issues/18709
-- 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]