Attempting to compile Happy-1.3 with ghc-2.06 leads to a well-known
error message:

   GHC's heap exhausted;
   while trying to allocate 28 bytes in a 50000000-byte heap;
   use the `-H<size>' option to increase the total heap size.

Alas, -H<ridiculously large value> doesn't help.  We had this already
in 2.04 and Simon Marlow suggested using -fno-update-analysis. Using
this flag, everything works fine, even without any -H option.

A general question: Is it safe to link together modules which have been
compiled with different flags (e.g. one with -O, the other witout -O,...)?
I presume -prof and -conc must be used consistently, but what about the
others?

-- 
Sven Panne                                        Tel.: +49/89/2178-2235
LMU, Institut fuer Informatik                     FAX : +49/89/2178-2211
LFE Programmier- und Modellierungssprachen              Oettingenstr. 67
mailto:[EMAIL PROTECTED]            D-80538 Muenchen
http://www.pms.informatik.uni-muenchen.de/mitarbeiter/panne

Reply via email to