<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Jun 26, 2018, 4:09 AM Emil Velikov <<a href="mailto:emil.l.velikov@gmail.com">emil.l.velikov@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 26 June 2018 at 01:48, Timothy Arceri <<a href="mailto:tarceri@itsqueeze.com" target="_blank" rel="noreferrer">tarceri@itsqueeze.com</a>> wrote:<br>
> On 26/06/18 09:51, Dieter Nützel wrote:<br>
>><br>
>> Hello Marek,<br>
>><br>
>> after this series landed I get this:<br>
>><br>
>> Making all in targets/pipe-loader<br>
>> make[4]: Verzeichnis „/opt/mesa/src/gallium/targets/pipe-loader“ wird<br>
>> betreten<br>
>>    CXXLD    <a href="http://pipe_r600.la" rel="noreferrer noreferrer" target="_blank">pipe_r600.la</a><br>
>><br>
>> ../../../../src/gallium/winsys/radeon/drm/.libs/libradeonwinsys.a(radeon_drm_surface.o):<br>
>> In function `radeon_winsys_surface_init':<br>
>> /opt/mesa/src/gallium/winsys/radeon/drm/radeon_drm_surface.c:307:<br>
>> undefined reference to `ac_compute_cmask'<br>
>> collect2: error: ld returned 1 exit status<br>
>> make[4]: *** [Makefile:970: <a href="http://pipe_r600.la" rel="noreferrer noreferrer" target="_blank">pipe_r600.la</a>] Fehler 1<br>
>><br>
>> Didn't have more time for digging, yet.<br>
><br>
><br>
> r600 probably doesn't get linked to the amd common (ac) code that is<br>
> normally just shared between radv and radeonsi.<br>
><br>
Precisely. A quick and simple solution would be to duplicate the<br>
function in winsys/radeon.<br>
Since neither R300 nor R600 require AC [or the addrlib that gets<br>
pulled], this might be the less invasive workaround.<br>
<br>
What do you guys think?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I agree with the duplication.</div><div dir="auto"><br></div><div dir="auto">Marek</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
-Emil<br>
</blockquote></div></div></div>