Latest working kernel version: 2.6.24.3 Earliest failing kernel version: 2.6.25-rc6-git7 Distribution: Debian Sid Hardware Environment: x86 Software Environment: GCC 4.3 Problem Description: Hello, I get at the latest snapshot many warnings about section missmatches, like: WARNING: drivers/base/built-in.o(.data+0x438): Section mismatch in reference from the variable topology_cpu_callback_nb.11018 to the function .cpuinit.text:topology_cpu_callback() The variable topology_cpu_callback_nb.11018 references the function __cpuinit topology_cpu_callback() If the reference is valid then annotate the variable with __init* (see linux/init.h) or name the variable: *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console, I'll add my complete kernel configuration and an log of the whole build process. Thanks.
Created attachment 15412 [details] My Kernel config
Created attachment 15413 [details] Compile log.
It still exists in 2.6.25-rc7-git3.
Still in 2.6.25-rc8-git8: AS arch/x86/lib/checksum_32.o CC arch/x86/lib/delay_32.o AS arch/x86/lib/getuser_32.o CC arch/x86/lib/memcpy_32.o AS arch/x86/lib/putuser_32.o AS arch/x86/lib/semaphore_32.o CC arch/x86/lib/string_32.o CC arch/x86/lib/strstr_32.o CC arch/x86/lib/usercopy_32.o AR arch/x86/lib/lib.a LD vmlinux.o MODPOST vmlinux.o WARNING: modpost: Found 14 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y' GEN .version CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 KSYM .tmp_kallsyms1.S AS .tmp_kallsyms1.o LD .tmp_vmlinux2 KSYM .tmp_kallsyms2.S AS .tmp_kallsyms2.o LD vmlinux SYSMAP System.map ... LD arch/x86/boot/setup.elf OBJCOPY arch/x86/boot/setup.bin AS arch/x86/boot/compressed/head_32.o CC arch/x86/boot/compressed/misc.o OBJCOPY arch/x86/boot/compressed/vmlinux.bin GZIP arch/x86/boot/compressed/vmlinux.bin.gz LD arch/x86/boot/compressed/piggy.o LD arch/x86/boot/compressed/vmlinux OBJCOPY arch/x86/boot/vmlinux.bin HOSTCC arch/x86/boot/tools/build BUILD arch/x86/boot/bzImage Root device is (8, 4) Setup is 11404 bytes (padded to 11776 bytes). System is 1104 kB Kernel: arch/x86/boot/bzImage is ready (#1) Building modules, stage 2. MODPOST 250 modules WARNING: modpost: Found 1 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y' CC arch/x86/crypto/aes-i586.mod.o LD [M] arch/x86/crypto/aes-i586.ko CC arch/x86/kernel/apm.mod.o LD [M] arch/x86/kernel/apm.ko CC arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.mod.o LD [M] arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko CC arch/x86/kernel/cpu/cpufreq/powernow-k8.mod.o LD [M] arch/x86/kernel/cpu/cpufreq/powernow-k8.ko CC crypto/aes_generic.mod.o LD [M] crypto/aes_generic.ko CC crypto/arc4.mod.o LD [M] crypto/arc4.ko CC crypto/cbc.mod.o
Also with 2.6.25-rc9.
Still with 2.6.25.1.
Seems to be fixed with 2.6.26.