Skip to content

Detect soft-float ARM platforms #554

Open
@rfaelens

Description

@rfaelens

Libwidevinecdm.so on ARMv71 is using hard-float ABI (readelf -a libwidevinecdm.so | grep Flags). This cannot be loaded on a platform using softfp. Kodi fails with a cryptic error message.

2023-12-04 22:04:42.116 T:11544   error <general>: AddOnLog: inputstream.adaptive: Initialize: Initialize: Failed to load library: /media/developer/apps/usr/palm/applications/org.xbmc.
kodi/.kodi/cdm/libwidevinecdm.so: internal error
2023-12-04 22:04:42.116 T:11544   error <general>: AddOnLog: inputstream.adaptive: Unable to load widevine shared library (/media/developer/apps/usr/palm/applications/org.xbmc.kodi/.ko
di/cdm/libwidevinecdm.so)
2023-12-04 22:04:42.116 T:11544   error <general>: AddOnLog: inputstream.adaptive: OpenDRMSystem failed
2023-12-04 22:04:42.116 T:11544   error <general>: CVideoPlayer::OpenInputStream - error opening [plugin://plugin.video.vrt.nu/play/id/vid-6b245bab-1289-45a1-b395-bacf9a9eb70f/pbs-pub-
578fd4d4-79ee-4226-9a6f-b1b1c918a691/1640602595708]
2023-12-04 22:04:42.116 T:11544    info <general>: CVideoPlayer::OnExit()
2023-12-04 22:04:42.117 T:11544    info <general>: ADDON: Dll Destroyed - InputStream Adaptive

Could inputstreamhelper read the current executable and check the ABI?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions