开发者

build android system on ubuntu 10.04 x86-64 occrur internal compiler error

I'm trying to build android system ; enviroment: ubuntu 10.04, 开发者_运维知识库gcc-4.4 jdk 1.6-0-20 get source code follows http://source.android.com/source/download.html

$ . build/envsetup.sh

$ choosecombo

$ make

then compiler error occurs:

frameworks/base/opengl/libagl/egl.cpp:1955: instantiated from here frameworks/base/opengl/libagl/egl.cpp:72: warning: comparison between signed and unsigned integer expressions frameworks/base/opengl/libagl/egl.cpp:74: warning: comparison between signed and unsigned integer expressions

frameworks/base/opengl/libagl/egl.cpp: In 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, at tree-phinodes.c:391

in line 554: the code below: const Region copyBack(Region::subtract(oldDirtyRegion, dirtyRegion));

Any one know the solution ? roll back to gcc4.3 may not a nice solution


try to remove const from the line below

const Region copyBack(Region::subtract(oldDirtyRegion, dirtyRegion))

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜