#7825: pari-2.3.3.p5 compilation fails on FreeBSD/amd64
-----------------------------------------------------------+----------------
   Reporter:  pjeremy                                      |       Owner:  
pjeremy
       Type:  defect                                       |      Status:  new  
  
   Priority:  major                                        |   Milestone:       
  
  Component:  freebsd                                      |    Keywords:       
  
Work_issues:                                               |      Author:       
  
   Upstream:  Not yet reported upstream; Will do shortly.  |    Reviewer:       
  
     Merged:                                               |  
-----------------------------------------------------------+----------------

Comment(by drkirkby):

 Hi Peter,

 Thank you for cc'ing me.

 The fix looks like it will resolve the FreeBSD issue, but there is an
 obvious problem with the SPARC platform on that line, as -fPIC will be
 selected there too, which may not always be appropriate.

 If #7818 gets implemented, it will add a variable FPIC_FLAG which could be
 set once for any compiler. I don't know if you could change this so spkg-
 install has something like

 {{{
 FPIC_FLAG=-fPIC
 }}}
 then use $FPIC_FLAG in pari-2.3.3.p5/patches/get_dlcflags.

 That way, it should work today, and with simple removal of the one line
 from spkg-install, this could work with any compiler.

 Oh why was there never a standard for compiler flags! Life would be so
 much easier.

 Dave

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