You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/07/10 13:49:04 UTC

[GitHub] [tvm] lindylin1817 opened a new issue, #12049: [Bug] Build error with the current TVM main version

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: commits-unsubscribe@tvm.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] everton1984 commented on issue #12049: [Bug] Build error with the current TVM main version

Posted by GitBox <gi...@apache.org>.
everton1984 commented on issue #12049:
URL: https://github.com/apache/tvm/issues/12049#issuecomment-1180480162

   @lindylin1817 Could you please specify a bit more of the context? Which CPU, toolchain? It's working for me here.


-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] masahi closed issue #12049: [Bug] Build error with the current TVM main version

Posted by GitBox <gi...@apache.org>.
masahi closed issue #12049: [Bug] Build error with the current TVM main version 
URL: https://github.com/apache/tvm/issues/12049


-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] masahi commented on issue #12049: [Bug] Build error with the current TVM main version

Posted by GitBox <gi...@apache.org>.
masahi commented on issue #12049:
URL: https://github.com/apache/tvm/issues/12049#issuecomment-1181216595

   https://github.com/apache/tvm/pull/12054


-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org