From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 77358] New: [BISECTED] egl_pipe.c:154:36: error: dereferencing pointer to incomplete type since 3b0b44f7def0acb4f7a7aef086c0bece321418a6 Date: Sat, 12 Apr 2014 05:00:04 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1353885860==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 3CDC56E4B5 for ; Fri, 11 Apr 2014 22:00:04 -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 --===============1353885860== Content-Type: multipart/alternative; boundary="1397278804.AaCb3eBF0.12046"; charset="us-ascii" --1397278804.AaCb3eBF0.12046 Date: Sat, 12 Apr 2014 05:00:04 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D77358 Priority: medium Bug ID: 77358 Assignee: dri-devel@lists.freedesktop.org Summary: [BISECTED] egl_pipe.c:154:36: error: dereferencing pointer to incomplete type since 3b0b44f7def0acb4f7a7aef086c0bece321418a6 Severity: normal Classification: Unclassified OS: All Reporter: alexandre.f.demers@gmail.com Hardware: All Status: NEW Version: git Component: Drivers/Gallium/r600 Product: Mesa First bad commit is 3b0b44f7def0acb4f7a7aef086c0bece321418a6: winsys/radeon: fix a race condition in initialization of radeon_winsys::scr= een Author: Marek Ol=C5=A1=C3=A1k Author date: 4/8/14 7:07 PM Parent: winsys/radeon: fix a race condition between winsys_create... Child: configure.ac: require libdrm_radeon 2.4.53 Branch: master (glsl: Ignore loop-too-large heuristic if there's bad vari..= .)=20 Branch: origin/master (glsl: Ignore loop-too-large heuristic if there's bad vari...)=20 Follows: snb-magic (graw: Add struct pipe_surface forward declaration.) winsys/radeon: fix a race condition in initialization of radeon_winsys::screen Create the screen in the winsys while the mutex is locked. This also results in a nice code cleanup! Reviewed-by: Michel D=C3=A4nzer Reviewed-by: Christian K=C3=B6nig --- Error output: Making all in egl-static make[3]: Entering directory '/home/dema1701/projects/display/mesa/src/gallium/targets/egl-static' CC egl_pipe.lo egl_pipe.c: In function 'pipe_r600_create_screen': egl_pipe.c:153:4: error: implicit declaration of function 'radeon_drm_winsys_create' [-Werror=3Dimplicit-function-declaration] rw =3D radeon_drm_winsys_create(fd, r600_screen_create); ^ egl_pipe.c:153:7: warning: assignment makes pointer from integer without a = cast [enabled by default] rw =3D radeon_drm_winsys_create(fd, r600_screen_create); ^ egl_pipe.c:154:36: error: dereferencing pointer to incomplete type return rw ? debug_screen_wrap(rw->screen) : NULL; ^ egl_pipe.c:158:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cc1: some warnings being treated as errors Makefile:946: recipe for target 'egl_pipe.lo' failed make[3]: *** [egl_pipe.lo] Error 1 make[3]: Leaving directory '/home/dema1701/projects/display/mesa/src/gallium/targets/egl-static' Makefile:540: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/home/dema1701/projects/display/mesa/src/gallium/targets' Makefile:528: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/dema1701/projects/display/mesa/src' Makefile:577: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 --=20 You are receiving this mail because: You are the assignee for the bug. --1397278804.AaCb3eBF0.12046 Date: Sat, 12 Apr 2014 05:00:04 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Priority medium
Bug ID 77358
Assignee dri-devel@lists.freedesktop.org
Summary [BISECTED] egl_pipe.c:154:36: error: dereferencing pointer to= incomplete type since 3b0b44f7def0acb4f7a7aef086c0bece321418a6
Severity normal
Classification Unclassified
OS All
Reporter alexandre.f.demers@gmail.com
Hardware All
Status NEW
Version git
Component Drivers/Gallium/r600
Product Mesa

First bad commit is 3b0b44f7def0acb4f7a7aef086c0bece321418a6:

winsys/radeon: fix a race condition in initialization of radeon_winsys::scr=
een
Author: Marek Ol=C5=A1=C3=A1k<marek.olsak@amd.com>
Author date: 4/8/14 7:07 PM
Parent: winsys/radeon: fix a race condition between winsys_create...
Child: configure.ac: require libdrm_radeon 2.4.53
Branch: master (glsl: Ignore loop-too-large heuristic if there's bad vari..=
.)=20
Branch: origin/master (glsl: Ignore loop-too-large heuristic if there's bad
vari...)=20
Follows: snb-magic (graw: Add struct pipe_surface forward declaration.)

    winsys/radeon: fix a race condition in initialization of
radeon_winsys::screen

    Create the screen in the winsys while the mutex is locked.
    This also results in a nice code cleanup!

    Reviewed-by: Michel D=C3=A4nzer <michel.daenzer@amd.com>
    Reviewed-by: Christian K=C3=B6nig <christian.koenig@amd.com>

---
Error output:

Making all in egl-static
make[3]: Entering directory
'/home/dema1701/projects/display/mesa/src/gallium/targets/egl-static'
  CC       egl_pipe.lo
egl_pipe.c: In function 'pipe_r600_create_screen':
egl_pipe.c:153:4: error: implicit declaration of function
'radeon_drm_winsys_create' [-Werror=3Dimplicit-function-declaration]
    rw =3D radeon_drm_winsys_create(fd, r600_screen_create);
    ^
egl_pipe.c:153:7: warning: assignment makes pointer from integer without a =
cast
[enabled by default]
    rw =3D radeon_drm_winsys_create(fd, r600_screen_create);
       ^
egl_pipe.c:154:36: error: dereferencing pointer to incomplete type
    return rw ? debug_screen_wrap(rw->screen) : NULL;
                                    ^
egl_pipe.c:158:1: warning: control reaches end of non-void function
[-Wreturn-type]
 }
 ^
cc1: some warnings being treated as errors
Makefile:946: recipe for target 'egl_pipe.lo' failed
make[3]: *** [egl_pipe.lo] Error 1
make[3]: Leaving directory
'/home/dema1701/projects/display/mesa/src/gallium/targets/egl-static'
Makefile:540: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
'/home/dema1701/projects/display/mesa/src/gallium/targets'
Makefile:528: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/dema1701/projects/display/mesa/src'
Makefile:577: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1397278804.AaCb3eBF0.12046-- --===============1353885860== 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 --===============1353885860==--