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.
Please attach complete /var/log/genkernel.log.
Created attachment 61297 [details] Genkernel log attached as requested
Try CMD_ARCHOVERRIDE="x86" instead of ARCH_OVERRIDE="x86".
CMD_ARCHOVERRIDE works but perhaps we should fix this?
Added additional check so that ARCH_OVERRIDE in /etc/genkernel.conf works properly.