gustavonihei commented on issue #5916:
URL: 
https://github.com/apache/incubator-nuttx/issues/5916#issuecomment-1084953390


   > I have noticed that if you deselect CONFIG_HAVE_CXXINITIALIZE it doesn't 
crash.
   
   The crash on the described scenario still happens even when deselecting 
`HAVE_CXXINITIALIZE`, because the constructors are being initialized during 
`glibc` startup process, i.e. before NuttX simulator startup code.
   
   The build script already does some trickery to prevent this premature 
initialization, but since **glibc 2.34** it is no longer effective due to a 
refactor on the **glibc** startup process.
   
   PR https://github.com/apache/incubator-nuttx/pull/5923 intends to once again 
restore the same trick.


-- 
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-unsubscr...@nuttx.apache.org

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


Reply via email to