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/03/17 10:28:21 UTC

[GitHub] [tvm] leandron opened a new issue #7683: Golang tests (currently disabled) are broken with "undefined reference to `tvm::runtime::DenseMapNode::kNextProbeLocation'"

leandron opened a new issue #7683:
URL: https://github.com/apache/tvm/issues/7683


   I'm just reporting it here as I noticed the issue, but really know nothing about Go to be able to fix it.
   
   When investigating the issue, I also noticed that Go tests are currently disabled in upstream CI:
   https://github.com/apache/tvm/blob/4abbe4902e451cc5a963b8b60a70e548d48ace62/Jenkinsfile#L186-L191
   
   When running these tests as part of an internal CI job, it looks like they are broken for about 8 days (since 10th March). The error I see is this, when trying to run `./tests/scripts/task_golang.sh`:
   
   ```
   make: Entering directory '/workspace/golang'
   make[1]: Entering directory '/workspace/golang/sample'
   make[1]: Leaving directory '/workspace/golang/sample'
   make: Leaving directory '/workspace/golang'
   make: Entering directory '/workspace/golang'
   # gotvm
   /tmp/go-build490307376/b001/_x013.o: In function `tvm::runtime::DenseMapNode::ListNode::MoveToNext(tvm::runtime::DenseMapNode const*, unsigned char)':
   tvm_runtime_pack.cc:(.text._ZN3tvm7runtime12DenseMapNode8ListNode10MoveToNextEPKS1_h[_ZN3tvm7runtime12DenseMapNode8ListNode10MoveToNextEPKS1_h]+0x1d): undefined reference to `tvm::runtime::DenseMapNode::kNextProbeLocation'
   /tmp/go-build490307376/b001/_x013.o: In function `tvm::runtime::DenseMapNode::ListNode::GetNextEmpty(tvm::runtime::DenseMapNode const*, unsigned char*, tvm::runtime::DenseMapNode::ListNode*) const':
   tvm_runtime_pack.cc:(.text._ZNK3tvm7runtime12DenseMapNode8ListNode12GetNextEmptyEPKS1_PhPS2_[_ZNK3tvm7runtime12DenseMapNode8ListNode12GetNextEmptyEPKS1_PhPS2_]+0x3f): undefined reference to `tvm::runtime::DenseMapNode::kNextProbeLocation'
   collect2: error: ld returned 1 exit status
   Makefile:33: recipe for target 'all' failed
   make: *** [all] Error 2
   make: Leaving directory '/workspace/golang'
   ```
   
   @tqchen any idea why the Go tests are disabled? Is that something we want to re-enable?
   
   cc @srkreddy1238 @zhiics 


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



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

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


   see #7841


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



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

Posted by GitBox <gi...@apache.org>.
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



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

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


   cc @tkonolige @junrushao1994 could be related to recent container migration PR


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



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

Posted by GitBox <gi...@apache.org>.
tqchen closed issue #7683:
URL: https://github.com/apache/tvm/issues/7683


   


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