echuraev opened a new pull request, #13118:
URL: https://github.com/apache/tvm/pull/13118

   With NDK>= 23 when we specify explicitly linker then we got the following 
error:
   
   ```
   ld.gold: --no-rosegment: unknown option
   ```
   
   From the github repository of NDK, I found that the only one right way to 
configure linker is using `-DANDROID_LD` variable: 
https://github.com/android/ndk/issues/1426#issuecomment-760432467
   
   Removed setting linker manually and by default `LLD` will be used.
   
   Checked that it works on the following versions of NDK:
   - 20.0.5594570
   - 21.4.7075529
   - 22.1.7171670
   - 23.0.7599858
   - 23.1.7779620
   - 24.0.8215888
   - 25.1.8937393
   
   cc: @csullivan, @elvin-n  


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

Reply via email to