[Bug 92506] [regression, bisected] mesa glsl fails to compile

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 16 20:18:17 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=92506

            Bug ID: 92506
           Summary: [regression, bisected] mesa glsl fails to compile
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: blocker
          Priority: medium
         Component: glsl-compiler
          Assignee: idr at freedesktop.org
          Reporter: mark.a.janes at intel.com
        QA Contact: intel-3d-bugs at lists.freedesktop.org

The following commit broke mesa compilation for the Intel CI:

Author:     Rob Clark <robclark at freedesktop.org>
AuthorDate: Sat Oct 10 13:55:07 2015 -0400
Commit:     Rob Clark <robclark at freedesktop.org>
CommitDate: Fri Oct 16 19:33:38 2015 -0400

    nir: remove dependency on glsl

    Move glsl_types into NIR, now that the dependency on glsl_symbol_table
    has been split out.

    Possibly makes sense to rename things at this point, but if we do that
    I'd like to keep it split out into a separate patch to make git history
    easier to follow (IMHO).

    v2: fix android build
    v3: I f***ing hate scons.. but at least it builds

    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Signed-off-by: Rob Clark <robclark at freedesktop.org>


   /home/majanes/src/mesa_jenkins/repos/mesa/src/glsl/ir.h:33:24: fatal error: 
glsl_types.h: No such file or directory
compilation terminated.

glsl_types.h is gone, but the build still needs types that were declared in
that file.  Removing the #include gives:

/home/majanes/src/mesa_jenkins/repos/mesa/src/glsl/ir.h: In member function
'bool ir_variable::is_interface_instance() const':
/home/majanes/src/mesa_jenkins/repos/mesa/src/glsl/ir.h:484:24: error: invalid
use of incomplete type 'const struct glsl_type'
       return this->type->without_array() == this->interface_type;

FWIW, here is my configure parameters, on Debian testing:
> mesa/configure PKG_CONFIG_PATH=/tmp/build_root/m64/lib/x86_64-linux-gnu/pkgconfig:/tmp/build_root/m64/lib/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig -m64 --prefix=/tmp/build_root/m64 CFLAGS=-m64 -O2 -DNDEBUG CXXFLAGS=-m64 -O2 -DNDEBUG --enable-gbm --with-egl-platforms=x11,drm,surfaceless --enable-glx-tls --enable-gles1 --enable-gles2 --with-dri-drivers=i965,swrast,i915 --disable-xvmc --disable-vdpau --without-gallium-drivers

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20151017/1324f216/attachment.html>


More information about the intel-3d-bugs mailing list