You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "PwnVerse (via GitHub)" <gi...@apache.org> on 2024/09/05 19:56:35 UTC

[I] Help with Understanding Simulator Build Process [nuttx]

PwnVerse opened a new issue, #13304:
URL: https://github.com/apache/nuttx/issues/13304

   ### Description
   
   Hi, I'm trying to understand the build process of nuttx kernel using the configuration for `sim:posix_spawn`. I see that the `sim` architecture has a `nuttx-names.in` which the linker uses and likely creates the `nuttx-names.dat` during build process. The symbols I see in this file seem like the linker is trying to redirect some of them to host stdlib whenever available (ex - `pthread_sigmask` has a custom stdlib implementation at `sched/pthread_sigmask.c`) but the simulator uses host stdlib's `pthread_sigmask` (`pthread_sigmask@GLIBC_2.32`). 
   
   There are some functions which get redirected to their custom implementations and some that get redirected towards host stdlib. My question is, when and how is this symbol redirection decided, specifically, how does the linker know which symbols to redirect to custom stdlib and which ones to redirect towards host stdlib?
   
   ### Verification
   
   - [X] I have verified before submitting the report.


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

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


Re: [I] Help with Understanding Simulator Build Process [nuttx]

Posted by "acassis (via GitHub)" <gi...@apache.org>.
acassis commented on issue #13304:
URL: https://github.com/apache/nuttx/issues/13304#issuecomment-2334561531

   @PwnVerse as Greg pointed to Documentation at https://cwiki.apache.org/confluence/display/NUTTX/NuttX+Simulation
   Could you please close this Issue?


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


Re: [I] Help with Understanding Simulator Build Process [nuttx]

Posted by "PwnVerse (via GitHub)" <gi...@apache.org>.
PwnVerse closed issue #13304: Help with Understanding Simulator Build Process
URL: https://github.com/apache/nuttx/issues/13304


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