[NumPy-Tickets] [NumPy] #1818: gfortran missing -shared flag when building extensions with numpy.distutils and -fPIC missing for gfortran on x64

NumPy Trac numpy-tickets@scipy....
Wed Sep 26 11:24:47 CDT 2012


#1818: gfortran missing -shared flag when building extensions with numpy.distutils
and -fPIC missing for gfortran on x64
-----------------------------+----------------------------------------------
 Reporter:  winterstream     |       Owner:  cdavid      
     Type:  defect           |      Status:  needs_review
 Priority:  normal           |   Milestone:  Unscheduled 
Component:  numpy.distutils  |     Version:  1.6.2       
 Keywords:                   |  
-----------------------------+----------------------------------------------
Changes (by heroxbd):

 * cc: heroxbd@… (added)
  * status:  needs_info => needs_review
  * version:  1.5.1 => 1.6.2


Comment:

 This bug is somewhat related to http://projects.scipy.org/numpy/ticket/573

 In distributions, e.g. Gentoo, there is global LDFLAGS and CFLAGS for
 system wide tuning. Considering "-shared" and "-fPIC" being crucial,
 adding them to gnu.py gnu95 executables is a reasonable idea.

 Patch attached.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1818#comment:3>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list