kernel 2.2.17pre19 with gcc-2.96 in pinstripe fails make[1]: Leaving directory `/usr/src/linux-2.2.17pre19/arch/i386/mm' make -C arch/i386/lib make[1]: Entering directory `/usr/src/linux-2.2.17pre19/arch/i386/lib' make all_targets make[2]: Entering directory `/usr/src/linux-2.2.17pre19/arch/i386/lib' cc -D__KERNEL__ -I/usr/src/linux/include -D__ASSEMBLY__ -traditional -c checksum.S -o checksum.o checksum.S:231: badly punctuated parameter list in #define checksum.S:237: badly punctuated parameter list in #define make[2]: *** [checksum.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.2.17pre19/arch/i386/lib' make[1]: *** [first_rule] Error 2 make[1]: Leaving directory `/usr/src/linux-2.2.17pre19/arch/i386/lib' make: *** [_dir_arch/i386/lib] Error 2 root@isaac:/usr/src/linux>
Created attachment 2738 [details] .config
Use kgcc to compile the kernel. Yeah, we don't like it either, but the kernel has to make assumptions about the compiler that other code does not, and the stable kernel series tends to move slowly vis-a-vis compiler changes.