Hi again. Ok, we migrated our modifications to 6.6.1, compiled it on the ia64 architecture and it worked :). Ian, thank you very much for your help. <br>Currently we're experiencing another problem: we are not able to use -Nx option even though we compile our program with -threaded option.
<br>Find the log at the end of this message (notice that -N doesn't appear as one RTS available option).<br>Thank you very much in advance for the replies.<br>Regards.<br>Cristian Perfumo<br><br><br><span style="font-style: italic;">
> ../../ghc-6.6.1/compiler/ghc-inplace ./Main.hs -threaded --make</span><br style="font-style: italic;"><span style="font-style: italic;">[1 of 1] Compiling Main ( ./Main.hs, ./Main.o )</span><br style="font-style: italic;">
<span style="font-style: italic;">Linking ./Main ...</span><br style="font-style: italic;"><span style="font-style: italic;">> ./Main 100 16 1 +RTS -N5</span><br style="font-style: italic;"><span style="font-weight: bold; font-style: italic;">
unknown RTS option: -N5</span><br style="font-style: italic;"><br style="font-style: italic;"><span style="font-style: italic;">Usage: <prog> <args> [+RTS <rtsopts> | -RTS <args>] ... --RTS <args>
</span><br style="font-style: italic;"><br style="font-style: italic;"><span style="font-style: italic;"> +RTS Indicates run time system options follow</span><br style="font-style: italic;"><span style="font-style: italic;">
-RTS Indicates program arguments follow</span><br style="font-style: italic;"><span style="font-style: italic;"> --RTS Indicates that ALL subsequent arguments will be given to the</span><br style="font-style: italic;">
<span style="font-style: italic;"> program (including any of these RTS flags)</span><br style="font-style: italic;"><br style="font-style: italic;"><span style="font-style: italic;">The following run time system options are available:
</span><br style="font-style: italic;"><br style="font-style: italic;"><span style="font-style: italic;"> -? Prints this message and exits; the program is not executed</span><br style="font-style: italic;"><br style="font-style: italic;">
<span style="font-style: italic;"> -K<size> Sets the maximum stack size (default 8M) Egs: -K32k -K512k</span><br style="font-style: italic;"><span style="font-style: italic;"> -k<size> Sets the initial thread stack size (default 1k) Egs: -k4k -k2m
</span><br style="font-style: italic;"><br style="font-style: italic;"><span style="font-style: italic;"> -A<size> Sets the minimum allocation area size (default 256k) Egs: -A1m -A10k</span><br style="font-style: italic;">
<span style="font-style: italic;"> -M<size> Sets the maximum heap size (default unlimited) Egs: -M256k -M1G</span><br style="font-style: italic;"><span style="font-style: italic;"> -H<size> Sets the minimum heap size (default 0M) Egs: -H24m -H1G
</span><br style="font-style: italic;"><span style="font-style: italic;"> -m<n> Minimum % of heap which must be available (default 3%)</span><br style="font-style: italic;"><span style="font-style: italic;"> -G<n> Number of generations (default: 2)
</span><br style="font-style: italic;"><span style="font-style: italic;"> -T<n> Number of steps in younger generations (default: 2)</span><br style="font-style: italic;"><span style="font-style: italic;"> -c<n> Auto-enable compaction of the oldest generation when live data is
</span><br style="font-style: italic;"><span style="font-style: italic;"> at least <n>% of the maximum heap size set with -M (default: 30%)</span><br style="font-style: italic;"><span style="font-style: italic;">
-c Enable compaction for all major collections</span><br style="font-style: italic;"><span style="font-style: italic;"> -I<sec> Perform full GC after <sec> idle time (default: 0.3, 0 == off)</span><br style="font-style: italic;">
<br style="font-style: italic;"><span style="font-style: italic;"> -t<file> One-line GC statistics (default file: <program>.stat)</span><br style="font-style: italic;"><span style="font-style: italic;"> -s<file> Summary GC statistics (with -Sstderr going to stderr)
</span><br style="font-style: italic;"><span style="font-style: italic;"> -S<file> Detailed GC statistics</span><br style="font-style: italic;"><br style="font-style: italic;"><br style="font-style: italic;"><span style="font-style: italic;">
-Z Don't squeeze out update frames on stack overflow</span><br style="font-style: italic;"><span style="font-style: italic;"> -B Sound the bell at the start of each garbage collection</span><br style="font-style: italic;">
<br style="font-style: italic;"><span style="font-style: italic;"> -C<secs> Context-switch interval in seconds.</span><br style="font-style: italic;"><span style="font-style: italic;"> 0 or no argument means switch as often as possible.
</span><br style="font-style: italic;"><span style="font-style: italic;"> Default: 0.02 sec; resolution is set by -V below.</span><br style="font-style: italic;"><span style="font-style: italic;"> -V<secs> Master tick interval in seconds.
</span><br style="font-style: italic;"><span style="font-style: italic;"> This sets the resolution for -C and the profile timer -i.</span><br style="font-style: italic;"><span style="font-style: italic;"> Default:
0.02 sec.</span><br style="font-style: italic;"><br style="font-style: italic;"><span style="font-style: italic;"> -vs Trace scheduler events (see also -Ds with -debug)</span><br style="font-style: italic;"><span style="font-style: italic;">
-vt Time-stamp trace messages</span><br style="font-style: italic;"><br style="font-style: italic;"><span style="font-style: italic;"> --install-signal-handlers=<yes|no></span><br style="font-style: italic;">
<span style="font-style: italic;"> Install signal handlers (default: yes)</span><br style="font-style: italic;"><span style="font-style: italic;"> -e<size> Size of spark pools (default 100)</span><br style="font-style: italic;">
<span style="font-style: italic;"> -e<n> Maximum number of outstanding local sparks (default: 4096)</span><br style="font-style: italic;"><br style="font-style: italic;"><span style="font-style: italic;">RTS options may also be specified using the GHCRTS environment variable.
</span><br style="font-style: italic;"><br style="font-style: italic;"><span style="font-style: italic;">Other RTS options may be available for programs compiled a different way.</span><br style="font-style: italic;"><span style="font-style: italic;">
The GHC User's Guide has full details.</span><br><br><br><br><br><div><span class="gmail_quote">On 4/29/07, <b class="gmail_sendername">Ian Lynagh</b> <<a href="mailto:igloo@earth.li">igloo@earth.li</a>> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Hi Cristian,<br><br>On Wed, Apr 25, 2007 at 07:00:51PM +0200, Cristian Perfumo wrote:<br>
><br>> We've been trying to compile GHC 6.6 on ia64, and although we have<br>> applied the patch on <a href="http://hackage.haskell.org/trac/ghc/ticket/1150">http://hackage.haskell.org/trac/ghc/ticket/1150</a>
,<br>> we still get some mangler errors with "nop 0"s.<br><br>As well as the patch attached to that bug report, there were a couple<br>more patches for IA64 that went in recently. All the patches are in<br>6.6.1
, so you might have more luck with that.<br><br><br>Thanks<br>Ian<br><br></blockquote></div><br>