Jason Moxham wrote: > > Hi > > So are you saying that the compilers on T2 are broken in 64bit mode ? or just > sage is broken ? or just mpir ? or dont we know? > > I remember testing ABI=32bit before and it passed , but as T2 is a 64bit > machine , I regarded this as not exactly what we want , we want 64bit > goodness :) > > Thanks > Jason
Currently the focus on Sage it so build it in 32-bit on Solaris, not 64-bit. Ultimately, 64-bit would be the goal. The GNU compilers are generally reckoned to present more problems on 64-bit SPARC than on 32-bit. Hence initially, we don't intend using 64-bit. I think the plan is basically 1) Get it building reliably in 32-bit mode with gcc. 2) Works towards 64-bit and Sun compilers (not sure what order these will come). Inside Sage, 'ABI=32' is used as a configure option on Solaris. Look at spkg-install and you will see: build() { SAGE_CONF_OPTS="--enable-shared --disable-static" case $UNAME in SunOS) if [ "$SAGE64" = "yes" ]; then echo "Building 64 bit Solaris version" ABI=64 else ABI=32 fi;; Darwin) So far, no serious attempt at been made at 64-bit and I suspect that would bring a lot more problems, especially while the GNU compiler is used. But too many things would break if we switched to the Sun compiler. Dave > On Friday 31 July 2009 14:25:02 David Kirkby wrote: >> The version of MPIR in Sage does build on t2 properly with >> /usr/local/gcc-4.2.4-sun-linker/bin/gcc. In fact, it builds with all >> versions of gcc on t2. >> >> I can't say about the version in trunc, and cant easily check myself >> at the minute. >> >> 2009/7/31 Jason Moxham <ja...@njkfrudils.plus.com>: >>> Building mpir svn trunk (which for the Sun's is the same as mpir-1.2.2) >>> >>> ./configure && make -j && make -j check >>> >>> ld.so.1: t-modlinv: fatal: >>> /usr/local/gcc-4.2.4-sun-linker/lib/libgcc_s.so.1: wrong ELF class: >>> ELFCLASS32 >>> /bin/bash: line 1: 25188 Killed ${dir}$tst >>> FAIL: t-modlinv >> I suggest you try ./configure ABI=32 >> >> >> You are mixing 32 and 64-bit objects. There is little chance of Sage >> building in 64-bit mode on Solaris at the minute. So just use 32-bit >> mode. >> >> Dave >> >> > > > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---