On Fri, Jan 07, 2011 at 10:31:47PM -0800, JD wrote:
> OBJCOPY arch/x86/vdso/vdso32-sysenter.so
> AS arch/x86/vdso/vdso32.o
> CC arch/x86/vdso/vdso32-setup.o
> VDSOSYM arch/x86/vdso/vdso32-int80-syms.lds
> VDSOSYM arch/x86/vdso/vdso32-sysenter-syms.lds
> VDSOSYM arch/x86/vdso/vdso32-syms.lds
> LD arch/x86/vdso/built-in.o
> LD arch/x86/built-in.o
> CC kernel/sched.o
> kernel/sched.c: In function ‘init_idle’:
> kernel/sched.c:5397: error: implicit declaration of function
> ‘double_rq_lock’
> kernel/sched.c:5422: error: implicit declaration of function
> ‘double_rq_unlock’
> make[1]: *** [kernel/sched.o] Error 1
> make: *** [kernel] Error 2
>
I re-ran make xconfig and re-enabled SMP
and restarted make all.
No compilation problems.
So, it seems that disabling SMP breaks the kernel compilation.
This is a rather loud evidence that the kernel devs have inserted
code (perhaps unwittingly) that is SMP dependent without proper
ifdefs for SMP and non-SMP.
Ok, you are probably right. File a bug at
bugzilla.redhat.com
Cheers,
Don