Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44769 - Kernel 2.6.4-gentoo does not compile on the Elan sub-architecture
Summary: Kernel 2.6.4-gentoo does not compile on the Elan sub-architecture
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-15 13:36 UTC by Marius Caldas
Modified: 2004-06-02 18:21 UTC (History)
0 users

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 Marius Caldas 2004-03-15 13:36:31 UTC
The kernel 2.6.4-gentoo has a configuration problem when using the Elan sub-architecture. If you select this architecture in the processor choice, the kernel does not compile. This is the output:
/usr/src/linux # make && make modules_install
  CC      scripts/empty.o
  MKELF   scripts/elfconfig.h
  HOSTCC  scripts/file2alias.o
  HOSTCC  scripts/modpost.o
  HOSTCC  scripts/sumversion.o
  HOSTLD  scripts/modpost
  SPLIT   include/linux/autoconf.h -> include/config/*
  CC      arch/i386/kernel/asm-offsets.s
  CHK     include/asm-i386/asm_offsets.h
  CC      init/main.o
In file included from include/linux/module.h:21,
                 from init/main.c:16:
include/asm/module.h:54:2: #error unknown processor family
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2

I worked around it by patching the include/asm/module.h file with the following lines:

#elif defined CONFIG_X86_ELAN
#define MODULE_PROC_FAMILY "ELAN "

Now it comiles just fine. Don't know if it runs yet because I have a bug that is dependendant on the 2.6.4 kernel running on an Athlon64 development workstation (bug #44767)

Reproducible: Always
Steps to Reproduce:
1.Select the Elan architecture
2.Save the kernel config
3.Try to compile
Comment 1 Michal Januszewski (RETIRED) gentoo-dev 2004-04-11 04:49:21 UTC
How about the current stable, 2.6.5 kernel? Is the problem still there?
Comment 2 Jason Cox (RETIRED) gentoo-dev 2004-06-02 17:36:33 UTC
Three months and still no word. I'm closing this unless i hear an objection.
Comment 3 Marius Caldas 2004-06-02 18:21:27 UTC
Sorry guys, unfortunately I had to change jobs to a M$ centric company :-( and I could not verify if any fixes to this kernel version resolved the issue.