#11771: sage crashes on some degenerate flint xgcd's
--------------------------------+-------------------------------------------
   Reporter:  lftabera          |          Owner:  AlexGhitza                  
       Type:  defect            |         Status:  new                         
   Priority:  critical          |      Milestone:  sage-4.7.2                  
  Component:  basic arithmetic  |       Keywords:  flint, crash, xgcd fmpq_poly
Work_issues:                    |       Upstream:  N/A                         
   Reviewer:                    |         Author:                              
     Merged:                    |   Dependencies:                              
--------------------------------+-------------------------------------------

Comment(by leif):

 Replying to [comment:8 lftabera]:
 > I can confirm that the crash occur with flint 1.5.2 and fmpq 0.1.9
 vanilla sources.

 Where did you get fmpq_poly 0.1.9 from? (The version in Sage is 0.1.8.)

 [[BR]]

 > I have been unable to build flint 1.6 without mpir.

 Just change `-lmpir` to `-lgmp` in the `makefile` (at the top; one
 occurrence).

 I guess you already managed, but to build the FLINT library outside of
 Sage from the vanilla sources, you can use e.g. (on non-Darwin / non-
 Cygwin systems):
 {{{
 #!sh
 make PREFIX=/usr/local FLINT_GMP_LIB_DIR=/usr/lib FLINT_LIB=libflint.so
 library
 # optionally:
 make PREFIX=/usr/local FLINT_GMP_LIB_DIR=/usr/lib FLINT_LIB=libflint.so
 check
 }}}
 which produces the library in FLINT's top-level directory.

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