Bug 5171

Summary: Kodi 18.1 fails to build on aarch64 because of gcc's annobin plugin
Product: Fedora Reporter: Gaël STEPHAN <pix>
Component: kodiAssignee: Michael Cronenworth <mike>
Status: RESOLVED FIXED    
Severity: major CC: alexl, ktdreyer, maci
Priority: P1    
Version: f30   
Hardware: armhfp   
OS: GNU/Linux   
namespace:
Attachments: Annobin patch for exports.def generation
New kodi.spec to apply aarch64 annobin patch

Description Gaël STEPHAN 2019-02-26 16:47:11 CET
Created attachment 2013 [details]
Annobin patch for exports.def generation

At the beginning of the build, during libdvdnav build, a set of linker flags is automatically generated using nm on an object file. On aarch64 with annobin, the autogenerated flags are incorrect and triggers a build fail.

Following patch corrects the issue
Comment 1 Gaël STEPHAN 2019-02-26 16:47:47 CET
Created attachment 2014 [details]
New kodi.spec to apply aarch64 annobin patch
Comment 2 Gaël STEPHAN 2019-02-26 16:48:21 CET
Build checked on aarch64 builder using mock 1.4.14