How to use internal neon ?

Matúš Kukan matus.kukan at gmail.com
Thu Sep 20 09:38:56 PDT 2012


On 20 September 2012 17:09, Stephan Bergmann <sbergman at 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


More information about the LibreOffice mailing list