mabshoff
unread,Apr 7, 2009, 5:36:11 AM4/7/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sage-devel
Hello folks,
I spend the evening fixing OSX 10.6 build bugs in Sage since we want
to be ready once it is release in a couple months. Since I am running
a development snapshot on my laptop I figured it would be good to have
a working Sage again locally. It only takes a couple patches to get
Sage to compile with
bash-3.2$ gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5621.3~3/src/configure --disable-
checking --enable-werror --prefix=/usr --mandir=/share/man --enable-
languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/
$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --with-gxx-
include-dir=/include/c++/4.2.1 --program-prefix=i686-apple-darwin10- --
host=x86_64-apple-darwin10 --target=i686-apple-darwin10
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5621) (dot 3)
Sage does start up, but there is a segfault at exit:
bash-3.2$ ./sage
----------------------------------------------------------------------
| Sage Version 3.4.1.rc1, Release Date: 2009-04-05 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: !uname -a
Darwin Sprocketer.local 10.0.0d2 Darwin Kernel Version 10.0.0d2: Fri
Oct 10 19:36:33 PDT 2008; root:xnu-1346.7~1/RELEASE_I386 i386
sage:
Exiting SAGE (CPU time 0m0.04s, Wall time 0m2.80s).
/Users/michaelabshoff/Desktop/sage-3.4.1.rc1/local/bin/sage-sage: line
197: 19532 Bus error sage-ipython "$@" -i
I traced this to an oMalloc problem:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000019
0x04a5aa0c in Rational::~Rational () at omInline.h:69
69 omInline.h: No such file or directory.
in omInline.h
But I guess given there is also a still unresolved problem on OSX 10.5
in 64 bit mode this might be related.
Cheers,
Michael