#11881: Metaticket: build Sage on OS X 10.7 Lion
--------------------------+-------------------------------------------------
   Reporter:  jhpalmieri  |          Owner:  GeorgSWeber
       Type:  defect      |         Status:  new        
   Priority:  blocker     |      Milestone:  sage-5.0   
  Component:  build       |       Keywords:             
Work_issues:              |       Upstream:  N/A        
   Reviewer:              |         Author:             
     Merged:              |   Dependencies:             
--------------------------+-------------------------------------------------

Comment(by jdemeyer):

 Let me also give an update on the gcc spkg (#12369): After patching a few
 spkgs for stupid issues (such as an annoying non-standard system header on
 OS X 10.6), I managed to build Sage with the new gcc.  Some doctests
 crash, but it all boils down to GiNaC (I did apply the #11967 trick):
 {{{
 sage: f=sin(x)^2+cos(x)^2-1
 sage: f.is_zero()

 Program received signal SIGABRT, Aborted.
 0x00007fff86d040b6 in __kill ()
 (gdb) bt
 #0  0x00007fff86d040b6 in __kill ()
 #1  0x00007fff86da49f6 in abort ()
 #2  0x000000010024eaf2 in uw_init_context_1 ()
 #3  0x000000010024ef38 in _Unwind_Resume ()
 #4  0x0000000107becb66 in GiNaC::container<std::vector>::subs
 (this=0x10bd72060, m=@0x7fff5fbfcab0, options=8) at container.h:608
 #5  0x0000000107d45275 in GiNaC::power::subs ()
 #6  0x0000000107c6da5b in GiNaC::expairseq::subschildren ()
 #7  0x0000000107c73443 in GiNaC::expairseq::subs ()
 #8  0x0000000107f42e01 in GiNaC::ptr<GiNaC::basic>::operator= () at
 ex.h:836
 #9  operator= [inlined] () at
 /Users/jdemeyer/sage-5.0.beta1-gcc/local/include/pynac/ptr.h:79
 #10 0x0000000107f42e01 in
 __pyx_pf_4sage_8symbolic_10expression_10Expression_76substitute
 (__pyx_v_self=<value temporarily unavailable, due to optimizations>,
 __pyx_args=0x7fff5fbfcab8, __pyx_kwds=<value temporarily unavailable, due
 to optimizations>) at ex.h:15771
 #11 0x000000010000cb03 in PyObject_Call ()
 #12 0x0000000107f3393d in
 __pyx_pf_4sage_8symbolic_10expression_10Expression_52test_relation
 (__pyx_v_self=<value temporarily unavailable, due to optimizations>,
 __pyx_args=<value temporarily unavailable, due to optimizations>,
 __pyx_kwds=<value temporarily unavailable, due to optimizations>) at
 sage/symbolic/expression.cpp:10105
 #13 0x000000010000cb03 in PyObject_Call ()
 #14 0x0000000107f3c917 in
 __pyx_pf_4sage_8symbolic_10expression_10Expression_51__nonzero__
 (__pyx_v_self=<value temporarily unavailable, due to optimizations>) at
 sage/symbolic/expression.cpp:8784
 #15 0x000000010005eb1a in PyObject_IsTrue ()
 #16 0x0000000107f3c4b2 in
 __pyx_pf_4sage_8symbolic_10expression_10Expression_51__nonzero__
 (__pyx_v_self=<value temporarily unavailable, due to optimizations>) at
 sage/symbolic/expression.cpp:38627
 #17 0x000000010005eb1a in PyObject_IsTrue ()
 #18 0x000000010227900e in
 __pyx_pf_4sage_9structure_7element_7Element_29is_zero (__pyx_v_self=<value
 temporarily unavailable, due to optimizations>, unused=<value temporarily
 unavailable, due to optimizations>) at sage/structure/element.c:31168
 #19 0x00000001000ced87 in PyEval_EvalFrameEx ()
 #20 0x00000001000d0df8 in PyEval_EvalCodeEx ()
 #21 0x00000001000d0f26 in PyEval_EvalCode ()
 #22 0x00000001000cf579 in PyEval_EvalFrameEx ()
 #23 0x00000001000d0df8 in PyEval_EvalCodeEx ()
 #24 0x00000001000cf155 in PyEval_EvalFrameEx ()
 #25 0x00000001000d0df8 in PyEval_EvalCodeEx ()
 #26 0x00000001000cf155 in PyEval_EvalFrameEx ()
 #27 0x00000001000d02e1 in PyEval_EvalFrameEx ()
 #28 0x00000001000d0df8 in PyEval_EvalCodeEx ()
 #29 0x00000001000cf155 in PyEval_EvalFrameEx ()
 #30 0x00000001000d0df8 in PyEval_EvalCodeEx ()
 #31 0x00000001000cf155 in PyEval_EvalFrameEx ()
 #32 0x00000001000d0df8 in PyEval_EvalCodeEx ()
 #33 0x00000001000cf155 in PyEval_EvalFrameEx ()
 #34 0x00000001000d0df8 in PyEval_EvalCodeEx ()
 #35 0x00000001000d0f26 in PyEval_EvalCode ()
 #36 0x00000001000f36be in PyRun_FileExFlags ()
 #37 0x00000001000f38b8 in PyRun_SimpleFileExFlags ()
 #38 0x000000010010a13b in Py_Main ()
 #39 0x0000000100000ef4 in start ()
 }}}

 This happens on OS X 10.6, as well as OS X 10.7.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11881#comment:71>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to