Linux Kernel 2.6.25 on Gentoo sparc (error: -m64 is not supported by this configuration)
I wanted to try the new 2.6.25 kernel on a Sunblade 100 I'm reinstalling. But immediately after entering "make" I got the following error:
I found the solution here, along with the explanation. To make it short, to get it to work, for now you'll have to type:
arch/sparc64/kernel/asm-offsets.c:1: error: -m64 is not supported by this configuration
arch/sparc64/kernel/asm-offsets.c:1: error: -mlong-double-64 not allowed with -m64
arch/sparc64/kernel/asm-offsets.c:1: error: -mcmodel= is not supported on 32 bit systems
make[1]: *** [arch/sparc64/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
I found the solution here, along with the explanation. To make it short, to get it to work, for now you'll have to type:
# CROSS_COMPILE=sparc64-unknown-linux-gnu- make