http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45102
sledge <sledgeas at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sledgeas at gmail dot com --- Comment #4 from sledge <sledgeas at gmail dot com> 2010-11-04 15:51:09 UTC --- Identically the same here: Ubuntu 10.04 32-bit host; According to http://www.idroidproject.org/forum/general-discussion/compiling-kernel-issues/ this patch works-around, (only) hoping the android;kernel is still usable after it: diff --git a/mm/page-writeback.c b/mm/page-writeback.c index 2c5d792..bda86bb 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c @@ -915,7 +915,7 @@ continue_unlock: goto continue_unlock; } - BUG_ON(PageWriteback(page)); + // BUG_ON(PageWriteback(page)); if (!clear_page_dirty_for_io(page)) goto continue_unlock; other info as requested (equivalent to the bug author's): #.../google/aof/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-gcc -v Using built-in specs. Target: arm-eabi Configured with: /home/jingyu/projects/gcc/android-toolchain/gcc-4.4.0/configure --prefix=/usr/local --target=arm-eabi --host=i686-unknown-linux-gnu --build=i686-unknown-linux-gnu --enable-languages=c,c++ --with-gmp=/home/jingyu/projects/gcc/toolchain_build/obj/temp-install --with-mpfr=/home/jingyu/projects/gcc/toolchain_build/obj/temp-install --disable-libssp --enable-threads --disable-nls --disable-libmudflap --disable-libgomp --disable-libstdc__-v3 --disable-sjlj-exceptions --disable-shared --disable-tls --with-float=soft --with-fpu=vfp --with-arch=armv5te --enable-target-optspace --with-abi=aapcs --with-gcc-version=4.4.0 --with-binutils-version=2.19 --with-gmp-version=4.2.4 --with-mpfr-version=2.4.1 --with-gdb-version=6.6 --with-arch=armv5te --with-multilib-list=mthumb-interwork,mandroid --with-sysroot=/g/users/jingyu/toolchain/cupcake_rel_root --program-transform-name='s&^&arm-eabi-&' Thread model: single gcc version 4.4.0 (GCC) .... .../google/aof/kernel/mm/page-writeback.c: In function 'write_cache_pages': .../google/aof/kernel/mm/page-writeback.c:820: 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[3]: *** [mm/page-writeback.o] Error 1 make[2]: *** [mm] Error 2 make[1]: *** [sub-make] Error 2 make: *** [out/target/product/generic/obj/KERNEL/arch/arm/boot/uImage] Error 2