2017-09-20, 21:25
Building the latest master with Xcode 8.3.3 and SDK 10.12 on macOS 10.13 creates an m4 in /Users/Shared/xbmc-depends/x86_64-darwin17.0.0-native/bin/m4 that will stop running with error
Illegal instruction: 4
f.e.during the build of Kodi build depends it will lead to
seems removing the built /Users/Shared/xbmc-depends/x86_64-darwin17.0.0-native/bin/m4 file and replacing it with a link to /usr/bin/m4 will solve the problem but it is just a workaround
Illegal instruction: 4
f.e.during the build of Kodi build depends it will lead to
Code:
/Users/Shared/xbmc-depends/x86_64-darwin17.0.0-native/bin/m4 ./asm.m4 machine.m4 config.m4 aes-decrypt-internal.asm >aes-decrypt-internal.s
/bin/sh: line 1: 72710 Illegal instruction: 4 /Users/Shared/xbmc-depends/x86_64-darwin17.0.0-native/bin/m4 ./asm.m4 machine.m4 config.m4 aes-decrypt-internal.asm > aes-decrypt-internal.s
make[4]: *** [aes-decrypt-internal.o] Error 132
make[3]: *** [all] Error 2
make[2]: *** [macosx10.12_x86_64-target-debug/libnettle.a] Error 2
make[1]: *** [nettle] Error 2
make: *** [target/.installed-macosx10.12_x86_64-target-debug] Error 2
seems removing the built /Users/Shared/xbmc-depends/x86_64-darwin17.0.0-native/bin/m4 file and replacing it with a link to /usr/bin/m4 will solve the problem but it is just a workaround