Compiling Android 4.0 to Panda Board

First patch I need to apply:

https://github.com/jlebar/android-build/commit/96d5e8f1a10acef523ccf7e9f47d33398f98ffdc

build/core/combo/HOST_linux-x86.mk
# Disable new longjmp in glibc 2.11 and later. See bug 2967937.
-HOST_GLOBAL_CFLAGS += -D_FORTIFY_SOURCE=0
+HOST_GLOBAL_CFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0

Other error caused on oprofile could be fixed with this patch:

http://permalink.gmane.org/gmane.linux.oprofile/9152

Create symbolic link to fix -lX11 and -lGL errors:

$ sudo ln -s /usr/lib32/libX11.so.6 /usr/lib32/libX11.so
$ sudo ln -s /usr/lib32/libGL.so.1.2 /usr/lib32/libGL.so