https://bugs.freedesktop.org/show_bug.cgi?id=44618
--- Comment #5 from Thierry Reding <thierry.red...@avionic-design.de> 2012-01-13 06:41:16 PST --- Now that Mesa actually builds past the src/glsl directory I get an internal compiler error when building src/mesa/swrast/s_span.c. I was able to bisect the ICE to this commit: 3d7c5a4f6f4155e249f6eac76d861eb1bc59eb69 I'm cross-compiling for ARM and the ICE can be triggered by some combination of optimization flags. I use this command line: (cd src/mesa && arm-none-linux-gnueabi-gcc -c -o swrast/s_span.o swrast/s_span.c -DFEATURE_GL=1 -DFEATURE_ES1=1 -DFEATURE_ES2=1 -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DUSE_XSHM -DHAVE_MINCORE -DHAVE_LIBUDEV -I../../include -I../../src/glsl -I../../src/mesa -I../../src/mapi -I../../src/gallium/include -I../../src/gallium/auxiliary -mlittle-endian -mapcs -mabi=aapcs-linux -g -O2 -marm -march=armv7-a -mtune=cortex-a9 -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fno-builtin-memcmp -fPIC -fvisibility=hidden -save-temps -v) The error goes away if I, for instance, replace -O2 with -O1. It also goes away if I drop either of the -mfloat-abi=hard or -mtune=cortex-a9 flags. I was able to reproduce this with a number of CodeSourcery toolchains all the way back until 2009q3. 2009q1 builds the file properly. I guess I should be reporting that to GCC, right? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev