pussuw commented on PR #6197:
URL: https://github.com/apache/incubator-nuttx/pull/6197#issuecomment-1135675788

   > > More complex dependencies, aeabi_atexit (C++ enabled) creates an 
implicit dependency to the atexit functions
   > > ```
   > >  arm-none-eabi-ld: 
/github/workspace/sources/nuttx/staging/libc.a(aeabi_atexit.o): in function 
`__aeabi_atexit':
   > > /github/workspace/sources/nuttx/libs/libc/machine/arm/aeabi_atexit.c:53: 
undefined reference to `__cxa_atexit'
   > > arm-none-eabi-ld: 
/github/workspace/sources/nuttx/staging/libapps.a(symtab.c.github.workspace.sources.apps.examples.elf.o):(.rodata.g_elf_exports+0x1c):
 undefined reference to `__dso_handle'
   > > ```
   > 
   > let's call your new atexit_register function in aeabi_atexit, the empty 
macro could help out in this case.
   
   Ok, I can change that but I still think we need to have 1 exit callback 
function in case CXX is used.


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