Comment 11 for bug 787072

Revision history for this message
Jim Huang (jserv) wrote : Re: Release a Linaro GCC 4.5 and 4.6 2011-05 x86 tarball and build platform code with it

Several developers encountered 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.