<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - EGL/Gles/Weston give segfault on RADEONSI with egl_gallium.so"
href="https://bugs.freedesktop.org/show_bug.cgi?id=64810#c14">Comment # 14</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - EGL/Gles/Weston give segfault on RADEONSI with egl_gallium.so"
href="https://bugs.freedesktop.org/show_bug.cgi?id=64810">bug 64810</a>
from <span class="vcard"><a class="email" href="mailto:massimo.dragano@gmail.com" title="tux_mind <massimo.dragano@gmail.com>"> <span class="fn">tux_mind</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=64810#c12">comment #12</a>)
<span class="quote">> Can you try if Johannes' patch from <a href="show_bug.cgi?id=64810#c8">comment 8</a> fixes the problem?</span >
i tried the to use the relevant part of the patch:
i added '__attribute__((visibility("default")))' in front of
r600_init_query_functions.
but it didn't works.
i'm not a mesa developer but i think that you should do something like this:
edit shared structs to have shared data at the top: see attached #84840
find every shared function and check that data accessed from function it's in
the shared ones.
if not you have to do an "if(sizeof(arg) == sizeof(struct r600_struct))" to
determine how to read/write that data.
a well-done job it's to make a folder with all the shared code ( function and
structs ) and use hardware-specific wrappers functions.
happy developing guys :)</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>