On Mon, Aug 30, 2010 at 1:52 PM, Dr. David Kirkby
<david.kir...@onetel.net>wrote:

> 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.
>
> kir...@t2:64 ~/t2/64/sage-4.5.3.alpha2/local/lib$ uname -a
> SunOS t2 5.10 Generic_141414-02 sun4v sparc SUNW,T5240
> kir...@t2:64 ~/t2/64/sage-4.5.3.alpha2/local/lib$ elfdump -d libecl.so |
> fgrep TEXTREL
>      [18]  TEXTREL           0
>      [30]  FLAGS             0x4                 [ TEXTREL ]
>

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.

The problem can't be Maxima, as I don't need to even build Maxima to show
> the ECL code has this problem.
>

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.


> Note also, that there's this compiler warnings when I build on Solaris (or
> any sort)
>
> /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
>

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.

Juanjo

-- 
Instituto de FĂ­sica Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to