Merge: nitc/android: rely on Android's native stacktrace, drop MIPS support and tempo...
authorJean Privat <jean@pryen.org>
Mon, 9 Nov 2015 15:38:55 +0000 (10:38 -0500)
committerJean Privat <jean@pryen.org>
Mon, 9 Nov 2015 15:38:55 +0000 (10:38 -0500)
commit883a6deafab95f0c7cc675094e66add5a4e45779
tree9e3bd7d6a06141c8c3cc106fca88ec4a0e3ebc87
parenta406c1484ee4c70609119d626aaa434984c7ccee
parent12315c468ba0fbca31afcbd8e7d8e48ea177cd6d
Merge: nitc/android: rely on Android's native stacktrace, drop MIPS support and temporarily disable the GC

This PR tweaks basic Nit features on Android so it is more practical on the short-middle term.

It is better to not handle signals on Android so that it falls back on the Android stacktrace, which is pretty useful for debugging. We might want to handle the signals once we successfully integrate libunwind to the Android apps.

Dropping MIPS support saves some compilation time. The related commit can be reverted when supporting MIPS is useful.

This PR also deactivates the GC on Android as it is currently broken. Unexpected behaviors happen more frequently when using the Java FFI in a threaded app. There are possible solutions to this problem; newer versions of libgc are tweaked for Android, better compilation configs may help, and double checking the Android lib for objects that should be pinned for use from Java...

Pull-Request: #1819
Reviewed-by: Jean Privat <jean@pryen.org>
src/compiler/abstract_compiler.nit