inochisa commented on issue #12603: URL: https://github.com/apache/nuttx/issues/12603#issuecomment-2210212242
> > > Is it possible to always enable "--whole-archive" for all library? As `DEBUG_OPT_UNUSED_SECTIONS` is enabled by default, it may have no change for the final binary. > > > > > > @xiaoxiang781216 and @tmedicci would you know about "--whole-archive" and `DEBUG_OPT_UNUSED_SECTIONS`? Sorry I'm not sure about this. > > --whole-archive will pack all library into one before linking. The [man](https://www.man7.org/linux/man-pages/man1/ld.1.html) says it changes the symbol searching. -- 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]
