leducp commented on issue #14002:
URL: https://github.com/apache/nuttx/issues/14002#issuecomment-2404912794

   I didn't have this snippet but this one:
   ```
       .init_section :
       {
           _sinit = ABSOLUTE(.);
           KEEP(*(SORT_BY_INIT_PRIORITY(.init_array.*) 
SORT_BY_INIT_PRIORITY(.ctors.*)))
           KEEP(*(.init_array .ctors))
           _einit = ABSOLUTE(.);
       } > flash
   ```
   
   I tried yours but it is worse libcxx with no impact on libstdc++?
   
   libcxx:
   ```
   nsh> cxxtest
   task_spawn: name=cxxtest entry=0xc0481a9 file_actions=0x200141d0 
attr=0x200141d4 argv=0x200142cc
   spawn_execattrs: Setting policy=2 priority=100 for pid=2
   nxtask_activate: cxxtest pid=2,TCB=0x20014758
   Test ofstream ================================
   printf: Starting test_ostream
   printf: Successfully opened /dev/console
   cout: Succe
   ```
   
   libstdc++ (with cout patch, without it crash immediatly): no impact (working)
   
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to