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/24 06:00:16 UTC
[GitHub] [incubator-nuttx] zhuyanlinzyl commented on pull request #5321: libxx:uclibxx: add patch use overload constructor of filebuf & ostream
zhuyanlinzyl commented on pull request #5321:
URL: https://github.com/apache/incubator-nuttx/pull/5321#issuecomment-1019747396
The crash is not happen in my GCC build, When I build same code with CLANG-6.0,
The crash is in ios_base::Init::Init()
_cout_filebuf.openedFor = ios_base::out
The reason is global object `_cout_filebuf` was placed in a difference section in CLANG (which specific section I have forgotten now),
when run _cout_filebuf.openedFor = ios_base::out, It crash on on this section can't be writing.
--
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