public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/39222]  New: out of memory bootstrapping
@ 2009-02-17 21:09 aj at gcc dot gnu dot org
  2009-02-17 21:10 ` [Bug target/39222] " aj at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: aj at gcc dot gnu dot org @ 2009-02-17 21:09 UTC (permalink / raw)
  To: gcc-bugs

On my Linux/x86-64 system using --enable-checking=yes,rtl, I get a bootstrap
failure since revision 144100 - revision was good 144099.

Difference between the two revisions is:
+2009-02-11  Uros Bizjak  <ubizjak@gmail.com>                      
+           Jakub Jelinek  <jakub@redhat.com>                      
+                                                                  
+       PR target/39118                                            
+       * config/i386/i386.md (UNSPEC_MEMORY_BLOCKAGE): New constant.
+       (memory_blockage): New expander.                             
+       (*memory_blockage): New insn pattern.                        
+       * config/i386/i386.c (ix86_expand_prologue): Use memory_blockage
+       instead of general blockage at the end of function prologue when
+       frame pointer is used to access red zone area.  Do not emit blockage
+       when profiling, it is emitted in generic code.                      
+       (ix86_expand_epilogue): Emit memory_blockage at the beginning of    
+       function epilogue when frame pointer is used to access red zone area.


ulimit -m 1000000 -v 1000000;/build/gcc/./prev-gcc/cc1 -fpreprocessed
insn-recog.i -quiet -dumpbase insn-recog.c -mtune=generic -auxbase-strip
insn-recog.o -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Werror -version -fno-common -o insn-recog.s
GNU C (GCC) version 4.4.0 20090217 (experimental) [trunk revision 144226]
(x86_64-suse-linux-gnu)
        compiled by GNU C version 4.3.2 [gcc-4_3-branch revision 141291], GMP
version 4.2.3, MPFR version 2.3.2.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 622901275906e2c608cc2c353b39e0fe

this ends with:
cc1: out of memory allocating 4064 bytes after a total of 660041728 bytes
make[3]: *** [insn-recog.o] Error 1

running cc1 in gdb, I get the following backtrace:
#0  0x00007f08a835a250 in exit () from /lib64/libc.so.6
#1  0x0000000000ecb134 in xexit ()
#2  0x0000000000ecaf7e in xmalloc_failed ()
#3  0x0000000000ecb031 in xmalloc ()
#4  0x00007f08a83a02ae in _obstack_newchunk () from /lib64/libc.so.6
#5  0x0000000000496c64 in bitmap_elt_insert_after ()
#6  0x0000000000497cba in bitmap_ior_into ()
#7  0x0000000000516af2 in df_rd_confluence_n ()
#8  0x000000000050ebf5 in df_worklist_dataflow ()
#9  0x000000000050e181 in df_analyze_problem ()
#10 0x000000000050e43f in df_analyze ()
#11 0x0000000000e32cb0 in fwprop_init ()
#12 0x0000000000e35ede in fwprop ()
#13 0x00000000006bedf2 in execute_one_pass ()
#14 0x00000000006bef45 in execute_pass_list ()
#15 0x00000000006bef5d in execute_pass_list ()
#16 0x0000000000808d7f in tree_rest_of_compilation ()
#17 0x00000000009a210b in cgraph_expand_function ()
#18 0x00000000009a3e2f in cgraph_optimize ()
#19 0x00000000004164d5 in c_write_global_declarations ()
#20 0x00000000007b6958 in toplev_main ()
#21 0x0000000000486b15 in main ()

I'm appending insn-recog.i.

Compiler was bootstrapped with:
/cvs/gcc-svn/trunk/configure --prefix=/opt/gcc/4.4-devel
--enable-checking=yes,rtl --enable-decimal-float --enable-threads=posix
--enable-clocale=gnu --enable-ssp --disable-libssp
--enable-libstdcxx-allocator=new --enable-__cxa_atexit --enable-shared
--enable-languages=c,c++ --disable-multilib --with-system-zlib
x86_64-suse-linux-gnu

Note: If you use --disable-checking, the bootstrap is successfull


-- 
           Summary: out of memory bootstrapping
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: aj at gcc dot gnu dot org
 GCC build triplet: x86_64-linux-gnu
  GCC host triplet: x86_64-linux-gnu
GCC target triplet: x86_64-linux-gnu


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


^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <bug-39222-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2012-02-22 13:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-17 21:09 [Bug target/39222] New: out of memory bootstrapping aj at gcc dot gnu dot org
2009-02-17 21:10 ` [Bug target/39222] " aj at gcc dot gnu dot org
2009-02-18  7:15 ` ubizjak at gmail dot com
2009-02-18  8:55 ` jakub at gcc dot gnu dot org
2009-02-18 10:18 ` aj at gcc dot gnu dot org
2009-02-18 10:46 ` jakub at gcc dot gnu dot org
     [not found] <bug-39222-4@http.gcc.gnu.org/bugzilla/>
2012-02-22 13:35 ` xiaoyuanbo at yeah dot net

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).