Hi Julien,<br><br>Thank you for your answer. <br>I used gcc version 4.5.2 (default) but also the gcc-4.6 targeting x86_64-linux-gnu, uname -r = 2.6.38-10-generic, but when the compilation process achieves the hlc.gc I have many errors. I tried make with -j2, -j4 and -j8 options but nothing works.<br>
<br>The .err files below were produced using gcc-4.6:<br><br>install_grade_dir.hlc.gc/library/array.err <br><br>*** Mercury runtime: caught segmentation violation ***<br>cause: address not mapped to object<br>address involved: 0x7a36ae00008<br>
This may have been caused by a stack overflow, due to unbounded recursion.<br>exiting from signal handler<br>Segmentation fault<br>--------------------------------------------------<br><br>install_grade_dir.hlc.gc/library/assoc_list.err<br>
<br>Uncaught Mercury exception:<br>Software Error: ml_backend.mlds_to_c: predicate `ml_backend.mlds_to_c.mlds_output_data_name'/3: Sorry, not implemented: NYI: proc_layout<br>Stack dump not available in this grade.<br>
--------------------------------------------------<br><br>Then I tried to compile using the csharp grade too, because it's my main goal:<br>make install LIBGRADES=csharp<br><br>But I got this error message:<br>...<br>
Making Mercury/css/array.cs<br><br>*** Mercury runtime: caught segmentation violation ***<br>cause: address not mapped to object<br>address involved: 0x5686a700008<br>This may have been caused by a stack overflow, due to unbounded recursion.<br>
exiting from signal handler<br>** Error making `Mercury/css/array.cs'.<br>make[2]: ** [libmer_std.install] Error 1<br>----------------------------------------------------<br>I'm using mono:<br><br>$ mono -V<br>Mono JIT compiler version 2.10.1 (Debian 2.10.1-4~natty1)<br>
<br><br>Cheers,<br>Alex<br><br><br><div class="gmail_quote">2011/7/16 Julien Fischer <span dir="ltr"><<a href="mailto:juliensf@csse.unimelb.edu.au">juliensf@csse.unimelb.edu.au</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
On Sat, 16 Jul 2011, Julien Fischer wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Fri, 15 Jul 2011, Alexsandro Soares wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm trying to compile the mercury-compiler-11.07-beta-<u></u>2011-07-14 and I<br>
find the following error with the grade hlc.gc:<br>
<br>
mmc --make-transitive-<u></u>optimization-interface --grade hlc.gc<br>
--mercury-linkage shared --flags LIB_FLAGS --flags INTER_FLAGS array2d<br>
make[2]: ** [array.c_date] Error 139<br>
<br>
I'm using Ubuntu 11.04 64 bits and I had compiled the others grades before<br>
this one succesfully using the standard procedure:<br>
sh configure<br>
make<br>
sudo make install<br>
<br>
Any ideas to help me?<br>
</blockquote>
<br>
What version of GCC is being used here? Also, were you doing a parallel<br>
build here (i.e. invoking make with -j N with N > 1)?<br>
</blockquote>
<br></div>
Also, do any of the .err files in the library directory contain a more<br>
meaningful error message?<div><div></div><div class="h5"><br>
<br>
Julien.<br>
------------------------------<u></u>------------------------------<u></u>--------------<br>
mercury-users mailing list<br>
Post messages to: <a href="mailto:mercury-users@csse.unimelb.edu.au" target="_blank">mercury-users@csse.unimelb.<u></u>edu.au</a><br>
Administrative Queries: <a href="mailto:owner-mercury-users@csse.unimelb.edu.au" target="_blank">owner-mercury-users@csse.<u></u>unimelb.edu.au</a><br>
Subscriptions: <a href="mailto:mercury-users-request@csse.unimelb.edu.au" target="_blank">mercury-users-request@csse.<u></u>unimelb.edu.au</a><br>
------------------------------<u></u>------------------------------<u></u>--------------<br>
</div></div></blockquote></div><br><br>