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 2021/04/13 08:38:56 UTC

[GitHub] [tvm] yzh119 commented on issue #7683: Golang tests (currently disabled) are broken with "undefined reference to `tvm::runtime::DenseMapNode::kNextProbeLocation'"

yzh119 commented on issue #7683:
URL: https://github.com/apache/tvm/issues/7683#issuecomment-818559025


   Met the same problem when trying to build TVM deployment example: https://github.com/apache/tvm/tree/main/apps/howto_deploy.
   
   Error message:
   ```
   /usr/bin/ld: lib/libtvm_runtime_pack.o: in function `tvm::runtime::DenseMapNode::TrySpareListHead(tvm::runtime::DenseMapNode::ListNode, tvm::runtime::ObjectRef const&, tvm::runtime::DenseMapNode::ListNode*)':
   tvm_runtime_pack.cc:(.text._ZN3tvm7runtime12DenseMapNode16TrySpareListHeadENS1_8ListNodeERKNS0_9ObjectRefEPS2_[_ZN3tvm7runtime12DenseMapNode16TrySpareListHeadENS1_8ListNodeERKNS0_9ObjectRefEPS2_]+0xcf): undefined reference to `tvm::runtime::DenseMapNode::kNextProbeLocation'
   /usr/bin/ld: lib/libtvm_runtime_pack.o: in function `tvm::runtime::DenseMapNode::TryInsert(tvm::runtime::ObjectRef const&, tvm::runtime::DenseMapNode::ListNode*)':
   tvm_runtime_pack.cc:(.text._ZN3tvm7runtime12DenseMapNode9TryInsertERKNS0_9ObjectRefEPNS1_8ListNodeE[_ZN3tvm7runtime12DenseMapNode9TryInsertERKNS0_9ObjectRefEPNS1_8ListNodeE]+0x19e): undefined reference to `tvm::runtime::DenseMapNode::kNextProbeLocation'
   ```
   I also tried the patch in #7696 and add `DTVM_USE_LIBBACKTRACE=0` to CXXFLAGS but unfortunately, it doesn't work.


-- 
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.

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