Hello list,
If you build Android using gcc-linaro-4.5-2011.05 [1], you will
encounter a problem that bootanimation shows endless. It results from
the mis-optimization in libgui, which handles the operations in
Android SensorManager.
To work around this problem, you can apply the following patch:
--- a/libs/gui/Android.mk
+++ b/libs/gui/Android.mk
@@ -18,6 +18,8 @@ LOCAL_SHARED_LIBRARIES := \
LOCAL_MODULE:= libgui
+LOCAL_CFLAGS += -O0
+
ifeq ($(TARGET_SIMULATOR),true)
LOCAL_LDLIBS += -lpthread
endif
Then, replace /system/lib/libgui.so with the newer one.
I didn't look into the details. But at least, Android is able to
serve user interaction again.
Related bug:
https://bugs.launchpad.net/linaro-android/+bug/787072
Sincerely,
-jserv
[1] Prebuilt x86 toolchain for Android:
http://people.linaro.org/~jserv/toolchain/
_______________________________________________
linaro-dev mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/linaro-dev