#9034: flintqs builds as 32-bit despite SAGE64=yes on OpenSolaris x64
----------------------------+-----------------------------------------------
   Reporter:  drkirkby      |       Owner:  drkirkby                            
       
       Type:  defect        |      Status:  needs_review                        
       
   Priority:  major         |   Milestone:  sage-4.4.3                          
       
  Component:  solaris       |    Keywords:                                      
       
     Author:  David Kirkby  |    Upstream:  Not yet reported upstream; Will do 
shortly.
   Reviewer:                |      Merged:                                      
       
Work_issues:                |  
----------------------------+-----------------------------------------------
Changes (by newvalueoldvalue):

  * status:  new => needs_review
  * author:  => David Kirkby


Comment:

 The attached patch resolves this issue. A new package can be found at:

 http://boxen.math.washington.edu/home/kirkby/patches/flintqs-20070817.p5.spkg

 Now the -m64 flag is added to the compiler

 {{{
 g++ -ansi -m64 lprels.o ModuloArith.o TonelliShanks.o F2matrix.o lanczos.o
 QS.o  -o "QuadraticSieve" -L/export/home/drkirkby/sage-4.4.2/local/lib
 -lgmp

 real    0m0.952s
 user    0m0.737s
 sys     0m0.108s
 Successfully installed flintqs-20070817.p5
 }}}

 and the binary is built as 64-bit.

 {{{
 drkir...@hawk:~/sage-4.4.2$ file  local/bin/QuadraticSieve
 local/bin/QuadraticSieve:       ELF 64-bit LSB executable AMD64 Version 1,
 dynamically linked, not stripped, no debugging information available
 drkir...@hawk:~/sage-4.4.2$
 }}}

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