# git rev-parse -q --verify 373c0a8905200b630da6ac1f0d2d614ee7bdb4e2^{commit} 373c0a8905200b630da6ac1f0d2d614ee7bdb4e2 already have revision, skipping fetch # git checkout -q -f -B kisskb 373c0a8905200b630da6ac1f0d2d614ee7bdb4e2 # git clean -qxdf # < git log -1 # commit 373c0a8905200b630da6ac1f0d2d614ee7bdb4e2 # Author: Masahiro Yamada # Date: Sat Oct 2 19:02:42 2021 +0900 # # [for -next only] kconfig: generate include/generated/rustc_cfg # # This patch is not intended for the mainline. # # I created this patch for Stephen Rothwell to resolve the merge # conflicts in linux-next more easily. # # The Rust tree is touching scripts/kconfig/confdata.c to generate # include/generated/rustc_cfg, which would cause complicated conflicts # with the changes from the kbuild tree. # # I re-implemented it to produce the equaivalent rustc_cfg. # # I also fixed the memory leak; the original code from the Rust tree # did not free the malloc'ed pointer. # # Stephen: # When you resolve the conflicts in confdata.c, please take this one. # # Signed-off-by: Masahiro Yamada # < /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 373c0a8905200b630da6ac1f0d2d614ee7bdb4e2 # < 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:33:57.266223