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
[EMAIL PROTECTED]


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=604858&group_id=8032
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to