On 02/29/12 12:40 AM, deSitter wrote:
Hello,
Two issues, one solved by brute force, the other needs a new cvxopt-1.1.3
package.
I am using gcc 4.6.2 newly built and tested, and the Sun linker. I have Sun
Studio 12 installed. I built gcc4 with the gcc 3.4.6 package from Sunfreeware.
During this process, I needed iconv and that collided with the iconv package in
Sage. I simply removed the package from the spkg directory and the build
continued on through ATLAS and to numpy.
During the compilation of base.c from cvxopt-1.1.3, an error was generated
"_Imaginary_I" undefined. It appears the issue is with the complex.h header
file used by gcc. A simple fix is to include complex.h in base.c, but since errors cause
the spkg to be re-extraced and built new after each error, that's not an option. What is
needed is a new cvxopt-1.1.3 package that fixes the issue with complex.h.
-drl
Is this SPARC or x86?
Can you give us the output of
$ isainfo -v
Sage is regularly built on OpenSolaris 06/09 with gcc 4.6.0, as a Sun Ultra 27
(quad core Xeon 3.33 GHz). This is how gcc was configured.
drkirkby@hawk:~$ gcc -v
Using built-in specs.
COLLECT_GCC=/usr/local/gcc-4.6.0/bin/gcc
COLLECT_LTO_WRAPPER=/usr/local/gcc-4.6.0/libexec/gcc/i386-pc-solaris2.11/4.6.0/lto-wrapper
Target: i386-pc-solaris2.11
Configured with: ../gcc-4.6.0/configure --prefix=/usr/local/gcc-4.6.0
--with-gmp=/usr/local/gcc-4.6.0 --with-mpfr=/usr/local/gcc-4.6.0
--with-mpc=/usr/local/gcc-4.6.0 --enable-languages=c,c++,fortran --with-gnu-as
--with-as=/usr/local/binutils-2.20/bin/as --without-gnu-ld --with-ld=/usr/ccs/bin/ld
Thread model: posix
gcc version 4.6.0 (GCC)
I have personally built Sage on both Solaris 10 x86 and Solaris 10 SPARC. It
can't be built with the Sun compiler though.
Sage can be built 64-bit on Solaris, but it is not very useful. On 64-bit SPARC
Sage works, but is very unstable. On x86 64-bit, R needs to be built with the
Sun compiler, not gcc.
http://trac.sagemath.org/sage_trac/ticket/9040
Sage then segfaults at startup on 64-bit x86.
Dave
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org