patch-5.12 eliminates tools/arch/x86/include/asm/byteorder.h but insn.h and orc_types.h still include it
by RandomTroll from LinuxQuestions.org on (#5H2M0)
Quote:
Restoring the old one has made make happy so far.


CC /usr/src/linux-5.11.16/tools/objtool/arch/x86/decode.o In file included from arch/x86/decode.c:10: /usr/src/linux-5.11.16/tools/arch/x86/include/asm/insn.h:10:10: fatal error: asm/byteorder.h: No such file or directory 10 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. make[4]: *** [/usr/src/linux-5.11.16/tools/build/Makefile.build:97: /usr/src/linux-5.11.16/tools/objtool/arch/x86/decode.o] Error 1 make[3]: *** [/usr/src/linux-5.11.16/tools/build/Makefile.build:139: arch/x86] Error 2 make[2]: *** [Makefile:56: /usr/src/linux-5.11.16/tools/objtool/objtool-in.o] Error 2 make[1]: *** [Makefile:69: objtool] Error 2 make: *** [Makefile:1978: tools/objtool] Error 2 |