Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38376 - cpufreq in gentoo-sources-2.4.22-r5 fails
Summary: cpufreq in gentoo-sources-2.4.22-r5 fails
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-16 00:33 UTC by Fauvet Ludovic
Modified: 2004-02-16 16:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fauvet Ludovic 2004-01-16 00:33:24 UTC
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
Comment 1 Brian Jackson (RETIRED) gentoo-dev 2004-01-16 00:49:00 UTC
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.
Comment 2 joram agten 2004-01-16 03:50:52 UTC
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
Comment 3 Fauvet Ludovic 2004-01-16 04:26:06 UTC
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.
Comment 4 Fauvet Ludovic 2004-01-16 04:58:08 UTC
Now the problem of the bzImage have been solved (I don't know how) but I have the same error as joram agten.
Comment 5 Brad House 2004-01-16 06:21:54 UTC
it's all about kernel configs, and busted kernels.  
Nothing genkernel can help you with, as genkernel can't
magically fix kernel sources.
Comment 6 Fauvet Ludovic 2004-01-19 06:43:18 UTC
Due to a persistent problem I re-open this bug report !
Comment 7 Brad House 2004-01-19 07:03:22 UTC
holy crap ...
freaking fix your kernel config or use a different kernel.
closing again, DO NOT REOPEN
how clear do I need to be ?
Comment 8 Jon Portnoy (RETIRED) gentoo-dev 2004-01-20 10:44:57 UTC
Can x86-kernel doublecheck this, please?
Comment 9 Brian Jackson (RETIRED) gentoo-dev 2004-02-16 16:04:52 UTC
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.