Hi,I build hexagon_api for dsp v66, but encounting an error “undefined symbol PLT #697 posix_memalign in ./libhexagon_rpc_skel.so”
my cmake options are :
the version of hexagon sdk is 5.0.0.0, and the version of ndk is r19c.I use the main branch of TVM. I can build and run successfully if I let the dsp arch to be v68. But it will fail to open skel when runing in phone, if the dsp arch setted to be v66 when using the cmake option(can build successfully, but can not run successfully for “undefined-symbol plt posix_memalign in libhexagonrpcskel.so”)
hello,I doubt that if there is missing the lib which contain “posix_memalign” function.The phone is android 11,and I find libc.so that has “posix_memalign” function in the path “/system/lib” and “/system/lib64”.Can you help me figure out the question?
hello, I use posix_memalign in skel.so, but meet the same fialure.If use memalign, it can run successfully.I check the "libhexagon_rpc_skel.so”, it link to libc++.so, then the libc++.so link to libc.so which defined the function “posix_memalign” and “memalign”, can you tell me where the place of libc.so in the phone?
After I change posix_memalign to memalign, the skel.so can be opened successfully, but I get some error when execute a_tvm = tvm.nd.array(a_numpy, device=session.device), the device is dsp.The error is showed in the picture