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
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
Did you run make oldconfig? Did you choose a cpu type when it asked you to?
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.
I'll add a warning to the ebuild to do this