missing asm-x86_64 detection
From: Reinaldo Carvalho
Date: Thu Jan 31 2008 - 18:13:51 EST
:/# uname -a
Linux devil 2.6.22.16-amd64 #15 SMP Sat Jan 19 13:58:02 BRT 2008
x86_64 GNU/Linux
:/# cd /usr/src/linux-2.6.22
:/# patch -p1 -R < ../patch-2.6.22.16
:/# patch -p1 < ../patch-2.6.23
:/# patch -p1 < ../patch-2.6.24
:/# cd /usr/src/ ; mv linux-2.6.22 linux-2.6.24; cd linux-2.6.24
:/usr/src/linux-2.6.24# make oldconfig
:/usr/src/linux-2.6.24# make all
CHK include/linux/version.h
CHK include/linux/utsrelease.h
ERROR: the symlink include/asm points to asm-x86_64 but asm-x86 was expected
set ARCH or save .config and run 'make mrproper' to fix it
make: ** [include/asm] Erro 1
:/usr/src/linux-2.6.24# cp .config ../config-2.6.24
:/usr/src/linux-2.6.24# make mrproper
CLEAN scripts/basic
CLEAN scripts/genksyms
CLEAN scripts/kconfig
CLEAN scripts/mod
CLEAN scripts
CLEAN include/config
CLEAN .config .config.old include/asm .version
include/linux/autoconf.h include/linux/version.h
include/linux/utsrelease.h Module.symvers
devil:/usr/src/linux-2.6.24# cp ../config-2.6.24 .config
devil:/usr/src/linux-2.6.24# make oldconfig
devil:/usr/src/linux-2.6.24# make all
scripts/kconfig/conf -s arch/x86/Kconfig
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/linux/utsrelease.h
UPD include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
CC arch/x86/kernel/asm-offsets.s
GEN include/asm-x86/asm-offsets.h
...
system is x86_64!
:/# grep model\ name /proc/cpuinfo
model name : AMD Turion(tm) 64 X2
model name : AMD Turion(tm) 64 X2
:/# uname -a
Linux devil 2.6.22.16-amd64 #15 SMP Sat Jan 19 13:58:02 BRT 2008
x86_64 GNU/Linux
--
Reinaldo Carvalho
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/