System being built : LFS 6.4 on a 4GB USB 2.0 stick Host system used : BLFS 6.3 on a 4GB USB 2.0 stick
Processor : AMD AM2 Athlon 64 LE-1620 RAM : 2GB I am getting the warnings below, first when compiling the 2.26.27.4 kernel in the LFS 6.4 book then with the 2.6.27.10 kernel. The kernel does compile and I can boot to a command line I can even connect to the internet with these kernels. So are these warnings anything to worry about? I am not building any modules and I do not use a swap partition. CC arch/x86/kernel/hpet.o CC arch/x86/kernel/k8.o CC arch/x86/kernel/pcspeaker.o LD arch/x86/kernel/built-in.o WARNING: arch/x86/kernel/built-in.o(.text+0x93c): Section mismatch in reference from the function cpu_idle() to the function .cpuinit.text:cpu_uninit() The function cpu_idle() references the function __cpuinit cpu_uninit(). This is often because cpu_idle lacks a __cpuinit annotation or the annotation of cpu_uninit is wrong. AS arch/x86/kernel/head_32.o CC arch/x86/kernel/head32.o CC arch/x86/kernel/head.o CC arch/x86/kernel/init_task.o LDS arch/x86/kernel/vmlinux.lds CC arch/x86/mm/init_32.o Later in the same compilation the same thing occurs: AS arch/x86/lib/thunk_32.o CC arch/x86/lib/usercopy_32.o AR arch/x86/lib/lib.a LD vmlinux.o MODPOST vmlinux.o WARNING: vmlinux.o(.text+0xf1c): Section mismatch in reference from the function cpu_idle() to the function .cpuinit.text:cpu_uninit() The function cpu_idle() references the function __cpuinit cpu_uninit(). This is often because cpu_idle lacks a __cpuinit annotation or the annotation of cpu_uninit is wrong. WARNING: vmlinux.o(.cpuinit.data+0x0): Section mismatch in reference from the variable initial_code to the function .init.text:i386_start_kernel() The variable __cpuinitdata initial_code references a function __init i386_start_kernel(). If i386_start_kernel is only used by initial_code then annotate i386_start_kernel with a matching annotation. 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 The kernel does compile thus: Root device is (180, 1) Setup is 12124 bytes (padded to 12288 bytes). System is 2420 kB CRC 37f16fb0 Kernel: arch/x86/boot/bzImage is ready (#1) Thanks, Gary -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page