PengZheng opened a new issue, #675:
URL: https://github.com/apache/celix/issues/675

   Currently, to support embedded bundles, we use linker flag 
`--export-dynamic` to make the added symbols visible to `dlopen`.
   This flag will export all symbols, and thus will make `gc-sections` useless.
   
   Considering the use case of embedded Celix into a large legacy application 
([1]), which relies `gc-sections` to reduce its binary footprint, I suggest 
exporting less by using `--export-dynamic-symbol`.
   
   [1] https://lists.apache.org/thread/tdl6zt8dh34ynh8cz32rxs8o957ljlzt


-- 
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: dev-unsubscr...@celix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to