I am trying to build an Android system; Environment: ubuntu 10.04, gcc-4.4 jdk 1.6-0-20 get the source code should be http://source.android.com/source/download.html
$. build /envsetup.sh
$ choosecombo
$ make
a compiler error occurs:
frameworks / base / opengl / libagl / egl.cpp: 1955: created here frameworks / base / opengl / libagl / egl.cpp: 72: warning: comparison of signed and unsigned expressions frameworks / base / opengl / libagl / egl.cpp : 74: warning: comparing signed and unsigned expressions
frameworks / base / opengl / libagl / egl.cpp: In a member function virtual EGLBoolean android :: egl_window_surface_v2_t :: swapBuffers (): frameworks / base / opengl / libagl / egl.cpp: 554: internal compiler error: in add_phi_arg, in tree-phinodes.c: 391
on line 554: the code below: const Region copyBack (Region :: subtract (oldDirtyRegion, dirtyRegion));
Does anyone know a solution? roll back to gcc4.3 may not like
source
share