Bug 29337 - glsl2: GLSL compiler errors with most piglit tests
Summary: glsl2: GLSL compiler errors with most piglit tests
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-31 22:48 UTC by Tom Stellard
Modified: 2010-08-02 15:50 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Valgrind output for glsl-fs-exp piglit test. (37.00 KB, text/plain)
2010-07-31 22:48 UTC, Tom Stellard
Details
config.log from my mesa build (31.27 KB, text/plain)
2010-07-31 22:49 UTC, Tom Stellard
Details

Description Tom Stellard 2010-07-31 22:48:22 UTC
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.
Comment 1 Tom Stellard 2010-07-31 22:49:15 UTC
Created attachment 37495 [details]
config.log from my mesa build
Comment 2 Ian Romanick 2010-08-02 12:23:06 UTC
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?
Comment 3 Tom Stellard 2010-08-02 15:50:13 UTC
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.