# git gc # git rev-parse -q --verify c4d7f40b250c1a4d74ed259e84807f58032507b6^{commit} c4d7f40b250c1a4d74ed259e84807f58032507b6 already have revision, skipping fetch # git checkout -q -f -B kisskb c4d7f40b250c1a4d74ed259e84807f58032507b6 # git clean -qxdf # < git log -1 # commit c4d7f40b250c1a4d74ed259e84807f58032507b6 # Author: Masahiro Yamada # Date: Mon Jan 10 03:15:29 2022 +0900 # # kbuild: add cmd_file_size # # Some architectures support self-extracting kernel, which embeds the # compressed vmlinux. # # It has 4 byte data at the end so the decompressor can know the vmlinux # size beforehand. # # GZIP natively has it in the trailer, but for the other compression # algorithms, the hand-crafted trailer is added. # # It is unneeded to generate such _corrupted_ compressed files because # it is possible to pass the size data as a separate file. # # For example, the assembly code: # # .incbin "compressed-vmlinux-with-size-data" # # can be transformed to: # # .incbin "compressed-vmlinux" # .incbin "size-data" # # My hope is, after some reworks of the decompressors, the macros # cmd_{bzip2,lzma,lzo,lz4,xzkern,zstd22}_with_size will go away. # # This new macro, cmd_file_size, will be useful to generate a separate # size-data file. # # Signed-off-by: Masahiro Yamada # Reviewed-by: Nicolas Schier # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 c4d7f40b250c1a4d74ed259e84807f58032507b6 # < make -s -j 48 ARCH=x86 O=/kisskb/build/kbuild_x86-allmodconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # < make -s -j 48 ARCH=x86 O=/kisskb/build/kbuild_x86-allmodconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 48 ARCH=x86 O=/kisskb/build/kbuild_x86-allmodconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 48 ARCH=x86 O=/kisskb/build/kbuild_x86-allmodconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- vmlinux.o: warning: objtool: __do_fast_syscall_32()+0xa: call to stackleak_track_stack() leaves .noinstr.text section vmlinux.o: warning: objtool: do_syscall_64()+0x9: call to stackleak_track_stack() leaves .noinstr.text section vmlinux.o: warning: objtool: do_int80_syscall_32()+0x9: call to stackleak_track_stack() leaves .noinstr.text section vmlinux.o: warning: objtool: exc_general_protection()+0x22: call to stackleak_track_stack() leaves .noinstr.text section vmlinux.o: warning: objtool: fixup_bad_iret()+0x20: call to stackleak_track_stack() leaves .noinstr.text section vmlinux.o: warning: objtool: mce_setup()+0x18: call to memset() leaves .noinstr.text section vmlinux.o: warning: objtool: do_machine_check()+0x27: call to stackleak_track_stack() leaves .noinstr.text section vmlinux.o: warning: objtool: .entry.text+0x10e6: call to stackleak_erase() leaves .noinstr.text section vmlinux.o: warning: objtool: .entry.text+0x143: call to stackleak_erase() leaves .noinstr.text section vmlinux.o: warning: objtool: .entry.text+0x17d9: call to stackleak_erase() leaves .noinstr.text section Completed OK # rm -rf /kisskb/build/kbuild_x86-allmodconfig_x86_64-gcc11 # Build took: 0:38:21.689889