media-libs/mesa-23.2.0_rc2 failed to compile for me, complaining of: /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: src/gallium/drivers/r600/libr600.a.p/r600_pipe.c.o: in function `r600_create_context': r600_pipe.c:(.text.r600_create_context+0xbb): undefined reference to `vl_video_buffer_create' and some more undefined references. The commit 33673bcc https://gitlab.freedesktop.org/mesa/mesa/-/commit/33673bcc2ab84de0b1ff35519e7d7a58ef572fba was the cause. It states “ rusticl: stop linking with libgalliumvl, it's not needed,” but apparently it is, at leas as long as librusticl contains r600 driver, added by the commit 7c78c346 https://gitlab.freedesktop.org/mesa/mesa/-/commit/7c78c346ff86b16e5e8dec09b6ee5209719e44c8 Reverting the commit 33673bcc, that is adding libgalliumvl back to the dependencies of librusticl, made media-libs/mesa-23.2.0_rc2 compile and install for me.
Could you report this upstream please and link it here? Thanks. If you could also throw in the full build.log here, that would be appreciated.
Created attachment 874095 [details] link failure build.log
BTW would like to add, not sure what else is needed to get clinfo to detect my R600 so there might be more issues here - I am still using several r600 gpus. Also, this is mesa-23.2.1 since mesa-23.2.0_rc2 expired.
I built mesa 24.2.8 and 24.3.2 with VIDEO_CARDS=r600 USE=opencl successfully. Does this version build successfully for you?
I suspect this was fixed by I think this was fixed by https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26680
(In reply to Matt Turner from comment #4) > I built mesa 24.2.8 and 24.3.2 with VIDEO_CARDS=r600 USE=opencl successfully. > > Does this version build successfully for you? Yes. I can confirm 24.2.8 and 24.3.2 build with r600 and opencl for me without problems.
Excellent, thanks for confirming!