FS#70990 - [shaderc] undefined symbol _ZN8spvtools9Optimizer18RegisterSizePassesEv
Attached to Project:
Arch Linux
Opened by d (08d09) - Saturday, 22 May 2021, 15:54 GMT
Last edited by Laurent Carlier (lordheavy) - Saturday, 12 March 2022, 12:22 GMT
Opened by d (08d09) - Saturday, 22 May 2021, 15:54 GMT
Last edited by Laurent Carlier (lordheavy) - Saturday, 12 March 2022, 12:22 GMT
|
Details
Description:
Mpv fails to launch with shaderc version 2021.0-1 due to this error: mpv: symbol lookup error: /usr/lib/libshaderc_shared.so.1: undefined symbol: _ZN8spvtools9Optimizer18RegisterSizePassesEv Additional info: linux-5.12.4-arch1-2 mpv-1:0.33.1-2 shaderc-2021.0-1 |
This task depends upon
Closed by Laurent Carlier (lordheavy)
Saturday, 12 March 2022, 12:22 GMT
Reason for closing: Not a bug
Additional comments about closing: not our bug
Saturday, 12 March 2022, 12:22 GMT
Reason for closing: Not a bug
Additional comments about closing: not our bug
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libshaderc_combined.a(compiler.cc.o): undefined reference to symbol '_ZN7glslang7TShader18setShiftUboBindingEj'
Should this be reported to upstream or is this a packaging issue?
1.One with nvidia card and drivers installed and this is not an issue
2.Other with AMD card and mesa drivers installed and this is an issue
Is it possible shaderc has been built against the nvidia driver symbols and _ZN8spvtools9Optimizer18RegisterSizePassesEv is missing from mesa's?
Seems shaderc's dependency on glslang needs to be versioned.
I got an old git version installed. Installed glslang version 11.6.0-1 and the issue was solved