[ ghc-Bugs-604858 ] GHC's stack blows up
noreply at sourceforge.net
noreply at sourceforge.net
Wed Sep 4 22:41:05 EDT 2002
Bugs item #604858, was opened at 2002-09-05 02:41
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=604858&group_id=8032
Category: Compiler
Group: 5.04
Status: Open
Resolution: None
Priority: 5
Submitted By: Henrik Nilsson (nhn)
Assigned to: Nobody/Anonymous (nobody)
Summary: GHC's stack blows up
Initial Comment:
When compiling the included file (part of AFrob)
with GHC 5.04 under Linux, GHC's stack blows up. I've
tried to increase the size up to 20 Mbyte (at which
point compilation takes a loooong time, and then the
stack still blows up), and I've tried all four possible
combinations of -O and -fglasgow-exts. The result is
the same in all cases.
I used variations of the following command:
ghc -c -package lang -package posix -package concurrent
-i/usr/local/lib/ghc/imports/hgl:/usr/local/lib/ghc/imports/arrow:/usr/local/lib/ghc/imports/afrp:../Common
+RTS -K20M -RTS -o RSParser.o RSParser.hs
The result I got in all cases was:
stack overflow: use +RTS -K<size> to increase it
Everything worked fine with GHC 5.02.2: no need for
+RTS -K<size> or anything.
If you need more context, try the AFRP/AFrob
Hacker's pre-release available from
www.haskell.org/afrp.
All the best,
/Henrik
--
Henrik Nilsson
Yale University
nilsson at cs.yale.edu
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=604858&group_id=8032
More information about the Glasgow-haskell-bugs
mailing list