<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [BISECTED] egl_pipe.c:154:36: error: dereferencing pointer to incomplete type since 3b0b44f7def0acb4f7a7aef086c0bece321418a6"
href="https://bugs.freedesktop.org/show_bug.cgi?id=77358">77358</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>[BISECTED] egl_pipe.c:154:36: error: dereferencing pointer to incomplete type since 3b0b44f7def0acb4f7a7aef086c0bece321418a6
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>alexandre.f.demers@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/Gallium/r600
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr></table>
<p>
<div>
<pre>First bad commit is 3b0b44f7def0acb4f7a7aef086c0bece321418a6:
winsys/radeon: fix a race condition in initialization of radeon_winsys::screen
Author: Marek Olšák<<a href="mailto:marek.olsak@amd.com">marek.olsak@amd.com</a>>
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...)
Branch: origin/master (glsl: Ignore loop-too-large heuristic if there's bad
vari...)
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änzer <<a href="mailto:michel.daenzer@amd.com">michel.daenzer@amd.com</a>>
Reviewed-by: Christian König <<a href="mailto:christian.koenig@amd.com">christian.koenig@amd.com</a>>
---
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=implicit-function-declaration]
rw = 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 = 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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>