public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/36218]  New: [4.4 regression] libgcj causes stack overflow in jc1.exe
@ 2008-05-12 11:01 aaronavay62 at aaronwl dot com
  2009-03-31 20:50 ` [Bug tree-optimization/36218] [4.3 Regression] VRP causes stack overflow while building libgcj jsm28 at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: aaronavay62 at aaronwl dot com @ 2008-05-12 11:01 UTC (permalink / raw)
  To: java-prs

Several files in libgcj will cause jc1.exe to exhaust its stack space
allocation.

This can be worked around by compiling jc1.exe with -Wl,--stack,0x2000000,
which can be accomplished by including it in LDFLAGS when compiling.  (This
exact size is arbitrary; it's big enough to work, but perhaps much too big.)

The cause seems to be massive recursion between find_assert_locations() and
find_conditional_asserts().  I'm not sure if this is intended behavior.

If this is intended behavior, it's not clear to me what the right thing to do
to fix this is.  What negative consequences does increasing the default
allocation have?  Is it possible to adjust this limit at runtime, perhaps as
needed?


-- 
           Summary: [4.4 regression] libgcj causes stack overflow in jc1.exe
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: build, memory-hog
          Severity: critical
          Priority: P3
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: aaronavay62 at aaronwl dot com
  GCC host triplet: i386-pc-mingw32
OtherBugsDependingO 36216
             nThis:


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


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

end of thread, other threads:[~2011-06-27 11:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-36218-8172@http.gcc.gnu.org/bugzilla/>
2011-06-27 11:25 ` [Bug tree-optimization/36218] [4.3 Regression] VRP causes stack overflow while building libgcj rguenth at gcc dot gnu.org
2008-05-12 11:01 [Bug libgcj/36218] New: [4.4 regression] libgcj causes stack overflow in jc1.exe aaronavay62 at aaronwl dot com
2009-03-31 20:50 ` [Bug tree-optimization/36218] [4.3 Regression] VRP causes stack overflow while building libgcj jsm28 at gcc dot gnu dot org
2009-08-04 12:39 ` rguenth at gcc dot gnu dot org
2010-05-22 18:23 ` rguenth at gcc dot gnu dot org

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