Maciej Matysiak wrote:
jaakko, what's the gcc version you've compiled the kernel? i'm on sarge here, with: ii gcc-3.3 3.3.3-6 The GNU C compiler
My system is a mixed stable/testing/unstable with 'APT::Default-Release "stable"' set. I used gcc 2.95.4 until 2.6.5 forced me to update; some assembler part would not compile anymore (I think it was opDEC_check(void) in arch/alpha/kernel/traps.c).
I use kernel-package to do all the dirty work ('time make-kpkg --revision 1 --rootcmd fakeroot kernel-image').
% dpkg -l gcc\* kernel-package | grep ^ii ii gcc 3.3.3-2 The GNU C compiler ii gcc-2.95 2.95.4-11woody The GNU C compiler. ii gcc-3.3 3.3.3-6 The GNU C compiler ii gcc-3.3-base 3.3.3-6 The GNU Compiler Collection (base package) ii kernel-package 7.107 Debian Linux kernel package build scripts.
% ./linux-2.6.5/scripts/ver_linux If some fields are empty or look unusual you may have an old version. Compare to the current minimal requirements in Documentation/Changes.
Linux testoapina 2.6.5 #1 Tue Apr 13 15:49:02 EEST 2004 alpha unknown
Gnu C 3.3.3 Gnu make 3.79.1 binutils 2.14.90.0.7 util-linux 2.11n mount 2.11n module-init-tools implemented e2fsprogs 1.27 nfs-utils 1.0 Linux C Library 2.3.2 Dynamic linker (ldd) 2.3.2 Procps 2.0.7 Net-tools 1.60 Console-tools 0.2.3 Sh-utils 2.0.11
Jaska