GSoC Weekly Report 2: LibreOffice for Android - Gautam Prajapati

Gautam Prajapati gautamprajapati06 at gmail.com
Mon Jun 12 14:09:36 UTC 2017


Hi All!

This week started with me trying to understand the problem in bridges/
module with clang toolchain.
There were two major errors which I had to solve--

The first problem was with clang being rejecting incompatible declarations
of the same extern "C" function under different namespaces.
With the help of Miklos, I came across one of the earlier commits of sberg,
which fixed the same issue for linux_x86-64. I understood the changes in
that commit and replicated those for gcc_arm bridge.

The second problem required me to understand some portion of the exception
handling implementation in G++ and Clang compilers.
Exception handling in LO for arm is implemented taking into account the GCC
toolchain. Based on the differences between the two implementations, I did
some changes to the code but turned out they were not sufficient. I built
the source and ran the app but it crashed with an SIGSEGV error,  I'm
currently working on backtracing it.

Apart from these major errors, I did some minor tweaks to suppress the
warnings about unused variables, unattended fall throughs etc. and also
tackled a linker error with integer multiplication overflow check in
include/o3tl/safeint.hxx.

Progress of clang switch task can be found here:
https://gerrit.libreoffice.org/#/c/38438/

Regards,
Gautam Prajapati
IRC Nick - brainbreaker[m]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20170612/b1ea3045/attachment.html>


More information about the LibreOffice mailing list