On 20 September 2012 17:09, Stephan Bergmann <sbergman@redhat.com> wrote:
On 09/20/2012 04:00 PM, Matúš Kukan wrote:
I see, so it will be a little complicated with exporting symbols.
Currently, there is even .map file used. (probably, I don't know how
dmake works)
I've removed .map files, allowed to turn of -fvisibility=hidden in
https://gerrit.libreoffice.org/#/c/658/
and then tried to convert neon in
https://gerrit.libreoffice.org/#/c/659/
Seems to work for me on Linux.
Is this approach right ?
In case that dramatically increases the amount of symbols exported from
neon, it might make sense to keep the mapfile, no?
Originally, I wanted to keep it.
But current gbuild implementation of gb_Library_set_soversion_script
is linux only anyway
(with, in this case pointless, SOVERSION number)
and it just seemed unnecessary to me. ( maybe I am lazy )
What's the output of "nm -D --defined solver/*/lib/libneon,so | wc -l" for
you with those changes? For me the old one is 280.
the old one:
nm -D --defined solver/*/lib/libneon.so | wc -l : 285
ll solver/*/lib/libneon.so* : 1732824
the new one, without .map file:
330
1732932
new one, with .map file:
283
1732672
So, it's best, but linux only and the size is almost the same.
Thanks,
Matus
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.