Posts: 1,981
Joined: Jul 2012
Reputation:
73
2020-12-27, 03:02
(This post was last modified: 2020-12-27, 03:50 by emveepee.)
I was compiling Kodi for TVOS today and it kept halting trying to make from tools/depends. Following this through it seems it was failing on building assembler .s files in gnutls/accelerated/macosx/aarch64 The source files say auto generated but I couldn't find the source. The error seemed to be on text which was odd so on the off change I reduced the size of the comments at the beginning of the file and I was able to build all dependencies. Xcode building Kodi finished without error (not tested though)
Is this expected behaviour?
Martin
Posts: 584
Joined: Oct 2017
Reputation:
85
Fuzzard
Team-Kodi Member
Posts: 584
Works ok on Jenkins, show the logs for the actual failures
Posts: 584
Joined: Oct 2017
Reputation:
85
Fuzzard
Team-Kodi Member
Posts: 584
Actually, just reread, will be an old gaspreprocessor. It had an issue with stuff being interpreted in comment blocks which triggered wired failures. Shouldn't be an issue on master, have to provide logs i guess still.
Posts: 1,981
Joined: Jul 2012
Reputation:
73
OK thanks I will have to rebuild from source to get the error logs and not on macos right now. The line that was failing was something like
CCAS ... gasprocessor.pl ....
so your explanation makes sense It has not clear where that file would have come from or how to update it to a newer version.
Martin
Posts: 1,981
Joined: Jul 2012
Reputation:
73
2020-12-27, 04:14
(This post was last modified: 2020-12-27, 04:14 by emveepee.)
This was a fresh git clone of master (twice actually) so I will check that native folder and let you know. Thanks for your help.
Martin
Posts: 1,981
Joined: Jul 2012
Reputation:
73
Here is what the Makefile is using
CCAS = --tag CC /Users/Shared/xbmc-depends/x86_64-darwin18.7.0-native/bin/gas-preprocessor.pl /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64
The only file in the kodi folder is so I am not see it being used.
./kodi/tools/depends/native/gas-preprocessor/gas-preprocessor.pl
In /Users/Shared (not sure how it is made) I see the following and the appletvos12.2 folder doesn't include this file.
_auto-target-debug
x86_64-darwin18.6.0-native
appletvos12.2_arm64-target-debug
x86_64-darwin18.7.0-native
macosx10.13_x86_64-target-debug
xbmc-tarballs
macosx10.14_x86_64-target-debug
Martin