yamt opened a new pull request #1342:
URL: https://github.com/apache/incubator-nuttx/pull/1342


   ## Summary
   Namely, always use -mcmodel=large.
   
   NuttX modules are loaded into the NuttX heap, which can be out of
   range for 32-bit relocations generated with -mcmodel=small.
   
   A possible alternative would be to use MAP_32BIT to allocate sim heap.
   But I prefer this approach because it's very convenient for me to
   be able to share modules between Linux and macOS sim.
   
   ## Impact
   Linux sim
   
   ## Testing
   manually tested with my local app.
   


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to