Undefined symbol PLT #697 posix_memalign in ./libhexagon_rpc_skel.so

I do not find where the posix_meamalign to be defined. I use honor 畅玩30. I have made some attempts to change posix_memalign to memalign:

  1. I change the some code:

the result is that it can compile successfully and open the skel.so successfully without saying “posix_memalign is undefined”

  1. base the change in 1, I tried next:

the result is that it can not compile successfully for undefined memalign
then I change ${tvm_root}/apps/hexagon_api/CMakeList.txt


and it can compile successfully and can open the skel.so without saying “posix_memalign is undefined”

With the above attempts, I got hexagon_rpc_send failed :rofl: