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&#39;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&#39;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;">
&gt; ../../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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ( ./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;">&gt; ./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: &lt;prog&gt; &lt;args&gt; [+RTS &lt;rtsopts&gt; | -RTS &lt;args&gt;] ... --RTS &lt;args&gt;
</span><br style="font-style: italic;"><br style="font-style: italic;"><span style="font-style: italic;">&nbsp;&nbsp; +RTS&nbsp;&nbsp;&nbsp; Indicates run time system options follow</span><br style="font-style: italic;"><span style="font-style: italic;">
&nbsp;&nbsp; -RTS&nbsp;&nbsp;&nbsp; Indicates program arguments follow</span><br style="font-style: italic;"><span style="font-style: italic;">&nbsp; --RTS&nbsp;&nbsp;&nbsp; Indicates that ALL subsequent arguments will be given to the</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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;">&nbsp; -?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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;">&nbsp; -K&lt;size&gt; Sets the maximum stack size (default 8M)&nbsp; Egs: -K32k&nbsp;&nbsp; -K512k</span><br style="font-style: italic;"><span style="font-style: italic;">&nbsp; -k&lt;size&gt; Sets the initial thread stack size (default 1k)&nbsp; Egs: -k4k&nbsp;&nbsp; -k2m
</span><br style="font-style: italic;"><br style="font-style: italic;"><span style="font-style: italic;">&nbsp; -A&lt;size&gt; Sets the minimum allocation area size (default 256k) Egs: -A1m -A10k</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; -M&lt;size&gt; Sets the maximum heap size (default unlimited)&nbsp; Egs: -M256k -M1G</span><br style="font-style: italic;"><span style="font-style: italic;">&nbsp; -H&lt;size&gt; Sets the minimum heap size (default 0M)&nbsp;&nbsp; Egs: -H24m&nbsp; -H1G
</span><br style="font-style: italic;"><span style="font-style: italic;">&nbsp; -m&lt;n&gt;&nbsp;&nbsp;&nbsp; Minimum % of heap which must be available (default 3%)</span><br style="font-style: italic;"><span style="font-style: italic;">&nbsp; -G&lt;n&gt;&nbsp;&nbsp;&nbsp; Number of generations (default: 2)
</span><br style="font-style: italic;"><span style="font-style: italic;">&nbsp; -T&lt;n&gt;&nbsp;&nbsp;&nbsp; Number of steps in younger generations (default: 2)</span><br style="font-style: italic;"><span style="font-style: italic;">&nbsp; -c&lt;n&gt;&nbsp;&nbsp;&nbsp; Auto-enable compaction of the oldest generation when live data is
</span><br style="font-style: italic;"><span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at least &lt;n&gt;% of the maximum heap size set with -M (default: 30%)</span><br style="font-style: italic;"><span style="font-style: italic;">
&nbsp; -c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Enable compaction for all major collections</span><br style="font-style: italic;"><span style="font-style: italic;">&nbsp; -I&lt;sec&gt;&nbsp; Perform full GC after &lt;sec&gt; idle time (default: 0.3, 0 == off)</span><br style="font-style: italic;">
<br style="font-style: italic;"><span style="font-style: italic;">&nbsp; -t&lt;file&gt; One-line GC statistics&nbsp; (default file: &lt;program&gt;.stat)</span><br style="font-style: italic;"><span style="font-style: italic;">&nbsp; -s&lt;file&gt; Summary&nbsp; GC statistics&nbsp; (with -Sstderr going to stderr)
</span><br style="font-style: italic;"><span style="font-style: italic;">&nbsp; -S&lt;file&gt; Detailed GC statistics</span><br style="font-style: italic;"><br style="font-style: italic;"><br style="font-style: italic;"><span style="font-style: italic;">
&nbsp; -Z&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Don&#39;t squeeze out update frames on stack overflow</span><br style="font-style: italic;"><span style="font-style: italic;">&nbsp; -B&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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;">&nbsp; -C&lt;secs&gt;&nbsp; Context-switch interval in seconds.</span><br style="font-style: italic;"><span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 or no argument means switch as often as possible.
</span><br style="font-style: italic;"><span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Default: 0.02 sec; resolution is set by -V below.</span><br style="font-style: italic;"><span style="font-style: italic;">&nbsp; -V&lt;secs&gt;&nbsp; Master tick interval in seconds.
</span><br style="font-style: italic;"><span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This sets the resolution for -C and the profile timer -i.</span><br style="font-style: italic;"><span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Default: 
0.02 sec.</span><br style="font-style: italic;"><br style="font-style: italic;"><span style="font-style: italic;">&nbsp; -vs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Trace scheduler events (see also -Ds with -debug)</span><br style="font-style: italic;"><span style="font-style: italic;">
&nbsp; -vt&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Time-stamp trace messages</span><br style="font-style: italic;"><br style="font-style: italic;"><span style="font-style: italic;">&nbsp; --install-signal-handlers=&lt;yes|no&gt;</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Install signal handlers (default: yes)</span><br style="font-style: italic;"><span style="font-style: italic;">&nbsp; -e&lt;size&gt;&nbsp; Size of spark pools (default 100)</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp; -e&lt;n&gt;&nbsp;&nbsp;&nbsp;&nbsp; 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&#39;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> &lt;<a href="mailto:igloo@earth.li">igloo@earth.li</a>&gt; 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>
&gt;<br>&gt; We&#39;ve been trying to compile GHC 6.6 on ia64, and although we have<br>&gt; applied the patch on <a href="http://hackage.haskell.org/trac/ghc/ticket/1150">http://hackage.haskell.org/trac/ghc/ticket/1150</a>
 ,<br>&gt; we still get some mangler errors with &quot;nop 0&quot;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>