# 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-8.1.0-nolibc/mips-linux/bin/mips-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux-ld --version # < git log --format=%s --max-count=1 cd8c917a56f20f48748dd43d9ae3caff51d5b987 # < make -s -j 24 ARCH=mips O=/kisskb/build/linus_mips-allmodconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # Added to kconfig CONFIG_MIPS_CPS_NS16550_BASE=0x1b0003f8 # Added to kconfig CONFIG_MIPS_CPS_NS16550_SHIFT=0 # < make -s -j 24 ARCH=mips O=/kisskb/build/linus_mips-allmodconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- help # make -s -j 24 ARCH=mips O=/kisskb/build/linus_mips-allmodconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- olddefconfig .config:13366:warning: override: reassigning to symbol MIPS_CPS_NS16550_SHIFT # make -s -j 24 ARCH=mips O=/kisskb/build/linus_mips-allmodconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- /kisskb/src/arch/mips/boot/dts/img/boston.dts:128.19-178.5: Warning (pci_device_reg): /pci@14000000/pci2_root@0,0,0: PCI unit address format error, expected "0,0" /kisskb/src/arch/mips/boot/dts/ingenic/jz4780.dtsi:473.33-475.6: Warning (unit_address_format): /nemc@13410000/efuse@d0/eth-mac-addr@0x22: unit name should not have leading "0x" ERROR: modpost: missing MODULE_LICENSE() in drivers/pci/controller/pcie-mt7621.o ERROR: modpost: "mips_cm_unlock_other" [drivers/pci/controller/pcie-mt7621.ko] undefined! ERROR: modpost: "mips_cpc_base" [drivers/pci/controller/pcie-mt7621.ko] undefined! ERROR: modpost: "mips_cm_lock_other" [drivers/pci/controller/pcie-mt7621.ko] undefined! ERROR: modpost: "mips_cm_is64" [drivers/pci/controller/pcie-mt7621.ko] undefined! ERROR: modpost: "mips_gcr_base" [drivers/pci/controller/pcie-mt7621.ko] undefined! make[2]: *** [/kisskb/src/scripts/Makefile.modpost:134: modules-only.symvers] Error 1 make[2]: *** Deleting file 'modules-only.symvers' make[1]: *** [/kisskb/src/Makefile:1761: modules] Error 2 make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 24 ARCH=mips O=/kisskb/build/linus_mips-allmodconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_mips-allmodconfig_mips-gcc8 # Build took: 0:31:26.003761