Exporting all symbols
dirk.feytons at gmail.com
Tue Mar 15 13:33:09 UTC 2016
With the introduction of the dynamic modules feature nginx is now always
exporting its symbols. This is a bit unfortunate for our use case: we
incorporate nginx in an embedded device and keep the binary size down by
only enabling a couple (static) modules and removing unused symbols with
-ffunction-sections -fdata-sections and -Wl,--gc-sections. This makes quite
a difference but it now no longer works due to the hardcoded -Wl,-E
I can easily patch the build system but I'm hoping for an official
solution. Perhaps some build flag to disable support for dynamic modules?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx-devel