liangfu commented on pull request #5921:
URL: https://github.com/apache/incubator-tvm/pull/5921#issuecomment-656494499


   Thanks @areusch .
   
   I tried to run `make` in `apps/bundle_deploy`, and failed with following 
error
   
   ```
   g++ -shared -g -Wall -std=c++14 -O2 -fPIC 
-I/home/ubuntu/workspace/tvm/include 
-I/home/ubuntu/workspace/tvm/3rdparty/dmlc-core/include 
-I/home/ubuntu/workspace/tvm/3rdparty/dlpack/include -Icrt_config 
-fvisibility=hidden -o build/bundle.so  bundle.cc build/model.o 
build/func_registry.o build/crt/graph_runtime/libgraph_runtime.a 
build/crt/common/libcommon.a -pthread
   /usr/bin/ld: build/crt/common/libcommon.a(crt_runtime_api.o): relocation 
R_X86_64_PC32 against symbol `TVMAPIErrorf' can not be used when making a 
shared object; recompile with -fPIC
   /usr/bin/ld: final link failed: Bad value
   collect2: error: ld returned 1 exit status
   Makefile:103: recipe for target 'build/bundle.so' failed
   make: *** [build/bundle.so] Error 1
   ```
   
   In addition, the inference speed slowed down comparing to the `llvm 
--system-lib` approach, and there are lots of unused-variable warnings in 
build/model.c.
   
   Did I make any wrong attempt in running the demo?


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