You know, thanks to Intel’s little ‘design flaw’ in its CPUs and all of that buzz going on, we’re forced to patch around a little. This time, the linux kernel bails out
*--
* AR /usr/src/linux-4.14.12/tools/objtool/libsubcmd.a
* CC /usr/src/linux-4.14.12/tools/objtool/libstring.o
* CC /usr/src/linux-4.14.12/tools/objtool/str_error_r.o
* LD /usr/src/linux-4.14.12/tools/objtool/objtool-in.o
*make[2]: execvp: ./sync-check.sh: Permission denied
*make[2]: *** [Makefile:49: /usr/src/linux-4.14.12/tools/objtool/objtool] Error 127
*make[1]: *** [Makefile:62: objtool] Error 2
*make: *** [Makefile:1632: tools/objtool] Error 2
*--
I mean, it’s a dead simple solution in the end:
chmod +x /usr/src/linux/tools/objtool/sync-check.sh
But where does the problem come from? Digging around I could see the problem at first at 4.14.10. As we’re working quite a lot with ‘patch’ in general and patch does a lot of stuff on git, it’s most likely the one to blame here.