From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15328 invoked by alias); 4 Nov 2010 15:51:29 -0000 Received: (qmail 15106 invoked by uid 22791); 4 Nov 2010 15:51:27 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_JL X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 04 Nov 2010 15:51:22 +0000 From: "sledgeas at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/45102] mm/page-writeback.c:820: internal compiler error: Segmentation fault X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sledgeas at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Thu, 04 Nov 2010 15:51:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-11/txt/msg00546.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45102 sledge changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sledgeas at gmail dot com --- Comment #4 from sledge 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 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