genkernel-3.0.1_beta4 die: gen_die() when I tried to compile the gentoo-kernel 2.4.22-r5 (same error with r4 & 2.6.1-mm3). This error appears when compiling modules. Reproducible: Always Steps to Reproduce: 1. genkernel all Actual Results: * kernel: Starting compile of linux 2.6.1-mm3 bzImage * gen_die(): compile of bzImage failed Expected Results: The software must make my kernel :p
It had to have given you more error msgs than that. We can't even begin to figure out what the problem is without at least knowing where it's dieing.
I have the exact same problem here is the last part of the genkernel.log file gcc -D__KERNEL__ -I/usr/src/linux-2.4.22-gentoo-r5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-co mmon -finline-limit=2000 -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -I.. -funsigned-char -nostdinc -iwithprefix include -DKBUILD_BASENAME=xfs_lrw -c -o xfs_lrw.o xfs_lrw.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.22-gentoo-r5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-co mmon -finline-limit=2000 -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -I /usr/src/linux-2.4.22-gentoo-r5/fs/xfs -nostdinc -iwithprefix include -DKBUILD_BASENAME=xfs_qm_bhv -c -o xfs_qm_bhv.o xfs_qm_bhv.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.22-gentoo-r5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-co mmon -finline-limit=2000 -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -I.. -funsigned-char -nostdinc -iwithprefix include -DKBUILD_BASENAME=xfs_super -c -o xfs_super.o xfs_super.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.22-gentoo-r5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-co mmon -finline-limit=2000 -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -I /usr/src/linux-2.4.22-gentoo-r5/fs/xfs -nostdinc -iwithprefix include -DKBUILD_BASENAME=xfs_qm -DEXPORT_SYMTAB -c xfs_qm.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.22-gentoo-r5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-co mmon -finline-limit=2000 -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -I.. -funsigned-char -nostdinc -iwithprefix include -DKBUILD_BASENAME=xfs_vfs -c -o xfs_vfs.o xfs_vfs.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.22-gentoo-r5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-co mmon -finline-limit=2000 -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -I.. -funsigned-char -nostdinc -iwithprefix include -DKBUILD_BASENAME=xfs_vnode -c -o xfs_vnode.o xfs_vnode.c rm -f linux_xfs.o ld -m elf_i386 -r -o linux_xfs.o xfs_stats.o xfs_sysctl.o xfs_aops.o xfs_behavior.o xfs_file.o xfs_fs_subr.o xfs_globals.o xfs_ioct l.o xfs_iomap.o xfs_iops.o xfs_lrw.o xfs_super.o xfs_vfs.o xfs_vnode.o make[3]: Leaving directory `/usr/src/linux-2.4.22-gentoo-r5/fs/xfs/linux' rm -f xfs_quota.o ld -m elf_i386 -r -o xfs_quota.o xfs_qm_stats.o xfs_dquot.o xfs_dquot_item.o xfs_trans_dquot.o xfs_qm_syscalls.o xfs_qm_bhv.o xfs_q m.o make[3]: Leaving directory `/usr/src/linux-2.4.22-gentoo-r5/fs/xfs/quota' rm -f xfs.o ld -m elf_i386 -r -o xfs.o xfs_alloc.o xfs_alloc_btree.o xfs_attr.o xfs_attr_leaf.o xfs_bit.o xfs_bmap.o xfs_bmap_btree.o xfs_btree .o xfs_buf_item.o xfs_da_btree.o xfs_dir.o xfs_dir2.o xfs_dir2_block.o xfs_dir2_data.o xfs_dir2_leaf.o xfs_dir2_node.o xfs_dir2_sf.o xfs_dir2_trace.o xfs_dir_leaf.o xfs_error.o xfs_extfree_item.o xfs_fsops.o xfs_ialloc.o xfs_ialloc_btree.o xfs_iget.o xfs_inode.o x fs_inode_item.o xfs_iocore.o xfs_itable.o xfs_dfrag.o xfs_log.o xfs_log_recover.o xfs_macros.o xfs_mount.o xfs_rename.o xfs_trans.o xfs_trans_ail.o xfs_trans_buf.o xfs_trans_extfree.o xfs_trans_inode.o xfs_trans_item.o xfs_utils.o xfs_vfsops.o xfs_vnodeops.o xfs_r w.o pagebuf/pagebuf.o linux/linux_xfs.o support/support_xfs.o quota/xfs_quota.o xfs_dmops.o xfs_qmops.o make[2]: Leaving directory `/usr/src/linux-2.4.22-gentoo-r5/fs/xfs' make[1]: Leaving directory `/usr/src/linux-2.4.22-gentoo-r5/fs' * gen_die(): compile of modules failed
This is my genkernel.log error: arch/i386/kernel/cpu/cpufreq/p4-clockmod.c: In function `cpufreq_p4_setdc': arch/i386/kernel/cpu/cpufreq/p4-clockmod.c:71 error: `cpu_sibling_map' undeclared (first use in this function) arch/i386/kernel/cpu/cpufreq/p4-clockmod.c:71 error: (Each undeclared identifier is reported only once arch/i386/kernel/cpu/cpufreq/p4-clockmod.c:71 for each function it appears in.) make[3]: *** [arch/i386/kernel/cpu/cpufreq/p4-clockmod.o] Error 1 make[2]: *** [arch/i386/kernel/cpu/cpufreq] Error 2 make[1]: ***[arch/i386/kernel/cpu] Error 2 make: *** [arch/i386/kernel] Error 2 make: *** Waiting for unfinished jobs.... ... * gen_die(): compile od bzImage failed.
Now the problem of the bzImage have been solved (I don't know how) but I have the same error as joram agten.
it's all about kernel configs, and busted kernels. Nothing genkernel can help you with, as genkernel can't magically fix kernel sources.
Due to a persistent problem I re-open this bug report !
holy crap ... freaking fix your kernel config or use a different kernel. closing again, DO NOT REOPEN how clear do I need to be ?
Can x86-kernel doublecheck this, please?
2.6.1-mm3 is UPSTREAM and 2.4.22-gentoo doesn't have any cpufreq, so you've got 2 different problems here. I'm willing to entertain any gentoo-sources specific errors you get.