开发者

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

开发者 https://www.devze.com 2023-01-08 02:58 出处:网络
I\'m trying to build android system ; enviroment: ubuntu 10.04, 开发者_运维知识库gcc-4.4 jdk 1.6-0-20

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

精彩评论

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