Hi,
I spend some more time on getting clisp to play nice with Maxima on
Solaris 10/Sparc and after building gcc *3.2.3* (quite ironic) I got a
binary that for now works. Since clisp will be gone from Sage in the
next week I guess this was kind of pointless, but at least I got it to
work :).
I have stuck the binary into
http://sage.math.washington.edu/home/mabshoff/solaris-binaries/
There are two components to get:
* sage-3.2.3-Solaris-10_US_IIIi.tar.gz at 387 MB
* sparc-solaris-toolchain.tar.gz at 84 MB
You need to get both since I did build my complete own toolchain.
Eventually Sun's own freeware toolchain based on gcc 3.4.3 is likely
to work, but I haven't tried building Sage with it yet. I found the
bug in sage-env that caused it to fail somewhat by accident after
fixing some orthogonal issue in there, so this will be fixed in the
near future.
To install this:
* get sparc-solaris-toolchain.tar.gz and unpack it anywhere. Edit
toolchain.bash in it and fix the paths to the new location
* get sage-3.2.3-Solaris-10_US_IIIi.tar.gz and unpack it. Before
starting Sage source toolchain.bash from the toolchain above
You only need to get the toolchain once since for now I will keep
building Sage releases on Sparc with that toolchain since g77 support
in Sage currently is pretty broken, but I will fix that too down the
road since I really dislike g95. If you do not have the toolchain or
do not source it Sage startup will fail since the libstdc++ runtime
isn't there. If you want to you can copy the needed bits into
$SAGE_ROOT/local and it should work, but I wanted to keep toolchain
and $SAGE_LOCAL separate for now so I can reuse it for new builds.
Anyway, this build fails 14 doctests for me, i.e. 5 more than on the
Solaris 10/x86 build:
sage -t "devel/sage/sage/calculus/calculus.py"
sage -t "devel/sage/sage/combinat/schubert_polynomial.py"
sage -t "devel/sage/sage/gsl/integration.pyx"
sage -t "devel/sage/sage/interfaces/lisp.py"
sage -t "devel/sage/sage/interfaces/singular.py"
sage -t "devel/sage/sage/libs/pari/gen.pyx"
sage -t "devel/sage/sage/libs/symmetrica/sb.pxi"
sage -t "devel/sage/sage/libs/symmetrica/sc.pxi"
sage -t "devel/sage/sage/rings/number_field/number_field.py"
sage -t "devel/sage/sage/rings/number_field/
number_field_element.pyx"
sage -t "devel/sage/sage/rings/number_field/
number_field_morphisms.pyx"
sage -t "devel/sage/sage/rings/polynomial/
polynomial_element.pyx"
sage -t "devel/sage/sage/rings/polynomial/toy_d_basis.py"
sage -t "devel/sage/sage/tests/book_stein_modform.py"
For nearly all of them we are closing in on fixes or are at least
debugging this. The main problem right now is in the symmetrica
interface (which also happens on Solaris 10/x86), some pexpect trouble
with clisp (that does not happen on Solaris 10/x86, but similar issues
have been reported by others on Linux and OSX). Strangely enough the
following fails only on Solaris/Sparc, but not Solaris x86:
sage -t "devel/sage/sage/rings/polynomial/polynomial_element.pyx"
Trying:
F = ff.factor()###line 1999:_sage_ >>> F = ff.factor()
Expecting nothing
Exception exceptions.RuntimeError: 'MulMod: bad args' in
'sage.rings.polynomial.polynomial_compiled.abc_pd.eval' ignored
Exception exceptions.TypeError: "unsupported operand parent(s) for
'*': '<type 'NoneType'>' and 'Number Field in alpha0 with defining
polynomial x^6 + 10/7*x^5 - 867/49*x^4 - 76/245*x^3 + 3148/35*x^2 -
25944/245*x + 48771/1225'" in
'sage.rings.polynomial.polynomial_compiled.abc_pd.eval' ignored
Exception exceptions.TypeError: "unsupported operand parent(s) for
'*': '<type 'NoneType'>' and 'Number Field in alpha0 with defining
polynomial x^6 + 10/7*x^5 - 867/49*x^4 - 76/245*x^3 + 3148/35*x^2 -
25944/245*x + 48771/1225'" in
'sage.rings.polynomial.polynomial_compiled.abc_pd.eval' ignored
Exception exceptions.RuntimeError: 'MulMod: bad args' in
'sage.rings.polynomial.polynomial_compiled.sqr_pd.eval' ignored
Exception exceptions.TypeError: "unsupported operand type(s) for *:
'NoneType' and 'NoneType'" in
'sage.rings.polynomial.polynomial_compiled.abc_pd.eval' ignored
Exception exceptions.TypeError: "unsupported operand parent(s) for
'*': '<type 'NoneType'>' and 'Number Field in alpha0 with defining
polynomial x^6 + 10/7*x^5 - 867/49*x^4 - 76/245*x^3 + 3148/35*x^2 -
25944/245*x + 48771/1225'" in
'sage.rings.polynomial.polynomial_compiled.abc_pd.eval' ignored
<SNIP>
Anyway, if you are interested in running Sage n Solaris 10/Sparc
please give this a try and report back any issues you see. Unless you
have to please also keep this discussion on list.
Cheers,
Michael