On 26 June 2018 at 01:48, Timothy Arceri <tarc...@itsqueeze.com> wrote: > On 26/06/18 09:51, Dieter Nützel wrote: >> >> Hello Marek, >> >> after this series landed I get this: >> >> Making all in targets/pipe-loader >> make[4]: Verzeichnis „/opt/mesa/src/gallium/targets/pipe-loader“ wird >> betreten >> CXXLD pipe_r600.la >> >> ../../../../src/gallium/winsys/radeon/drm/.libs/libradeonwinsys.a(radeon_drm_surface.o): >> In function `radeon_winsys_surface_init': >> /opt/mesa/src/gallium/winsys/radeon/drm/radeon_drm_surface.c:307: >> undefined reference to `ac_compute_cmask' >> collect2: error: ld returned 1 exit status >> make[4]: *** [Makefile:970: pipe_r600.la] Fehler 1 >> >> Didn't have more time for digging, yet. > > > r600 probably doesn't get linked to the amd common (ac) code that is > normally just shared between radv and radeonsi. > Precisely. A quick and simple solution would be to duplicate the function in winsys/radeon. Since neither R300 nor R600 require AC [or the addrlib that gets pulled], this might be the less invasive workaround.
What do you guys think? -Emil _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev