<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - kodi segfault since auxiliary/vl: rework the build of the VL code"
href="https://bugs.freedesktop.org/show_bug.cgi?id=86837#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - kodi segfault since auxiliary/vl: rework the build of the VL code"
href="https://bugs.freedesktop.org/show_bug.cgi?id=86837">bug 86837</a>
from <span class="vcard"><a class="email" href="mailto:emil.l.velikov@gmail.com" title="Emil Velikov <emil.l.velikov@gmail.com>"> <span class="fn">Emil Velikov</span></a>
</span></b>
<pre>(In reply to Christian König from <a href="show_bug.cgi?id=86837#c8">comment #8</a>)
<span class="quote">> (In reply to Emil Velikov from <a href="show_bug.cgi?id=86837#c6">comment #6</a>)
> > Christian,
> >
> > Are you concerned about the hidden and unchecked ABI mentioned - can you see
> > an easy way around it ?
>
> Not really. To be honest I don't have much experience with such kind of
> linker hacks.
>
> But as far as I know if we use weak symbols it shouldn't matter if VDPAU or
> OGL is loaded first. The strong symbols in the VDPAU module should overwrite
> the weak ones in the DRI module.
> </span >
Unfortunately it does not seem to work. Check out this example project [1], and
toggle the USE_FOO_DRI_FIRST at [2].
<span class="quote">> As for letting the two interfaces work together that obviously only works if
> you use the same version of the gallium interface for both.</span >
>
True, but we currently do not check if there is a miss-match. Thus my "hidden
and unchecked" comment earlier.
[1] <a href="https://github.com/evelikov/weaksymbols">https://github.com/evelikov/weaksymbols</a>
[2] <a href="https://github.com/evelikov/weaksymbols/blob/master/Makefile.am#L6">https://github.com/evelikov/weaksymbols/blob/master/Makefile.am#L6</a></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>