# git rev-parse -q --verify cd8c917a56f20f48748dd43d9ae3caff51d5b987^{commit} cd8c917a56f20f48748dd43d9ae3caff51d5b987 already have revision, skipping fetch # git checkout -q -f -B kisskb cd8c917a56f20f48748dd43d9ae3caff51d5b987 # git clean -qxdf # < git log -1 # commit cd8c917a56f20f48748dd43d9ae3caff51d5b987 # Author: Salvatore Bonaccorso # Date: Mon Dec 6 21:42:01 2021 +0100 # # Makefile: Do not quote value for CONFIG_CC_IMPLICIT_FALLTHROUGH # # Andreas reported that a specific build environment for an external # module, being a bit broken, does pass CC_IMPLICIT_FALLTHROUGH quoted as # argument to gcc, causing an error # # gcc-11: error: "-Wimplicit-fallthrough=5": linker input file not found: No such file or directory # # Until this is more generally fixed as outlined in [1], by fixing # scripts/link-vmlinux.sh, scripts/gen_autoksyms.sh, etc to not directly # include the include/config/auto.conf, and in a second step, change # Kconfig to generate the auto.conf without "", workaround the issue by # explicitly unquoting CC_IMPLICIT_FALLTHROUGH. # # Reported-by: Andreas Beckmann # Link: https://bugs.debian.org/1001083 # Link: https://lore.kernel.org/linux-kbuild/CAK7LNAR-VXwHFEJqCcrFDZj+_4+Xd6oynbj_0eS8N504_ydmyw@mail.gmail.com/ [1] # Signed-off-by: Salvatore Bonaccorso # Reviewed-by: Kees Cook # Reviewed-by: Gustavo A. R. Silva # Signed-off-by: Linus Torvalds # < /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 cd8c917a56f20f48748dd43d9ae3caff51d5b987 # < make -s -j 8 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- randconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_GCC_PLUGIN_CYC_COMPLEXITY=n # Added to kconfig CONFIG_GCC_PLUGIN_SANCOV=n # Added to kconfig CONFIG_GCC_PLUGIN_LATENT_ENTROPY=n # Added to kconfig CONFIG_BPF_PRELOAD=n # Added to kconfig # < make -s -j 8 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_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 8 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig .config:6015:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:6017:warning: override: reassigning to symbol GCC_PLUGINS # make -s -j 8 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- Completed OK # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 # Build took: 0:07:25.328451