From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 77305] New: Compile error in pipe-loader files (pipe_r300.c pipe_r600.c pipe_radeonsi.c egl_pipe.c) Date: Fri, 11 Apr 2014 07:09:25 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2044101427==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 0AC746E34D for ; Fri, 11 Apr 2014 00:09:25 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2044101427== Content-Type: multipart/alternative; boundary="1397200164.e334e0.19653"; charset="us-ascii" --1397200164.e334e0.19653 Date: Fri, 11 Apr 2014 07:09:24 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=77305 Priority: medium Bug ID: 77305 Assignee: dri-devel@lists.freedesktop.org Summary: Compile error in pipe-loader files (pipe_r300.c pipe_r600.c pipe_radeonsi.c egl_pipe.c) Severity: normal Classification: Unclassified OS: Linux (All) Reporter: knut.tidemann@gmail.com Hardware: x86-64 (AMD64) Status: NEW Version: git Component: Drivers/Gallium/r600 Product: Mesa Created attachment 97213 --> https://bugs.freedesktop.org/attachment.cgi?id=97213&action=edit patch for build failure When building the latest mesa code today from git (227049098b59bca88883a750602fdad41949c996), I was unable to build due to an error that looks like a missing radeon_winsys.h include after the following commit: 3b0b44f7def0acb4f7a7aef086c0bece321418a6. Example of error: pipe_r300.c: In function 'create_screen': pipe_r300.c:13:38: error: dereferencing pointer to incomplete type return sws ? debug_screen_wrap(sws->screen) : NULL; ^ I've attached a patch that fixes the build issue for me. I build mesa with the following options: ./autogen.sh --prefix=/usr \ --sysconfdir=/etc \ --with-dri-driverdir=/usr/lib/xorg/modules/dri \ --with-gallium-drivers=r300,r600,radeonsi,nouveau,svga,swrast \ --with-dri-drivers=i915,i965,r200,radeon,nouveau,swrast \ --with-egl-platforms=drm,x11,wayland \ --with-llvm-shared-libs \ --enable-gallium-egl --enable-shared-glapi \ --enable-gallium-llvm \ --enable-glx-tls \ --enable-gles1 \ --enable-gles2 \ --enable-egl \ --enable-dri \ --enable-glx \ --enable-xa \ --enable-osmesa \ --enable-gbm \ --enable-texture-float \ --enable-vdpau \ --enable-opencl \ --enable-opencl-icd -- You are receiving this mail because: You are the assignee for the bug. --1397200164.e334e0.19653 Date: Fri, 11 Apr 2014 07:09:24 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 77305
Assignee dri-devel@lists.freedesktop.org
Summary Compile error in pipe-loader files (pipe_r300.c pipe_r600.c pipe_radeonsi.c egl_pipe.c)
Severity normal
Classification Unclassified
OS Linux (All)
Reporter knut.tidemann@gmail.com
Hardware x86-64 (AMD64)
Status NEW
Version git
Component Drivers/Gallium/r600
Product Mesa

Created attachment 97213 [details]
patch for build failure

When building the latest mesa code today from git
(227049098b59bca88883a750602fdad41949c996), I was unable to build due to an
error that looks like a missing radeon_winsys.h include after the following
commit: 3b0b44f7def0acb4f7a7aef086c0bece321418a6.

Example of error:
pipe_r300.c: In function 'create_screen':
pipe_r300.c:13:38: error: dereferencing pointer to incomplete type
    return sws ? debug_screen_wrap(sws->screen) : NULL;
                                      ^

I've attached a patch that fixes the build issue for me.

I build mesa with the following options:

  ./autogen.sh --prefix=/usr \
    --sysconfdir=/etc \
    --with-dri-driverdir=/usr/lib/xorg/modules/dri \
    --with-gallium-drivers=r300,r600,radeonsi,nouveau,svga,swrast \
    --with-dri-drivers=i915,i965,r200,radeon,nouveau,swrast \
    --with-egl-platforms=drm,x11,wayland \
    --with-llvm-shared-libs \
    --enable-gallium-egl --enable-shared-glapi \
    --enable-gallium-llvm \
    --enable-glx-tls \
    --enable-gles1 \
    --enable-gles2 \
    --enable-egl \
    --enable-dri \
    --enable-glx \
    --enable-xa \
    --enable-osmesa \
    --enable-gbm \
    --enable-texture-float \
    --enable-vdpau \
    --enable-opencl \
    --enable-opencl-icd


You are receiving this mail because:
  • You are the assignee for the bug.
--1397200164.e334e0.19653-- --===============2044101427== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============2044101427==--