raiden00pl commented on PR #21436:
URL: https://github.com/apache/nuttx/pull/21436#issuecomment-6634591858

   This breaks ELF programs in flat builds with 
CONFIG_EXECFUNCS_SYSTEM_SYMTAB=y and CONFIG_HAVE_CXXINITIALIZE=y: crt0.c now 
calls atexit(), but libs/libc/libc.csv does not export it, so every exec() 
fails with ENOENT (reproduced on qemu-armv8a). Fix:                             
                                                                                
                                                                                
               
                                                                                
                                                                                
                                                                                
                                    
     "atexit","stdlib.h","CONFIG_LIBC_MAX_EXITFUNS > 0","int","CODE void 
(*)(void)"  


-- 
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