Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 913621

Summary: media-libs/mesa-23.2.0_rc2 librusticl fails to link
Product: Gentoo Linux Reporter: Honza Macháček <Hloupy.Honza>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: UNCONFIRMED ---    
Severity: normal CC: atoth, blc+gentoo, contyk, gentoo-bugs, jasmin+gentoo, mail
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---
Attachments: link failure build.log

Description Honza Macháček 2023-09-04 13:03:53 UTC
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
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

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.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-04 13:21:29 UTC
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.
Comment 2 Ben 2023-11-05 03:04:37 UTC
Created attachment 874095 [details]
link failure build.log
Comment 3 Ben 2023-11-05 03:13:51 UTC
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.