Welcome! Log In Create A New Profile

Advanced

Exporting all symbols

Dirk Feytons
March 15, 2016 09:34AM
Hi,

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?

Thanks,

Dirk F.
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Exporting all symbols

Dirk Feytons 370 March 15, 2016 09:34AM

Re: Exporting all symbols

Ruslan Ermilov 179 March 16, 2016 05:28AM

Re: Exporting all symbols

Dirk Feytons 180 March 16, 2016 08:36AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 154
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready