public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/45102]  New: mm/page-writeback.c:820: internal compiler error: Segmentation fault
@ 2010-07-28  9:20 yenchengwang at gmail dot com
  2010-07-28  9:25 ` [Bug c/45102] " ubizjak at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: yenchengwang at gmail dot com @ 2010-07-28  9:20 UTC (permalink / raw)
  To: gcc-bugs

the gcc version, system type, and options given when GCC configured/built:
ycwang@ycwang-laptop:/home/my_codes/Android/linux-2.6$ 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)

/************************************************************************/
complete command line that triggers the bug:
make zImage

/************************************************************************/
compiler output:
...(ignored)
CC      mm/page-writeback.o
mm/page-writeback.c: In function 'write_cache_pages':
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[1]: *** [mm/page-writeback.o] Error 1
make: *** [mm] Error 2

/************************************************************************/


-- 
           Summary: mm/page-writeback.c:820: internal compiler error:
                    Segmentation fault
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: yenchengwang at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45102


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c/45102] mm/page-writeback.c:820: internal compiler error: Segmentation fault
  2010-07-28  9:20 [Bug c/45102] New: mm/page-writeback.c:820: internal compiler error: Segmentation fault yenchengwang at gmail dot com
@ 2010-07-28  9:25 ` ubizjak at gmail dot com
  2010-07-29  1:27 ` yenchengwang at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: ubizjak at gmail dot com @ 2010-07-28  9:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from ubizjak at gmail dot com  2010-07-28 09:25 -------
Please attach preprocessed source, see [1] for detailed instructions.

[1] http://gcc.gnu.org/bugs/


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45102


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c/45102] mm/page-writeback.c:820: internal compiler error: Segmentation fault
  2010-07-28  9:20 [Bug c/45102] New: mm/page-writeback.c:820: internal compiler error: Segmentation fault yenchengwang at gmail dot com
  2010-07-28  9:25 ` [Bug c/45102] " ubizjak at gmail dot com
@ 2010-07-29  1:27 ` yenchengwang at gmail dot com
  2010-07-29  9:20 ` jakub at gcc dot gnu dot org
  2010-07-29 10:46 ` ramana at gcc dot gnu dot org
  3 siblings, 0 replies; 6+ messages in thread
From: yenchengwang at gmail dot com @ 2010-07-29  1:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from yenchengwang at gmail dot com  2010-07-29 01:27 -------
Created an attachment (id=21345)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21345&action=view)
the preprocessed file of page-writeback


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45102


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c/45102] mm/page-writeback.c:820: internal compiler error: Segmentation fault
  2010-07-28  9:20 [Bug c/45102] New: mm/page-writeback.c:820: internal compiler error: Segmentation fault yenchengwang at gmail dot com
  2010-07-28  9:25 ` [Bug c/45102] " ubizjak at gmail dot com
  2010-07-29  1:27 ` yenchengwang at gmail dot com
@ 2010-07-29  9:20 ` jakub at gcc dot gnu dot org
  2010-07-29 10:46 ` ramana at gcc dot gnu dot org
  3 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-07-29  9:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jakub at gcc dot gnu dot org  2010-07-29 09:20 -------
Please provide also gcc command line options used to trigger the ICE on
page-writeback.i.  Thanks.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45102


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c/45102] mm/page-writeback.c:820: internal compiler error: Segmentation fault
  2010-07-28  9:20 [Bug c/45102] New: mm/page-writeback.c:820: internal compiler error: Segmentation fault yenchengwang at gmail dot com
                   ` (2 preceding siblings ...)
  2010-07-29  9:20 ` jakub at gcc dot gnu dot org
@ 2010-07-29 10:46 ` ramana at gcc dot gnu dot org
  3 siblings, 0 replies; 6+ messages in thread
From: ramana at gcc dot gnu dot org @ 2010-07-29 10:46 UTC (permalink / raw)
  To: gcc-bugs



-- 

ramana at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45102


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c/45102] mm/page-writeback.c:820: internal compiler error: Segmentation fault
       [not found] <bug-45102-4@http.gcc.gnu.org/bugzilla/>
@ 2010-11-04 15:51 ` sledgeas at gmail dot com
  0 siblings, 0 replies; 6+ messages in thread
From: sledgeas at gmail dot com @ 2010-11-04 15:51 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-11-04 15:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-28  9:20 [Bug c/45102] New: mm/page-writeback.c:820: internal compiler error: Segmentation fault yenchengwang at gmail dot com
2010-07-28  9:25 ` [Bug c/45102] " ubizjak at gmail dot com
2010-07-29  1:27 ` yenchengwang at gmail dot com
2010-07-29  9:20 ` jakub at gcc dot gnu dot org
2010-07-29 10:46 ` ramana at gcc dot gnu dot org
     [not found] <bug-45102-4@http.gcc.gnu.org/bugzilla/>
2010-11-04 15:51 ` sledgeas at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).