Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95280 - /etc/genkernel ARCH_OVERRIDE not working
Summary: /etc/genkernel ARCH_OVERRIDE not working
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard: InCVS
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-06 17:07 UTC by Kevin Branham
Modified: 2005-07-11 09:38 UTC (History)
0 users

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


Attachments
Genkernel log attached as requested (genkernel.log,74.40 KB, text/plain)
2005-06-15 12:18 UTC, Kevin Branham
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Branham 2005-06-06 17:07:46 UTC
cc1: error: code model `kernel' not supported in the 32 bit mode
make[2]: *** [scripts/mod/empty.o] Error 1
make[1]: *** [scripts/mod] Error 2
--
  SHIPPED scripts/genksyms/keywords.c
  SHIPPED scripts/genksyms/parse.c
  HOSTCC  scripts/genksyms/lex.o
  HOSTCC  scripts/genksyms/parse.o
  HOSTLD  scripts/genksyms/genksyms
make: *** [scripts] Error 2
* Gentoo Linux Genkernel; Version 3.1.5

* ERROR: Failed to compile the "prepare" target...



Reproducible: Always
Steps to Reproduce:
1./etc/genkernel.conf  set option -- ARCH_OVERRIDE="x86"

2.genkernel --udev --dmraid all 

3.Error above is produced

Actual Results:  
Kernel fails to compile in 32bit 

Expected Results:  
Compile a 32 bit kernel. 

Tried - assorted arch's besides x86-64
got same results.   Also tried just genkernel --udev all
and genkernel --udev --menuconfig all , 
unable to override processor type.
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2005-06-15 11:57:03 UTC
Please attach complete /var/log/genkernel.log.
Comment 2 Kevin Branham 2005-06-15 12:18:48 UTC
Created attachment 61297 [details]
Genkernel log attached as requested
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2005-06-22 08:51:33 UTC
Try CMD_ARCHOVERRIDE="x86" instead of ARCH_OVERRIDE="x86".

Comment 4 Eric Edgar (RETIRED) gentoo-dev 2005-07-10 03:47:28 UTC
CMD_ARCHOVERRIDE works but perhaps we should fix this?
Comment 5 Eric Edgar (RETIRED) gentoo-dev 2005-07-11 09:38:46 UTC
Added additional check so that ARCH_OVERRIDE in /etc/genkernel.conf works 
properly.