ghc-6.8.2 overflows stack
Christian Maeder
Christian.Maeder at dfki.de
Wed Mar 5 15:13:41 EST 2008
Chad Scherrer wrote:
> Hello,
>
> I'm trying to compile stream-fusion-0.1.1 with profiling enabled, and it's
> overflowing the stack.
>
> $ runghc Setup.lhs configure -pO
> Configuring stream-fusion-0.1.1...
>
> $ runghc Setup.lhs build
> Preprocessing library stream-fusion-0.1.1...
> Building stream-fusion-0.1.1...
> [2 of 3] Compiling Data.List.Stream ( Data/List/Stream.hs,
> dist/build/Data/List/Stream.o )
> stack overflow: use +RTS -K<size> to increase it
>
> Has anyone seen this before? Is it a known bug?
Why bug? I also had to increase the stack size when compiling with
profiling. It's a plain, though big, binary:
http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets/linux/daily/hets.bz2
I use the additional flags: -prof -auto-all -osuf p_o +RTS -K100m -RTS
HTH Christian
More information about the Glasgow-haskell-bugs
mailing list