[Mesa-dev] [Bug 107511] KHR/khrplatform.h not always installed when needed

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 7 11:43:27 UTC 2018


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

            Bug ID: 107511
           Summary: KHR/khrplatform.h not always installed when needed
           Product: Mesa
           Version: git
          Hardware: All
                OS: All
            Status: NEW
          Severity: blocker
          Priority: medium
         Component: Other
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: brad.king at kitware.com
        QA Contact: mesa-dev at lists.freedesktop.org

Since commit f7d42ee7d3 (include: update GL & GLES headers (v2), 2018-07-18)
the 'KHR/khrplatform.h' header is included by 'GL/glcorearb.h' and 'GL/glext.h'
but 'configure.ac' still says

    AM_CONDITIONAL(NEED_KHRPLATFORM, test "x$enable_egl" = xyes -o \
                                          "x$enable_gles1" = xyes -o \
                                          "x$enable_gles2" = xyes)

Therefore configuring with all three of those disabled:

    ./autogen.sh \
      --prefix="$prefix" \
      --enable-debug \
      --disable-dri \
      --disable-egl \
      --disable-gbm \
      --disable-gles1 \
      --disable-gles2 \
      --disable-shared-glapi \
      --with-platforms=x11 \
      --enable-glx=gallium-xlib \
      --enable-gallium-osmesa \
      --with-gallium-drivers=swrast \
      --enable-gallium-llvm=yes \
        LLVM_CONFIG=$llvm_config \
      --enable-llvm-shared-libs \

creates an installation that gives preprocessing errors to clients:

    /.../include/GL/glext.h:467:10: fatal error: KHR/khrplatform.h: No such
file or directory

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180807/7bbfeece/attachment.html>


More information about the mesa-dev mailing list