You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/01/30 10:27:26 UTC

[GitHub] [incubator-nuttx] ptka opened a new pull request #5378: Sim on MacOS M1: ld needs main() visible.

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


   ## Summary
   On MacOS simulation can't be linked --> _main() not found.
   Visible is controlled via "fvisibility=hidden" in Make.defs
   This change explicitly exports main() via an attribute to get the simulation linked.
   
   The attribute is not guarded via HOST_MACOS/HOST_ARM64 assuming the change can be added w/o drawback to all host systems.
   
   This is another small step to get simulation on ARM64 hosts running.Still not complete. As a lot of tweaking is needed to get the simulation linked at all.
   
   ## Impact
   Simulation targets on all host systems.
   
   ## Testing
   MacOS Monterey on MacBook Air M1
   


-- 
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: commits-unsubscribe@nuttx.apache.org

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



[GitHub] [incubator-nuttx] ptka closed pull request #5378: Sim on MacOS M1: ld needs main() visible.

Posted by GitBox <gi...@apache.org>.
ptka closed pull request #5378:
URL: https://github.com/apache/incubator-nuttx/pull/5378


   


-- 
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: commits-unsubscribe@nuttx.apache.org

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



[GitHub] [incubator-nuttx] ptka commented on pull request #5378: Sim on MacOS M1: ld needs main() visible.

Posted by GitBox <gi...@apache.org>.
ptka commented on pull request #5378:
URL: https://github.com/apache/incubator-nuttx/pull/5378#issuecomment-1025259242


   Not yet ready. 


-- 
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: commits-unsubscribe@nuttx.apache.org

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