Android port problems

Tor Lillqvist tml at iki.fi
Thu May 17 04:54:16 PDT 2012


>        How do Mozilla get away without any text relocations ?

They do some hack to avoid the problematic crtbegin.o object when
linking their shared objects, if I understand correctly. See
https://bugzilla.mozilla.org/show_bug.cgi?id=720621 . And they
apparently don't use the shared GNU C++ library (which as present in
the NDK, libgnustl_shared.so, also contains a text relocation), but
either the static GNU C++ library from the NDK, or manage with the
system C++ library. (Check the .so files included in the fennec .apk,
http://ftp.mozilla.org/pub/mozilla.org/mobile/nightly/latest-mozilla-central-android-r7/
)

--tml


More information about the LibreOffice mailing list