kodi and kodi-debug: build-id mismatch
Description:
While trying to debug a segmentation fault triggered by the Play-Random-Videos addon I noticed that kodi-debug doesn't provided the right debug information.
warning: the debug information found in "/usr/lib/debug//usr/lib/kodi/kodi.bin.debug" does not match "/usr/lib/kodi/kodi.bin" (CRC mismatch).
(No debugging symbols found in /usr/lib/kodi/kodi.bin)
Additional info:
- package version(s): kodi 21.0-3 and kodi-debug 21.0-3
There seems to be two reasons for the mismatch.
- PKGBUILD contains
options=(!lto)
and-DUSE_LTO=ON
. The latter should be changed toOFF
-
build()
builds kodi and kodi-gles.
With USE_LTO
switched to OFF
. The symbols provided by kodi-debug match kodi-gles but not kodi.
Steps to reproduce:
- Install the Play-Random-Videos plugin
- Select "Play random" from context menu
- Segmentation fault
$ coredumpctl debug