natasha.build exhibits this whilst building latest kernel.. include/asm/mmu_context.h:67: warning: type qualifiers ignored on function return type arch/ia64/mm/init.c: In function 'check_pgt_cache': arch/ia64/mm/init.c:105: internal compiler error: in output_5, at insn-output.c:107 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugzilla.redhat.com/bugzilla> for instructions. CHK include/linux/compile.h Preprocessed source stored into /tmp/ccdoEB8k.out file, please attach this to your bugreport. make[1]: *** [arch/ia64/mm/init.o] Error 1 make: *** [arch/ia64/mm] Error 2 make: *** Waiting for unfinished jobs....
Created attachment 114478 [details] preprocessed output
Simplified testcase that ICEs at -O2: struct S { void *s[256]; }; struct T { long t[23]; struct S *u; }; extern struct T #ifdef __ia64__ __attribute__((model (small))) #endif v; void * foo (void) { return v.u->s[0]; }
the bizarre thing -- this code hasnt changed recently, and it has built fine in the previous build. Did we recently upgrade the gcc in the buildroot ?
Should be fixed in gcc-4.0.0-7.