PhilippvK commented on PR #16999:
URL: https://github.com/apache/tvm/pull/16999#issuecomment-2120516634

   > What effect did the non-const `.rodata` have, and can we also add a test 
case for it?
   
   I got the following linker warnings when building using a recent RISC-V Gnu 
toolchain:
   
   ```
   ld: warning: ../bin/prog has a LOAD segment with RWX permissions
   ```
   
   I first expected this to be a bug in the linker script but found the TVM bug 
when trying to solve it.
   
   At runtime (instruction set simulation) this had no impact. However I did 
not tried it on other architectures.
   
   I have no idea if turning this specific linker-warning into an error is 
feasible. I guess `--fatal-warnings` would catch it, but we would threat any 
warning as an error (like `gcc -Wall`) which is probably to much.
   
   
   


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