<div class="gmail_quote">On Mon, Aug 30, 2010 at 1:52 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: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

But Solaris 10 has not died, neither or x86 or SPARC. The issues are seen on Solaris 10 SPARC too, so it not just an x86 problem. Maxima is not complaining on SPARC, but the elfdump command clearly shows the problem is in the ECL library file. That problem exits on 64-bit SPARC  too.<br>


<br>
kirkby@t2:64 ~/t2/64/sage-4.5.3.alpha2/local/lib$ uname -a<br>
SunOS t2 5.10 Generic_141414-02 sun4v sparc SUNW,T5240<br>
kirkby@t2:64 ~/t2/64/sage-4.5.3.alpha2/local/lib$ elfdump -d libecl.so | fgrep TEXTREL<br>
      [18]  TEXTREL           0<br>
      [30]  FLAGS             0x4                 [ TEXTREL ]<br></blockquote><div><br>The output of fgrep is not at all informative. If TEXTREL is a signature of non-PIC code then elfdump must also provide the names of the symbols that have this problem. This will in turn provide a clue as to which object files were not compiled with PIC. Could you please provide this information, as I suggested in the previous email.<br>

<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
The problem can't be Maxima, as I don't need to even build Maxima to show the ECL code has this problem.<br></blockquote><div><br>Please understand my statements in the appropriate context. Maxima is compiled with ECL and while ECL runs just fine, the Maxima executable does not. The problem might be in the compilation statements that build the resulting code, since ECL seems to work just fine -- even if as you suggest there are non-PIC sections.<br>

 </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Note also, that there's this compiler warnings when I build on Solaris (or any sort)<br>
<br>
/export/home/drkirkby/sage-4.5.3.alpha2/spkg/build/ecl-10.2.1.p2/src/src/c/dpp.c:680:13: warning: too many arguments for format<br></blockquote><div><br>The compiler is probably wrong. gcc here does not detect any problem and I do not see any obvious one in dpp.c In any case this file is not related to the relocation issues since its only responsibility is to preprocess C files when bootstrapping ECL and it seems to be doing it just fine.</div>

<br>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>