# 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/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 cd8c917a56f20f48748dd43d9ae3caff51d5b987 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=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_LD_HEAD_STUB_CATCH=y # Added to kconfig CONFIG_TRIM_UNUSED_KSYMS=n # Added to kconfig CONFIG_UBSAN=n # < make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:5266:warning: override: reassigning to symbol STANDALONE .config:5270:warning: override: reassigning to symbol PPC64 .config:5271:warning: override: reassigning to symbol PPC_DISABLE_WERROR .config:5272:warning: override: reassigning to symbol SECTION_MISMATCH_WARN_ONLY .config:5273:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:5275:warning: override: reassigning to symbol GCC_PLUGINS # make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- MKDIR /kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11/tools/bpf/resolve_btfids/libbpf/ MKDIR /kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11/tools/bpf/resolve_btfids//libsubcmd LINK resolve_btfids BTF: .tmp_vmlinux.btf: pahole (pahole) is not available Failed to generate BTF for vmlinux Try to disable CONFIG_DEBUG_INFO_BTF make[1]: *** [/kisskb/src/Makefile:1161: vmlinux] Error 1 make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 # Build took: 0:03:15.246286