Ouss4 commented on pull request #5485:
URL: https://github.com/apache/incubator-nuttx/pull/5485#issuecomment-1039114845


   There is this in the documentation:
   > The default is -fno-common, which specifies that the compiler places 
uninitialized global variables in the BSS section of the object file. This 
inhibits the merging of tentative definitions by the linker so you get a 
multiple-definition error if the same variable is accidentally defined in more 
than one compilation unit.
   
   I don't know if the libraries are built with `-fcommon`.


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