Building mips:allnoconfig ... failed -------------- Error log: WARNING: vmlinux.o(.text+0x9cd4): Section mismatch in reference from the function reserve_exception_space() to the function .meminit.text:memblock_reserve() The function reserve_exception_space() references the function __meminit memblock_reserve(). This is often because reserve_exception_space lacks a __meminit annotation or the annotation of memblock_reserve is wrong. FATAL: modpost: Section mismatches detected. Set CONFIG_SECTION_MISMATCH_WARN_ONLY=y to allow them. make[2]: *** [scripts/Makefile.modpost:66: __modpost] Error 1 make[1]: *** [Makefile:1100: vmlinux] Error 2 make: *** [Makefile:179: sub-make] Error 2 -------------- Building mips:tinyconfig ... failed -------------- Error log: WARNING: vmlinux.o(.text+0x9130): Section mismatch in reference from the function reserve_exception_space() to the function .meminit.text:memblock_reserve() The function reserve_exception_space() references the function __meminit memblock_reserve(). This is often because reserve_exception_space lacks a __meminit annotation or the annotation of memblock_reserve is wrong. FATAL: modpost: Section mismatches detected. Set CONFIG_SECTION_MISMATCH_WARN_ONLY=y to allow them. make[2]: *** [scripts/Makefile.modpost:66: __modpost] Error 1 make[1]: *** [Makefile:1100: vmlinux] Error 2 make: *** [Makefile:179: sub-make] Error 2 --------------
Bisect of allnoconfig in v5.4.y-queue:
# bad: [2bcbae06b8fb9030973ee996e1b8ed43f3bfd4ab] Linux 5.4.106-rc1 # good: [ce615a08404c821bcb3c6f358b8f34307bfe30c9] Linux 5.4.105 git bisect start 'HEAD' 'v5.4.105' # good: [bd6952cc4634c2ce46d5c9615c4b9bc66049bab3] net: hns3: fix error mask definition of flow director git bisect good bd6952cc4634c2ce46d5c9615c4b9bc66049bab3 # bad: [51eefc7c01fca6cbbae9a75850e32a05ce814698] crypto: arm - use Kconfig based compiler checks for crypto opcodes git bisect bad 51eefc7c01fca6cbbae9a75850e32a05ce814698 # bad: [0f684432b233e1b11a3950e5da596575b24173ef] powerpc/64: Fix stack trace not displaying final frame git bisect bad 0f684432b233e1b11a3950e5da596575b24173ef # bad: [f45ae3c66aae2459e8b2208a31fffcccce4c9b8b] mmc: mxs-mmc: Fix a resource leak in an error handling path in 'mxs_mmc_probe()' git bisect bad f45ae3c66aae2459e8b2208a31fffcccce4c9b8b # bad: [353c41af24ecc267a0334a5e4b2c08e6e5f5fd64] net: phy: fix save wrong speed and duplex problem if autoneg is on git bisect bad 353c41af24ecc267a0334a5e4b2c08e6e5f5fd64 # bad: [9f79af92045b80792a5f7aaa1f0612ddd4fcb6af] net: enetc: initialize RFS/RSS memories for unused ports too git bisect bad 9f79af92045b80792a5f7aaa1f0612ddd4fcb6af # bad: [d14e578414046982a7bb60c6ee8a46e6b73bd84e] MIPS: kernel: Reserve exception base early to prevent corruption git bisect bad d14e578414046982a7bb60c6ee8a46e6b73bd84e # first bad commit: [d14e578414046982a7bb60c6ee8a46e6b73bd84e] MIPS: kernel: Reserve exception base early to prevent corruption
Reverting the offending patch fixes the problem.
Guenter