yzh119 opened a new pull request #7839:
URL: https://github.com/apache/tvm/pull/7839


   I met the following error (the same as #7683 ) when trying to build 
`apps/howto_deploy` project:
   ```
   /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
   ```
   Setting the `USE_FALLBACK_STL_MAP=1` fixes the problem for me. However I'm 
not sure why it cannot find reference to `kNextProbeLocation`, I think there is 
some problem with container code, is there a more fundamental solution?
   
   cc @junrushao1994 @tqchen 


-- 
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:
[email protected]


Reply via email to