Here's a BIG bug that needs to be fixed ASAP before pinstripe comes out of beta.. RH6.2 with no modifications to the gcc/cpp/egcs suite will compile ANY kernel from linux2.2.14 to linux-2.4.0-test7. The pinstripe installation I am using has trouble recompiling linux-2.2.16-17. Kernel build process results under pinstrip for Linux-2.4.0-test7 make dep --> No problems. make bzImage: Pasting errors, bad tokens, internal compiler errors.. Dies with error 11. Had the compiler (!) segfault on me in one attempt. Compiler finds all sorts of errors with apic.h make modules: Falls flat. Kernel Build process results under RH6.2 with updated linux-utils, modutils and ppp. make dep --> No errors. make bzImage --> No Errors. make modules --> No Errors. make modules_install--> No errors. BOOT --> Boots okay, does not correctly load modules automatically.
You should not compile 2.2 kernels with gcc 2.96, there is a kgcc compiler which should be used for 2.2 kernel compiles. As for the gcc, current gcc (check e.g. rawhide) can compile 2.4 kernels just fine, the only known bug are some of the pasting warnings from preprocessor which are already fixed in CVS and will be in the next gcc build (but some of those warnings are valid and kernel should be fixed). If you still see any ICEs with say ftp://ultra.linux.cz/private/gcc-2.96-53/, then please run gcc with -save-temps, reopen this bug and mail me the command line and .i output.