Theoo1997 opened a new issue, #12771: URL: https://github.com/apache/tvm/issues/12771
Hi, I am trying to run the tflite [demo](https://tvm.apache.org/docs/how_to/work_with_microtvm/micro_tflite.html#microtvm-with-tflite) that you have for uTVM. I install TVM from [source](https://tvm.apache.org/docs/install/from_source.html). When I run the .py file the above problem appears: ``` /usr/bin/ld: build/crt/libmicrotvm_rpc_common.a(crcccitt.o): relocation R_X86_64_32S against symbol `crc_tabccitt' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: build/crt/libaot_executor_module.a(aot_executor_module.o): relocation R_X86_64_32S against `.bss' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: build/crt/libgraph_executor_module.a(graph_executor_module.o): relocation R_X86_64_32S against `.bss' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: build/crt/libgraph_executor.a(graph_executor.o): relocation R_X86_64_32S against symbol `stderr@@GLIBC_2.2.5' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: build/crt/libgraph_executor.a(load_json.o): relocation R_X86_64_32S against symbol `stderr@@GLIBC_2.2.5' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: build/crt/libcommon.a(packed_func.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: build/crt/libcommon.a(crt_runtime_api.o): relocation R_X86_64_32S against `.bss' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: build/crt/libcommon.a(ndarray.o): relocation R_X86_64_32S against `.rodata.cst8' can not be used when making a PIE object; recompile with -fPIE collect2: error: ld returned 1 exit status make: *** [Makefile:81: build/main] Error 1 Traceback (most recent call last): File "micro_tflite.py", line 309, in <module> generated_project.build() ............. subprocess.CalledProcessError: Command '['make', 'build/main']' returned non-zero exit status 2. ``` Any ideas how to solve that issue? -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
