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/03/31 18:24:26 UTC

[GitHub] [incubator-nuttx] gustavonihei commented on issue #5916: libc++ on sim is broken

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

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