Created attachment 37494 [details] Valgrind output for glsl-fs-exp piglit test. Most of the piglit tests I try with the glsl2 branch fail with this error (some have more than just this one): Failed to compile FS: 0:2(10): error: function `main' return type has qualifiers The full piglit results are here: http://ix.cs.uoregon.edu/~tstellar/piglit/glsl2/ I've observed this behavior on two different machines, both of which run Gentoo. It seems like it might be a memory bug, I've attached the valgrind output from one of the tests. This test passes when run with valgrind, but fails when run on its own.
Created attachment 37495 [details] config.log from my mesa build
One of the tests in your list is glsl-vs-mat-div-2. That test passes for me. I also don't get any of the errors in glsl-fs-exp that you're getting. I wonder if there's some sort of architecture dependency here. Are you 32-bit or 64-bit?
I upgraded gcc from 4.3.4 to 4.4.3 and now everything works fine.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.