Closed Anthony-Mai closed 5 years ago
The issue was discovered by: http://ci.tvm.ai:8080/blue/organizations/jenkins/tvm/detail/PR-2445/9/pipeline/36 The unresolved externals are all from the HalideIR component. For example: ir_functor_test.cc:(.text._ZN3tvm2ir11ExprFunctorIFiRKN8HalideIR4ExprEiEE10InitVTableEv[_ZN3tvm2ir11ExprFunctorIFiRKN8HalideIR4ExprEiEE10InitVTableEv]+0x1b3b): undefined reference to `tvm::Node::TypeKey2Index(char const*)'
ir_functor_test.cc:(.text._ZN3tvm2ir11ExprFunctorIFiRKN8HalideIR4ExprEiEE10InitVTableEv[_ZN3tvm2ir11ExprFunctorIFiRKN8HalideIR4ExprEiEE10InitVTableEv]+0x1b72): undefined reference to `tvm::Node::TypeIndex2Key(unsigned int)' This is needed for pull request: https://github.com/dmlc/tvm/pull/2445
Previous the build default to export all symbols, which is inefficient, and a change was made to do explicit exports. So now some of the symbols become unresolved external symbols and need to be explicitly exported.