# 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/aarch64-linux/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 cd8c917a56f20f48748dd43d9ae3caff51d5b987 # < make -s -j 32 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- randconfig # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # < make -s -j 32 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- help # make -s -j 32 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- olddefconfig .config:6861:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD # make -s -j 32 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- Completed OK # rm -rf /kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 # Build took: 0:03:25.056539