#11705: Port Sage to SUSE Linux Power 7 (ppc64).
-------------------------------+--------------------------------------------
       Reporter:  was          |         Owner:  drkirkby
           Type:  enhancement  |        Status:  new     
       Priority:  major        |     Milestone:  sage-5.0
      Component:  porting      |    Resolution:          
       Keywords:  sd32 sd35.5  |   Work issues:          
Report Upstream:  N/A          |     Reviewers:          
        Authors:               |     Merged in:          
   Dependencies:               |      Stopgaps:          
-------------------------------+--------------------------------------------

Comment (by fbissey):

 Ok I did a build of 5.0.beta8-gcc along with the new mpir from #11616. I
 asked the gcc spkg to be built. I may do another build without it later. I
 didn't run all the test I just looked at one key test at the moment:sage
 -t -long  -force_lib "devel/sage/sage/rings/number_field/number_field.py"
 because it is killed. I am still getting a backtrace similar to comment
 21.
 {{{
 Program received signal SIGSEGV, Segmentation fault.
 .__gmpn_lshift () at tmp-lshift.s:105
 105     tmp-lshift.s: No such file or directory.
         in tmp-lshift.s
 Current language:  auto
 The current source language is "auto; currently asm".
 (gdb) bt
 #0  .__gmpn_lshift () at tmp-lshift.s:105
 #1  0x000004000874c908 in set_z (f=0xfffffff74d0, z=0x16eef0d0, zs=<value
 optimized out>) at set_q.c:53
 #2  0x000004000874ca4c in mpfr_set_q (f=0x1724ca00, q=0x16eef0d0,
 rnd=<value optimized out>) at set_q.c:101
 #3  0x0000040008a00198 in mpfi_interv_q (a=0x1724ca00, b=0x16eef0d0,
 c=0x16eef130) at interv_q.c:34
 #4  0x00000400089b7a14 in
 __pyx_pf_4sage_5rings_9real_mpfi_24RealIntervalFieldElement___init__
 (__pyx_v_self=0x1724c9e0,
     __pyx_args=<value optimized out>, __pyx_kwds=<value optimized out>) at
 sage/rings/real_mpfi.c:7366
 #5  0x000004000016aed0 in type_call (type=0x400089e8360, args=0x17232730,
 kwds=0x0) at Objects/typeobject.c:737
 #6  0x00000400000f33f0 in PyObject_Call (func=0x400089e8360, arg=<value
 optimized out>, kw=<value optimized out>)
     at Objects/abstract.c:2529
 #7  0x00000400089b2044 in
 __pyx_pf_4sage_5rings_9real_mpfi_23RealIntervalField_class_9__call__
 (__pyx_v_self=0x10fb44e0,
     __pyx_args=<value optimized out>, __pyx_kwds=<value optimized out>) at
 sage/rings/real_mpfi.c:4421
 }}}
 and I am still getting the following:
 {{{
 sage: RIF(1,1).lower()
 get_str.c:153: MPFR assertion failed: size_s1 >= m
 ---------------------------------------------------------------------------
 RuntimeError                              Traceback (most recent call
 last)

 /hpc/scratch/frb15/sandbox/sage-5.0.beta8-gcc/<ipython console> in
 <module>()

 /hpc/scratch/frb15/sandbox/sage-5.0.beta8-gcc/local/lib/python2.7/site-
 packages/IPython/Prompts.pyc in __call__(self, arg)
     550
     551             # and now call a possibly user-defined print mechanism
 --> 552             manipulated_val = self.display(arg)
     553
     554             # user display hooks can change the variable to be
 stored in

 /hpc/scratch/frb15/sandbox/sage-5.0.beta8-gcc/local/lib/python2.7/site-
 packages/IPython/Prompts.pyc in _display(self, arg)
     576             return IPython.generics.result_display(arg)
     577         except TryNext:
 --> 578             return self.shell.hooks.result_display(arg)
     579
     580     # Assign the default display method:

 /hpc/scratch/frb15/sandbox/sage-5.0.beta8-gcc/local/lib/python2.7/site-
 packages/IPython/hooks.pyc in __call__(self, *args, **kw)
     139             #print "prio",prio,"cmd",cmd #dbg
     140             try:
 --> 141                 ret = cmd(*args, **kw)
     142                 return ret
     143             except ipapi.TryNext, exc:

 /hpc/scratch/frb15/sandbox/sage-5.0.beta8-gcc/local/lib/python2.7/site-
 packages/sage/misc/displayhook.pyc in result_display(ip_self, obj)
     148     # IPython's default result_display() uses the
 IPython.genutils.Term.cout stream.
     149     # See also local/lib/python2.6/site-packages/IPython/hooks.py.
 --> 150     print_obj(IPython.genutils.Term.cout, obj)
     151
     152 def displayhook(obj):

 /hpc/scratch/frb15/sandbox/sage-5.0.beta8-gcc/local/lib/python2.7/site-
 packages/sage/misc/displayhook.pyc in print_obj(out_stream, obj)
     140             if _check_tall_list_and_print(out_stream, obj):
     141                 return
 --> 142     print >>out_stream, `obj`
     143
     144 def result_display(ip_self, obj):

 /hpc/scratch/frb15/sandbox/sage-5.0.beta8-gcc/local/lib/python2.7/site-
 packages/sage/rings/real_mpfr.so in
 sage.rings.real_mpfr.RealNumber.__repr__ (sage/rings/real_mpfr.c:9438)()

 /hpc/scratch/frb15/sandbox/sage-5.0.beta8-gcc/local/lib/python2.7/site-
 packages/sage/rings/real_mpfr.so in sage.rings.real_mpfr.RealNumber.str
 (sage/rings/real_mpfr.c:11257)()

 RuntimeError: Aborted
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11705#comment:48>
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