You are not logged in.
Since a few days I am trying to rebuild my custom ZEN-kernel. After updating the sources everything was built using my own config, that worked many times before.
However, makepkg halted every time I tried to build the kernel, saying:
==> Building kernel and modules...
scripts/kconfig/conf -s arch/x86/Kconfig
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
HOSTCC scripts/kallsyms
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/pnmtologo
HOSTCC scripts/conmakehash
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
CC kernel/bounds.s
GEN include/generated/bounds.h
CC arch/x86/kernel/asm-offsets.s
GEN include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
CC init/main.o
HOSTCC usr/gen_init_cpio
GEN usr/initramfs_data.cpio
AS usr/initramfs_data.o
LD usr/built-in.o
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/do_mounts.o
init/main.c: In function 'do_one_initcall':
init/main.c:723:10: warning: 'calltime.tv64' may be used uninitialized in this function
CC init/do_mounts_initrd.o
CC init/initramfs.o
CC init/calibrate.o
LD arch/x86/crypto/built-in.o
AS [M] arch/x86/crypto/aes-i586-asm_32.o
CC [M] arch/x86/crypto/aes_glue.o
CC init/version.o
AS [M] arch/x86/crypto/salsa20-i586-asm_32.o
CC [M] arch/x86/crypto/salsa20_glue.o
LD init/mounts.o
LD init/built-in.o
CC kernel/sched.o
AS [M] arch/x86/crypto/twofish-i586-asm_32.o
CC [M] arch/x86/crypto/twofish_glue.o
CC [M] arch/x86/crypto/crc32c-intel.o
LD [M] arch/x86/crypto/aes-i586.o
LD [M] arch/x86/crypto/twofish-i586.o
LD [M] arch/x86/crypto/salsa20-i586.o
CC arch/x86/kernel/process_32.o
CC arch/x86/kernel/signal.o
AS arch/x86/kernel/entry_32.o
CC arch/x86/kernel/traps.o
CC kernel/fork.o
CC arch/x86/kernel/irq.o
CC arch/x86/kernel/irq_32.o
CC kernel/exec_domain.o
CC arch/x86/kernel/dumpstack_32.o
CC kernel/panic.o
CC arch/x86/kernel/time.o
CC kernel/printk.o
CC arch/x86/kernel/ioport.o
CC arch/x86/kernel/ldt.o
CC kernel/cpu.o
CC arch/x86/kernel/dumpstack.o
CC kernel/exit.o
CC arch/x86/kernel/setup.o
CC arch/x86/kernel/x86_init.o
CC arch/x86/kernel/i8259.o
CC kernel/itimer.o
CC arch/x86/kernel/irqinit.o
TIMEC kernel/timeconst.h
CC arch/x86/kernel/probe_roms_32.o
CC kernel/softirq.o
CC arch/x86/kernel/sys_i386_32.o
kernel/softirq.c: In function 'run_ksoftirqd':
kernel/softirq.c:719:4: error: implicit declaration of function 'rcu_note_context_switch'
make[1]: *** [kernel/softirq.o] Error 1
make: *** [kernel] Error 2
make: *** Waiting for unfinished jobs....
CC arch/x86/kernel/i386_ksyms_32.o
CC arch/x86/kernel/bootflag.o
CC arch/x86/kernel/e820.o
CC arch/x86/kernel/pci-dma.o
CC arch/x86/mm/init.o
CC arch/x86/kernel/quirks.o
CC arch/x86/mm/init_32.o
CC arch/x86/kernel/i8237.o
CC arch/x86/kernel/topology.o
CC arch/x86/kernel/kdebugfs.o
CC arch/x86/mm/fault.o
CC arch/x86/kernel/alternative.o
CC arch/x86/mm/ioremap.o
CC arch/x86/kernel/i8253.o
CC arch/x86/kernel/pci-nommu.o
CC arch/x86/mm/extable.o
CC arch/x86/mm/pageattr.o
CC arch/x86/kernel/hw_breakpoint.o
CC arch/x86/kernel/tsc.o
CC arch/x86/mm/mmap.o
CC arch/x86/mm/pat.o
CC arch/x86/kernel/io_delay.o
CC arch/x86/kernel/rtc.o
CC arch/x86/mm/pgtable.o
CC arch/x86/kernel/trampoline.o
CC arch/x86/kernel/process.o
CC arch/x86/mm/physaddr.o
CC arch/x86/mm/gup.o
CC arch/x86/kernel/i387.o
CC arch/x86/mm/setup_nx.o
CC arch/x86/mm/tlb.o
CC arch/x86/kernel/xsave.o
CC arch/x86/mm/pgtable_32.o
CC arch/x86/kernel/ptrace.o
CC arch/x86/mm/iomap_32.o
LD arch/x86/mm/built-in.o
LDS arch/x86/vdso/vdso32/vdso32.lds
CC arch/x86/kernel/tls.o
AS arch/x86/vdso/vdso32/note.o
AS arch/x86/vdso/vdso32/int80.o
AS arch/x86/vdso/vdso32/sysenter.o
CC arch/x86/vdso/vdso32-setup.o
CC arch/x86/kernel/step.o
VDSO arch/x86/vdso/vdso32-int80.so.dbg
CC arch/x86/kernel/acpi/boot.o
VDSO arch/x86/vdso/vdso32-sysenter.so.dbg
VDSOSYM arch/x86/vdso/vdso32-int80-syms.lds
VDSOSYM arch/x86/vdso/vdso32-sysenter-syms.lds
OBJCOPY arch/x86/vdso/vdso32-int80.so
OBJCOPY arch/x86/vdso/vdso32-sysenter.so
VDSOSYM arch/x86/vdso/vdso32-syms.lds
AS arch/x86/vdso/vdso32.o
LD arch/x86/vdso/built-in.o
CC arch/x86/kernel/acpi/cstate.o
CC arch/x86/kernel/apic/apic.o
LD arch/x86/kernel/acpi/built-in.o
CC arch/x86/kernel/cpu/intel_cacheinfo.o
arch/x86/kernel/apic/apic.c: In function 'lapic_suspend':
arch/x86/kernel/apic/apic.c:1989:3: warning: statement with no effect
arch/x86/kernel/apic/apic.c: In function 'lapic_resume':
arch/x86/kernel/apic/apic.c:2066:3: warning: statement with no effect
CC arch/x86/kernel/cpu/addon_cpuid_features.o
CC arch/x86/kernel/apic/apic_noop.o
CC arch/x86/kernel/cpu/proc.o
CC arch/x86/kernel/apic/probe_32.o
MKCAP arch/x86/kernel/cpu/capflags.c
CC arch/x86/kernel/cpu/powerflags.o
CC arch/x86/kernel/cpu/common.o
CC arch/x86/kernel/apic/ipi.o
CC arch/x86/kernel/apic/nmi.o
CC arch/x86/kernel/cpu/vmware.o
CC arch/x86/kernel/cpu/hypervisor.o
CC arch/x86/kernel/cpu/sched.o
CC arch/x86/kernel/apic/io_apic.o
CC arch/x86/kernel/cpu/bugs.o
CC arch/x86/kernel/cpu/cmpxchg.o
CC arch/x86/kernel/cpu/intel.o
CC arch/x86/kernel/cpu/perf_event.o
arch/x86/kernel/cpu/perf_event.c:1206:32: warning: 'emptyconstraint' defined but not used
LD arch/x86/kernel/apic/built-in.o
CC arch/x86/kernel/reboot.o
LD arch/x86/kernel/cpu/cpufreq/built-in.o
CC [M] arch/x86/kernel/cpu/cpufreq/speedstep-ich.o
CC arch/x86/kernel/early-quirks.o
CC [M] arch/x86/kernel/cpu/cpufreq/speedstep-lib.o
CC arch/x86/kernel/smp.o
CC arch/x86/kernel/cpu/mcheck/mce.o
CC arch/x86/kernel/smpboot.o
CC arch/x86/kernel/cpu/mtrr/main.o
CC arch/x86/kernel/cpu/mcheck/mce-severity.o
CC arch/x86/kernel/cpu/mcheck/mce_intel.o
CC arch/x86/kernel/cpu/mtrr/if.o
CC arch/x86/kernel/cpu/mcheck/threshold.o
CC arch/x86/kernel/cpu/mtrr/generic.o
CC arch/x86/kernel/cpu/mcheck/therm_throt.o
LD arch/x86/kernel/cpu/mcheck/built-in.o
CC arch/x86/kernel/cpu/perfctr-watchdog.o
CC arch/x86/kernel/cpu/mtrr/cleanup.o
CC arch/x86/kernel/cpu/mtrr/amd.o
CC arch/x86/kernel/cpu/mtrr/cyrix.o
CC arch/x86/kernel/cpu/mtrr/centaur.o
CC arch/x86/kernel/tsc_sync.o
LD arch/x86/kernel/cpu/mtrr/built-in.o
CC arch/x86/kernel/cpu/capflags.o
LD arch/x86/kernel/cpu/built-in.o
CC arch/x86/kernel/setup_percpu.o
AS arch/x86/kernel/trampoline_32.o
CC arch/x86/kernel/module.o
CC arch/x86/kernel/doublefault_32.o
CC arch/x86/kernel/vm86_32.o
CC arch/x86/kernel/hpet.o
AS arch/x86/kernel/head_32.o
arch/x86/kernel/head_32.S: Assembler messages:
arch/x86/kernel/head_32.S:64: Warning: shift count out of range (32 is not between 0 and 31)
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 [M] arch/x86/kernel/msr.o
CC [M] arch/x86/kernel/cpuid.o
LD arch/x86/kernel/built-in.o
LD arch/x86/built-in.o
==> ERROR: Failed... Your source tree might be broken. Run 'make mrproper' in src/kernel26zen-stable to clean it up
Aborting...
I know the problem is probably not in built-in.o but somewhere else.
Of course I ran `make mrproper` in the mentioned directory before I rebuilt over and over again, enabling and disabling several modules, like Mountainjew did in this topic. I even tried to download the complete source tree again, but to no avail.
Does anyone know if there's currently a problem with one of the kernel modules or with the ZEN sources in general?
Last edited by Marcel- (2010-08-02 21:50:06)
Offline
Stupid me! I overlooked this error message:
kernel/softirq.c: In function 'run_ksoftirqd':
kernel/softirq.c:719:4: error: implicit declaration of function 'rcu_note_context_switch'
Some searching resulted in a post in the Gentoo forums, saying that CONFIG_BRIDGE_IGMP_SNOOPING is the culprit. I noticed that flag wasn't enabled at all, but two posts below it turned out that using Classic RCU can cause troubles. I switched to Tree RCU and my kernel was built successfully (though this still sounds like a bug to me).
Offline
How do you switch between classic RCU and tree RCU?
Excuse my noobiness
Offline
I already feared that that question would pop up
General setup
RCU Subsystem
RCU Implementation
Tree-based hierarchical RCU
Offline