Bug : mm/page-writeback.c:820: internal compiler error: Segmentation fault

Android 编译bug  mm/page-writeback.c:820: internal compiler error: Segmentation fault 解决:


问题描述:

CC      mm/page-writeback.o

mm/page-writeback.c: In function 'write_cache_pages':

mm/page-writeback.c:918: internal compiler error: Segmentation fault

Please submit a full bug report,

with preprocessed source if appropriate.

See <http://gcc.gnu.org/bugs.html
> for instructions.

make[1]: *** [mm/page-writeback.o] Error 1

make: *** [mm] Error 2





解决方法:vi kernel/mm/page-backwrite.c +918

注释下面这一行即可

// BUG_ON(PageWriteback(page));



重新编译ok


参考文档:http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45102

你可能感兴趣的:(android,function,cache,report,文档,compiler)