Is there a way to tell make-kpkg to use a different gcc? env HOSTCC=sparc64-linux-gcc make-kpkg... didn't seem to work. sat
gcc-3.3 is not suitable for compiling kernels. I wouldn't call it a bug. The issue is that the kernel build files check if "gcc" is capable of building 64-bit, and if so, it uses it. It should just use sparc64-linux-gcc. You could have done this a lot easier by editing arch/sparc64/Makefile in the kernel sources and commenting out the CC= line and adding one for "CC=sparc64-linux-gcc".
-- The greatness of the United States is that it corrects its errors. -Octavio Paz