[Scipy-tickets] [SciPy] #485: building scipy with a FFLAGS fails on x86_64

SciPy scipy-tickets@scipy....
Fri Aug 24 07:24:51 CDT 2007


#485: building scipy with a FFLAGS fails on x86_64
----------------------+-----------------------------------------------------
 Reporter:  bicatali  |       Owner:  somebody
     Type:  defect    |      Status:  new     
 Priority:  normal    |   Milestone:  0.6     
Component:  Other     |     Version:          
 Severity:  normal    |    Keywords:          
----------------------+-----------------------------------------------------
 Whatever FFLAGS are set (and may be F77FLAGS), scipy on x86_64 Linux will
 not build. Steps to reproduce:
 {{{
 FFLAGS="-O2" python setup.py build
 [..skip...]
 build/temp.linux-x86_64-2.5/libdfftpack.a(zfftb.o): relocation R_X86_64_32
 against `a local symbol' can not be used when making a shared object;
 recompile
 with -fPIC
 }}}
 The only work around is to add -fPIC. This was tested with gcc/gfortran
 4.1.2, but is probably valid for another set of compilers.[[BR]]
 It could be a numpy f2py issue, but numpy builds fine with it, as well as
 other other numpy (but not f2py) dependent packages.[[BR]]

 Should it not be fixed, or at least documented?

-- 
Ticket URL: <http://projects.scipy.org/scipy/scipy/ticket/485>
SciPy <http://www.scipy.org/>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list