Section mismatches
I rebuild the otherwise on MX-18 booting kernel 4.18 with v4.18.20-lqx2.patch with CONFIG_DEBUG_SECTION_MISMATCH=y configuration using the standard MX-18 compiler.
I got the following error: :: Code :: GEN .version
CHK include/generated/compile.h UPD include/generated/compile.h CC init/version.o AR init/built-in.a AR built-in.a LD vmlinux.o MODPOST vmlinux.o WARNING: vmlinux.o(.data+0x46eac): Section mismatch in reference from the variable logo_clut224 to the variable .init.rodata:logo_zen_clut224 The variable logo_clut224 references the variable __initconst logo_zen_clut224 If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console FATAL: modpost: Section mismatches detected. Set CONFIG_SECTION_MISMATCH_WARN_ONLY=y to allow them. scripts/Makefile.modpost:98: die Regel für Ziel „vmlinux.o“ scheiterte make[1]: *** [vmlinux.o] Fehler 1 Makefile:1019: die Regel für Ziel „vmlinux“ scheiterte make: *** [vmlinux] Fehler 2 Is there anything I could do about that? Back to top |
|||||
In general, the only configuration I support is the configuration shipped with Liquorix.
In the Liquorix default config, mismatches are only treated as warnings: github.com/damentz/liquorix-package/blob/4.19-8/linux-liquorix/debian/config/kernelarch-x86/config-arch-64#L9145 I'm accepting patches to correct the issue, but otherwise, the mismatch is benign. Back to top |
|||||
All times are GMT - 8 Hours
|