You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
I have verified before submitting the report.
The text was updated successfully, but these errors were encountered:
Description
Hi, I'm trying to understand the build process of nuttx kernel using the configuration for
sim:posix_spawn
. I see that thesim
architecture has anuttx-names.in
which the linker uses and likely creates thenuttx-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 atsched/pthread_sigmask.c
) but the simulator uses host stdlib'spthread_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
The text was updated successfully, but these errors were encountered: