<div class="gmail_quote">On Thu, Oct 28, 2010 at 8:54 PM, Dr. David Kirkby <span dir="ltr"><<a href="mailto:david.kirkby@onetel.net">david.kirkby@onetel.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

I'm having a hard time on Solaris and OpenSolaris building the libecl.so library<br>
without text relocations against non-writable segments. This basically makes the<br>
ECL library unusable on 64-bit Solaris/OpenSolaris.<br></blockquote><div><br></div><div>I know. I am slowly progressing through the list of bug reports.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hence I'm trying to build the latest git snapshot (downloaded around 1900 GMT on<br>
28th October 2010) using the Sun compiler. But the Sun compiler will not compile<br>
this - it is failing with:<br>
<br>
Unknown symbol: mp::interrupt-process<br></blockquote><div><br></div><div>You have hit some ugly point between commits. Bad luck :-)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

line 97: #error: "We cannot use the mmap code without siginfo"</blockquote></div><br clear="all">mmap is used in ECL to help in delaying interrupts. The trick is simple: ECL gets an interrupt while executing a C function that can not be interrupted, it marks (using mmap) the Lisp environment as read-only, ECL tries to write to the environment after the C function finished, this causes a signal and now it can be processed together with the pending interrupts. But this only works when mmap implements interrupts with information.<div>

<br></div><div>I am really surprised that the Sun platform does not support SA_SIGINFO :-/ Would one need additional compiler flags to allow the headers provide this facility?<div><br></div><div>Juanjo<br><div><br>-- <br>

Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com">http://juanjose.garciaripoll.googlepages.com</a><br>
</div></div></div>