lindylin1817 opened a new issue, #12049:
URL: https://github.com/apache/tvm/issues/12049
I checked out the latest TVM main version today from github, and built it in
my ubuntu environment. Here is the error I met. Thanks for any help!
```
Consolidate compiler generated dependencies of target tvm_libinfo_objs
[ 1%] Built target project_libbacktrace
[ 1%] Built target tvm_libinfo_objs
Consolidate compiler generated dependencies of target tvm_runtime_objs
[ 10%] Built target tvm_runtime_objs
[ 10%] Built target tvm_runtime
Consolidate compiler generated dependencies of target tvm_objs
[ 10%] Building CXX object
CMakeFiles/tvm_objs.dir/src/target/llvm/codegen_cpu.cc.o
[ 10%] Building CXX object
CMakeFiles/tvm_objs.dir/src/target/llvm/codegen_x86_64.cc.o
[ 10%] Building CXX object
CMakeFiles/tvm_objs.dir/src/target/llvm/intrin_rule_hexagon.cc.o
[ 10%] Building CXX object
CMakeFiles/tvm_objs.dir/src/target/llvm/intrin_rule_llvm.cc.o
[ 10%] Building CXX object
CMakeFiles/tvm_objs.dir/src/target/llvm/intrin_rule_nvptx.cc.o
/home/xwv/xwv/tvm-main/src/target/llvm/codegen_cpu.cc: In member function
'void tvm::codegen::CodeGenCPU::AddDebugInformation(tvm::tir::PrimFunc,
llvm::Function*)':
/home/xwv/xwv/tvm-main/src/target/llvm/codegen_cpu.cc:206:78: error: no
matching function for call to
'tvm::codegen::CodeGenCPU::GetDebugType(tvm::runtime::DataType&, llvm::Type*)'
llvm::DIType* returnTy = GetDebugType(ret_type_tir,
f_llvm->getReturnType());
^
In file included from
/home/xwv/xwv/tvm-main/src/target/llvm/codegen_cpu.cc:25:0:
/home/xwv/xwv/tvm-main/src/target/llvm/codegen_cpu.h:193:17: note:
candidate: llvm::DIType* tvm::codegen::CodeGenCPU::GetDebugType(const
tvm::Type&, llvm::Type*)
llvm::DIType* GetDebugType(const Type& ty_tir, llvm::Type* ty_llvm);
^~~~~~~~~~~~
/home/xwv/xwv/tvm-main/src/target/llvm/codegen_cpu.h:193:17: note: no
known conversion for argument 1 from 'tvm::runtime::DataType' to 'const
tvm::Type&'
[ 10%] Building CXX object
CMakeFiles/tvm_objs.dir/src/target/llvm/intrin_rule_rocm.cc.o
CMakeFiles/tvm_objs.dir/build.make:7047: recipe for target
'CMakeFiles/tvm_objs.dir/src/target/llvm/codegen_cpu.cc.o' failed
make[2]: *** [CMakeFiles/tvm_objs.dir/src/target/llvm/codegen_cpu.cc.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:120: recipe for target 'CMakeFiles/tvm_objs.dir/all'
failed
make[1]: *** [CMakeFiles/tvm_objs.dir/all] Error 2
Makefile:135: recipe for target 'all' failed
make: *** [all] Error 2
```
--
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]