Hello.
shaderc-2022.2-5.fc38 includes an unannounced ABI breakage.
$ mpv --version
mpv: symbol lookup error: /lib64/libshaderc_shared.so.1: undefined symbol:
_ZN8spvtools23CreateAggressiveDCEPassEv
RHBZ issue: https://bugzilla.redhat.com/show_bug.cgi?id=2166218
Not correct: the missing symbol was in shaderc-2022.2-4.fc38, -5 is the "fixed"
version.
And the real cause is not in shaderc but in spirv-tools-2022.2-6.fc38 which removed the
above symbol silently.
Actually blender build was failing due to this issue, see:
https://koji.fedoraproject.org/koji/taskinfo?taskID=96899857 ,
so I analyzed the cause, then modified shaderc, then rebuilt blender.
Mamoru
Vitaly Zaitsev wrote on 2023/02/01 23:47:
> Hello.
>
> shaderc-2022.2-5.fc38 includes an unannounced ABI breakage.
>
> $ mpv --version
> mpv: symbol lookup error: /lib64/libshaderc_shared.so.1: undefined symbol:
_ZN8spvtools23CreateAggressiveDCEPassEv
>
> RHBZ issue: https://bugzilla.redhat.com/show_bug.cgi?id=2166218
>
Not correct: the missing symbol was in shaderc-2022.2-4.fc38, -5 is the "fixed"
version.
The missing symbol was actually in -3.fc38, -4.fc38 was not built (FTBFS), -5 fixed the
issue.
And the real cause is not in shaderc but in spirv-tools-2022.2-6.fc38 which removed the
above symbol silently.
Actually blender build was failing due to this issue, see:
https://koji.fedoraproject.org/koji/taskinfo?taskID=96899857 ,
so I analyzed the cause, then modified shaderc, then rebuilt blender.
Mamoru