2007/9/16, mabshoff <[EMAIL PROTECTED]>:
> Solaris 10 on Opteron:
>
> toolchain:
>
> ../gcc-4.2.1/configure --with-ld=/usr/sfw/i386-sun-solaris2.10/bin/ld
> --with-as=/usr/sfw/bin/gas \
> --prefix=/usr/local/gcc-4.2.1 --enable-languages=c,c++,fortran --with-
> gmp=/usr/local/gmp-4.2.2-32/ \
> --with-mpfr=/usr/local/mpfr-2.2.1p2-32/
> #######
> Issues:
> #######

I am using solaris 10 also (granted, on a p4), but so far I'm not
running into as many issues are you are:
~/custom/sage-2.8.4.2 $ uname -a
SunOS unknown 5.11 snv_57 i86pc i386
~/custom/sage-2.8.4.2 $ gcc -v
Reading specs from /opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.0.2/specs
Target: i386-pc-solaris2.8
Configured with: ../sources/gcc-4.0.2/configure --prefix=/opt/csw/gcc4
--with-local-prefix=/opt/csw --with-gnu-as --with-as=/opt/csw/bin/gas
--without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-threads=posix
--enable-shared --enable-multilib --enable-nls --with-included-gettext
--with-libiconv-prefix=/opt/csw --with-x --enable-java-awt=xlib
--with-system-zlib --enable-languages=c,c++,f95,java,objc,ada
Thread model: posix
gcc version 4.0.2

I am using  pre-compiled packages from blastwave. The only showstopper
has been lapack:
sage_fortran -fPIC  -c lsame.f -o lsame.o
ld.so.1: f951: fatal: relocation error: file
/opt/csw/gcc4/libexec/gcc/i386-pc-solaris2.8/4.0.2/f951: symbol
__gmpn_clz_tab: referenced symbol not found

ntl, python, libgcrypt and even linbox are some of the packages that
build flawlessly.

didier

>
> * libgcrypt-1.2.4
>
> In src/tests/Makefile.in:
>
> LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS)
> \
>         $(AM_LDFLAGS) $(LDFLAGS) -lnsl -lsocket -lmp -lscf -lgen -
> ldoor -lmd -lgcc_s -L/lib/ -luutil -o $@
>
> Bug in os installation: in /lib: missing link to libuutil.so from
> libuutil.so.1?
>
> * opencdk-0.5.9
>
> In src/tests/Makefile.in:
>
> LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS)
> \
>         $(AM_LDFLAGS) $(LDFLAGS) \
>         -lnsl -lsocket -lmp -lscf -lgen -ldoor -lmd -lgcc_s -L/lib/ -
> luutil -o $@
>
>
> * gnutls-1.6.3: unresolved problem:
>
> /bin/bash ../libtool --tag=CC   --mode=link gcc  -D_REENTRANT -
> D_THREAD_SAFE -Wno-pointer-sign -pipe -I/export/home/mabshoff/
> sage-2.8.4.2/local/include  -I/export/home/mabshoff/sage-2.8.4.2/local/
> include   -lnsl -lsocket -lmp -lscf -lgen -ldoor -lmd -lgcc_s -L/lib/ -
> luutil -o gnutls-serv serv-gaa.o serv.o common.o select.o ../lib/
> libgnutls.la ../libextra/libgnutls-extra.la -L/export/home/mabshoff/
> sage-2.8.4.2/local/lib -lgcrypt -L/export/home/mabshoff/sage-2.8.4.2/
> local/lib -lgpg-error
> gcc -D_REENTRANT -D_THREAD_SAFE -Wno-pointer-sign -pipe -I/export/home/
> mabshoff/sage-2.8.4.2/local/include -I/export/home/mabshoff/
> sage-2.8.4.2/local/include -o .libs/gnutls-serv serv-gaa.o serv.o
> common.o select.o  -lnsl -lsocket -lmp -lscf -lgen -ldoor -lmd -lgcc_s
> -L/lib/ -luutil ../lib/.libs/libgnutls.so -L/export/home/mabshoff/
> sage-2.8.4.2/local/lib ../libextra/.libs/libgnutls-extra.so /export/
> home/mabshoff/sage-2.8.4.2/spkg/build/gnutls-1.6.3/src/lib/.libs/
> libgnutls.so -lz -lxnet /export/home/mabshoff/sage-2.8.4.2/local/lib/
> libgcrypt.so /export/home/mabshoff/sage-2.8.4.2/local/lib/libgpg-
> error.so -Wl,--rpath -Wl,/export/home/mabshoff/sage-2.8.4.2/local/lib
> ../libextra/.libs/libgnutls-extra.so: undefined reference to
> [EMAIL PROTECTED]'
> ../libextra/.libs/libgnutls-extra.so: undefined reference to
> [EMAIL PROTECTED]'
> ../libextra/.libs/libgnutls-extra.so: undefined reference to
> [EMAIL PROTECTED]'
> ../libextra/.libs/libgnutls-extra.so: undefined reference to
> [EMAIL PROTECTED]'
> ../libextra/.libs/libgnutls-extra.so: undefined reference to
> [EMAIL PROTECTED]'
> ../libextra/.libs/libgnutls-extra.so: undefined reference to
> [EMAIL PROTECTED]'
> ../libextra/.libs/libgnutls-extra.so: undefined reference to
> [EMAIL PROTECTED]'
> ../libextra/.libs/libgnutls-extra.so: undefined reference to
> [EMAIL PROTECTED]'
> ../libextra/.libs/libgnutls-extra.so: undefined reference to
> [EMAIL PROTECTED]'
>
> Odd, because ntohs and so on are in -lsocket -lnls -lresovl - cc
> shooting across. Sun ld issue?
>
> * python: needs "-lrt -laio -lmd" for symbols sem_init() - bug in
> configure script.
>   "-lmd" also fixes md5 import problem.
>
>   problems with sockets - see below:
>
> * twisted: "import socket" fails
>
> running install_egg_info
> Writing /export/home/mabshoff/sage-2.8.4.2/local/lib/python2.5/site-
> packages/zope.interface-3.3.0-py2.5.egg-info
> Traceback (most recent call last):
>   File "setup.py", line 20, in <module>
>     from twisted import copyright
>   File "./twisted/__init__.py", line 26, in <module>
>     from twisted.python import compat
>   File "./twisted/python/compat.py", line 15, in <module>
>     import sys, string, socket, struct
>   File "/export/home/mabshoff/sage-2.8.4.2/local/lib/python2.5/
> socket.py", line 45, in <module>
>     import _socket
> ImportError: No module named _socket
> Error: Subprocess exited with result 1 for project core
> Error installing Twisted networking framework
>
> import problem with md5 module, tls related. OpenSSL builds 64 bit per
> default. But "-lmd" fixes that
>
> * singular:
>
> singular & Singular script in $SAGE_LOCAL/bin are busted, various
> examples fail with error message - needs investigation
>
> * sagelib:
>
> - workaround in devel/sage/sage/rings/stdint.h for Solaris is not need
> on Solaris 10
>
> - workaround in devel/sage/sage/combinat/partitions_c.cc is not needed
> on Solaris 10:
>
> //#if defined(__sun)
> //extern long double fabsl (long double);
> //extern long double sinl (long double);
> //extern long double cosl (long double);
> //extern long double sqrtl (long double);
> //extern long double coshl (long double);
> //extern long double sinhl (long double);
> //#endif
>
> This stuff needs to be extern "C" for Solaris 9. Should fix the
> unknown symbol on sage start
> problem in Bober's code. C++ linkage mangles the name - D'oh - should
> have seen that
> immediately last time I saw the error message.
>
> * clisp
>   clisp: no binary for Solaris 10, potential workaround from NetBSD: -
> DOINCREMENTALGC
>   but may need quite old compiler (3.4.6 is supposed to have a chance)
>
>   Workaround: install 
> ftp://ftp.sunfreeware.com/pub/freeware/intel/10/sbcl-1.0.7-sol10-x86-local.gz
>
> * lcalc: throw out idiotic getopt prototypes
>
> * cddlib: allfaces.c:62: error: expected unqualified-id before numeric
> constant
>
> #undef SS fixes the issue  in allfaces.c
>
> * scipy: dies when looking for f90, should use gfortran, too lazy to
> fix that at the moment
>
> * sympow:
>   sympow 1.018 RELEASE  (c) Mark Watkins -**ERROR** QD_check failed at
> x[1]
>  No clue - anybody?
>
> * singular: start up scripts singular & Singular are missing
> "Singular-3-0-3" before "$*" - very odd
>
> * cvxopt: still issues with complex.h: '_Imaginary_I' undeclared
>
> #############################################################
>
> hangs:
>
>  - rings/polynomial/multi_polynomial_element.py
>  - rings/polynomial/toy_buchberger.py
>
> problems do finish, python doesn't burn any CPU, but process just
> hangs
>
> failures:
>
>         sage -t  calculus/calculus.py
>         sage -t  functions/constants.py
>         sage -t  functions/piecewise.py
>         sage -t  functions/special.py
>         sage -t  functions/transcendental.py
>         sage -t  interfaces/maxima.py
>         sage -t  interfaces/singular.py
>         sage -t  lfunctions/sympow.py
>         sage -t  matrix/matrix_integer_dense.pyx
>         sage -t  matrix/matrix_space.py
>         sage -t  modular/ssmod/ssmod.py
>         sage -t  rings/polynomial/multi_polynomial_element.py
>         sage -t  rings/polynomial/multi_polynomial_ideal.py
>         sage -t  rings/polynomial/multi_polynomial_ring_generic.pyx
>         sage -t  rings/polynomial/toy_buchberger.py
>         sage -t  rings/complex_double.pyx
>         sage -t  rings/power_series_ring.py
>         sage -t  rings/real_double.pyx
>         sage -t  schemes/elliptic_curves/ell_rational_field.py
>         sage -t  server/notebook/twist.py
>
> Some issues with RQDF returning -nan instead of NaN, twisted is
> busted, the Calculus issues are
> mostly related to precision. But there seems to be at least one
> serious linear algebra problem,
> possibly LinBox related. Due to missing scipy also some tests fail
> that should pass once scipy builds
>
> Compared to the Solaris 9 on Sparc port this is starting to look
> fairly well.
>
> Cheers,
>
> Michael
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to