glCompileShader segfaults and/or fails to compile valid shaders with errors like "gl_Position not written in vertex shader". Bisected first bad commit is 566430, which seems to be the first part of a two-part commit to fix #29305.
Please try a clean rebuild.
(In reply to comment #1) > Please try a clean rebuild. I discussed with Vinson who suggested the same, this made me realize that I was building with clang... as I've been experimenting with it for quite some time without problems I forgot Mesa was built with it on my experimental setup. So the issue is probably triggered by a Clang bug, or perhaps but very unlikely a gcc bug. Should I close the bug now as Clang is not supposed to be supported (I think?) or keep it open while I've not yet investigated the real underlying issue ?
Cedric, I'll reassign this bug to you. If you choose to continue investigating and if it turns out that there's something for Mesa, reassign it back to mesa-dev. Otherwise, feel free to close this issue.
Problem is gone with clang-devel (as of rev. 110034). Closing the bug.
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.