tom-gall opened a new pull request #6416:
URL: https://github.com/apache/incubator-tvm/pull/6416


   add -static-libgcc to target_link_libraries for tvm to fix arm64 native 
build.
   
   The central issue /tvm/build/libtvm.so: undefined symbol: __extendhftf2 
manifests itself
   when first loading libtvm.so.
   
   This is due to src/relay/transforms/pattern_util.h making use of
   reinterpret_cast<__fp16*>(array->data)[i];
   
   It could be argued this is a distro (debian)  gcc compiler bug and that 
avenue
   is being looked into. In the meantime, this fixes the issue.
   
   Fixes https://github.com/apache/incubator-tvm/issues/6415
   
   Signed-off-by: Tom Gall <[email protected]>
   


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