Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38433 - linux-2.6.1-mm4 compile error
Summary: linux-2.6.1-mm4 compile error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-16 11:24 UTC by Luke Macken (RETIRED)
Modified: 2004-01-16 14:17 UTC (History)
0 users

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


Attachments
My Kernel Configuration File (.config,22.27 KB, text/plain)
2004-01-16 11:25 UTC, Luke Macken (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luke Macken (RETIRED) gentoo-dev 2004-01-16 11:24:30 UTC
Using the same .config file that I previously compiled 2.6.1-mm1 with, I get the following error when running 'make' in linux-2.6.1-mm4:


  CC      arch/i386/kernel/asm-offsets.s
In file included from include/asm/thread_info.h:13,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from arch/i386/kernel/asm-offsets.c:7:
include/asm/processor.h:66: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
include/asm/processor.h:66: requested alignment is not a constant
make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1
make: *** [arch/i386/kernel/asm-offsets.s] Error 2


Reproducible: Always
Steps to Reproduce:
1. emerge mm-sources
2. cd /usr/src/linux-2.6.1-mm4
3. make

Actual Results:  
Compiler errors

Expected Results:  
Compiled Successfully
Comment 1 Luke Macken (RETIRED) gentoo-dev 2004-01-16 11:25:59 UTC
Created attachment 23940 [details]
My Kernel Configuration File

My .config file that works fine in 2.6.1-mm1, but produces the error in -mm4
Comment 2 Brian Jackson (RETIRED) gentoo-dev 2004-01-16 12:46:32 UTC
Did you run make oldconfig? Did you choose a cpu type when it asked you to?
Comment 3 Luke Macken (RETIRED) gentoo-dev 2004-01-16 14:07:31 UTC
Apparently kernel configs from mm1 aren't compatable with mm4.  I had to manually go in an select the processor type from menuconfig.  Sorry for overlooking this, but I made the assumption that they would be compable.
Comment 4 Brian Jackson (RETIRED) gentoo-dev 2004-01-16 14:17:21 UTC
I'll add a warning to the ebuild to do this