casaroli commented on code in PR #20812:
URL: https://github.com/apache/nuttx/pull/20812#discussion_r4319970041


##########
cmake/nuttx_add_library.cmake:
##########
@@ -265,6 +265,41 @@ function(nuttx_add_extra_library)
   endforeach()
 endfunction()
 
+# =============================================================================

Review Comment:
   Done: the module link now uses `--wrap=__emutls_get_address 
--wrap=__emutls_register_common`, so the module keeps 
`__wrap___emutls_get_address` undefined and the loader binds it to libc. The 
copies of libgcc are gone. A module of a flat build does not link libc, so the 
library order alone cannot help there.
   



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