Comment 2 for bug 879725

Revision history for this message
Michael Hope (michaelh1) wrote :

Thank you for the bug report. I've confirmed this with gcc-linaro-4.6-2011.10 on ARM:

michaelh@ursa2:~/linaro/bugs$ /tools/toolchains/arch/armv7l/gcc-linaro-4.6-2011.10-armv7l-natty-cbuild186-ursa3-cortexa9r1/bin/g++ -O2 -mcpu=cortex-a8 -fmodulo-sched -fmodulo-sched-allow-regmoves -c matrix.i
frameworks/base/opengl/libagl/matrix.cpp: In function 'void android::invert(GLfloat*, const GLfloat*)':
frameworks/base/opengl/libagl/matrix.cpp:584:1: internal compiler error: in int_mode_for_mode, at stor-layout.c:490

As noted in the report, the work-arounds are to build for A9 or to disable SMS. The fault does not exist in gcc-linaro-4.6-2011.09, gcc-4.5.3, gcc-4.6.1, or a recent-ish gcc trunk r178624.

I've set it to medium priority as it is a ftbfs, occurs at high optimisation levels, and was introduced or exposed through our changes.