Hi, Am Freitag, den 04.11.2011, 09:25 -0700 schrieb David Fox: > On Fri, Nov 4, 2011 at 8:16 AM, Joachim Breitner <nomeata@debian.org> wrote: > > Hi, > > > > Am Freitag, den 04.11.2011, 05:01 -0700 schrieb David Fox: > >> Can anyone tell me how to increase the stack size when you see this > >> message from haddock while building a deb: > >> > >> stack overflow: use -g +RTS -K<size> to increase it > > > > untested, but I guess you need to pass > > --haddock-options "+RTS -k.... -RTS" > > to the call of "Setup haddock", for which you’ll have to modify > > hlibrary.mk, I guess. > > > > Greetings, > > Argh, haddock says "Setup: haddock: Most RTS options are disabled. > Link with -rtsopts to enable" This requires rebuilding haddock (and hence in Debian, ghc) to allow the flag. I guess you should to take that to upstream, maybe they can even identify why the stack is overflowing, and fix the code. Greetings, Joachim -- Joachim "nomeata" Breitner Debian Developer nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata
Attachment:
signature.asc
Description: This is a digitally signed message part