#11705: Port Sage to SUSE Linux Power 7 (ppc64).
---------------------------+------------------------------------------------
   Reporter:  was          |          Owner:  drkirkby
       Type:  enhancement  |         Status:  new     
   Priority:  major        |      Milestone:  sage-4.8
  Component:  porting      |       Keywords:  sd32    
Work_issues:               |       Upstream:  N/A     
   Reviewer:               |         Author:          
     Merged:               |   Dependencies:          
---------------------------+------------------------------------------------

Comment(by fbissey):

 Just one more detail on the crash running the test with -verbose to get
 the failing bit:
 {{{
 Trying:
     L = NumberField(x**Integer(3) - Integer(4)*x + Integer(1), embedding =
 RealNumber('1.86'), names=('b',)); (b,) = L._first_ngens(1)###line
 5176:_sage_    >>> L.<b> = NumberField(x^3 - 4*x + 1, embedding = 1.86)
 Expecting nothing
 ok
 Trying:
     L(a)###line 5177:_sage_    >>> L(a)
 Expecting:
     Traceback (most recent call last):
     ...
     ValueError: Cannot convert a to Number Field in b with defining
 polynomial x^3 - 4*x + 1 (using the specified embeddings)
 /hpc/scratch/frb15/sandbox/sage-5.0.prealpha0/local/lib/libcsage.so
 (print_backtrace-0x1cf74)[0x40000a5e1ec]
 /hpc/scratch/frb15/sandbox/sage-5.0.prealpha0/local/lib/libcsage.so
 (sigdie-0x1cf1c)[0x40000a5e25c]
 /hpc/scratch/frb15/sandbox/sage-5.0.prealpha0/local/lib/libcsage.so
 (sage_signal_handler-0x1d370)[0x40000a5dd60]
 [0x40000040418]
 
/hpc/scratch/frb15/sandbox/sage-5.0.prealpha0/local/lib/libmpfr.so.4(+0x2fbb0)[0x400040ffbb0]
 /hpc/scratch/frb15/sandbox/sage-5.0.prealpha0/local/lib/libmpfr.so.4
 (mpfr_set_q-0x4f1b4)[0x400040ffd3c]
 /hpc/scratch/frb15/sandbox/sage-5.0.prealpha0/local/lib/libmpfi.so.0
 (mpfi_interv_q-0x1b260)[0x400043e0580]
 /hpc/scratch/frb15/sandbox/sage-5.0.prealpha0/local/lib/python/site-
 packages/sage/rings/real_mpfi.so(+0x2b3a0)[0x4000437b3a0]
 
/hpc/scratch/frb15/sandbox/sage-5.0.prealpha0/local/lib/libpython2.7.so.1.0(+0x11736c)[0x4000017736c]
 /hpc/scratch/frb15/sandbox/sage-5.0.prealpha0/local/lib/libpython2.7.so.1.0
 (PyObject_Call-0x1bff54)[0x400000ecb3c]
 /hpc/scratch/frb15/sandbox/sage-5.0.prealpha0/local/lib/python/site-
 packages/sage/rings/real_mpfi.so(+0x2e514)[0x4000437e514]
 /hpc/scratch/frb15/sandbox/sage-5.0.prealpha0/local/lib/libpython2.7.so.1.0
 (PyObject_Call-0x1bff54)[0x400000ecb3c]
 The doctested process was killed by signal 11
          [5.9 s]
 }}}
 So we are expecting to catch some failure here in the first place and it
 doesn't go according to plan.

 Also I forgot to mention I used the compiler fron SLES rather than
 compiling a newer version:
 {{{
 gcc -v
 Using built-in specs.
 Target: powerpc64-suse-linux
 Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
 --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64
 --enable-languages=c,c++,objc,fortran,obj-c++,java --enable-
 checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp
 --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-
 pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-
 slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-
 libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-
 runtime-libs --program-suffix=-4.3 --enable-linux-futex --without-system-
 libunwind --with-cpu=power4 --enable-secureplt --with-long-double-128
 --build=powerpc64-suse-linux
 Thread model: posix
 gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux)
 gfortran -v
 Using built-in specs.
 Target: powerpc64-suse-linux
 Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
 --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64
 --enable-languages=c,c++,objc,fortran,obj-c++,java --enable-
 checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp
 --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-
 pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-
 slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-
 libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-
 runtime-libs --program-suffix=-4.3 --enable-linux-futex --without-system-
 libunwind --with-cpu=power4 --enable-secureplt --with-long-double-128
 --build=powerpc64-suse-linux
 Thread model: posix
 gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux)
 }}}

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