Ticket #915 (closed defect: invalid)

Opened 17 months ago

Last modified 13 months ago

-arch i686 command line arg triggers build failure on mac osx 10.5.6 intel

Reported by: goatbar Owned by: somebody
Priority: normal Milestone: 0.7.1
Component: Other Version: 0.7.0
Keywords: Cc:

Description

I'm trying to package scipy 0.7.0 for fink. It compiles fine on PPC, but I get this on my intel mac... I can't figure out where the arch is getting set.

Using built-in specs.
Target: i686-apple-darwin9
Configured with: ../gcc-4.3.3/configure --prefix=/sw --prefix=/sw/lib/gcc4.3 --mandir=/sw/share/man --infodir=/sw/share/info --enable-languages=c,c++,fortran,objc,java --with-arch=nocona --with-tune=generic --build=i686-apple-darwin9 --with-gmp=/sw --with-libiconv-prefix=/sw --with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --disable-libjava-multilib
Thread model: posix
gcc version 4.3.3 (GCC) 
customize Gnu95FCompiler using build_clib
building 'dfftpack' library
compiling Fortran sources
Fortran f77 compiler: /sw/bin/gfortran -Wall -ffixed-form -fno-second-underscore -arch i686 -fPIC -O3 -funroll-loops
Fortran f90 compiler: /sw/bin/gfortran -Wall -fno-second-underscore -arch i686 -fPIC -O3 -funroll-loops
Fortran fix compiler: /sw/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -arch i686 -fPIC -O3 -funroll-loops
creating build/temp.macosx-10.5-i386-2.6
creating build/temp.macosx-10.5-i386-2.6/scipy
creating build/temp.macosx-10.5-i386-2.6/scipy/fftpack
creating build/temp.macosx-10.5-i386-2.6/scipy/fftpack/src
creating build/temp.macosx-10.5-i386-2.6/scipy/fftpack/src/dfftpack
compile options: '-I/sw/lib/python2.6/site-packages/numpy/core/include -c'
gfortran:f77: scipy/fftpack/src/dfftpack/dcosqb.f
f951: error: unrecognized command line option "-arch"
f951: error: unrecognized command line option "-arch"
error: Command "/sw/bin/gfortran -Wall -ffixed-form -fno-second-underscore -arch i686 -fPIC -O3 -funroll-loops -I/sw/lib/python2.6/site-packages/numpy/core/include -c -c scipy/fftpack/src/dfftpack/dcosqb.f -o build/temp.macosx-10.5-i386-2.6/scipy/fftpack/src/dfftpack/dcosqb.o" failed with exit status 1

gfortran is coming from gcc 4.3.3

gfortran -dumpversion
GNU Fortran (GCC) 4.3.3

Change History

follow-up: ↓ 2   Changed 17 months ago by goatbar

Update: scipy 0.7.0 compiles with numpy 1.1.1, but this error pops up when I switch to numpy 1.3.0 (Called scipy-core-py in fink)

in reply to: ↑ 1   Changed 17 months ago by goatbar

Also works with numpy-1.2.[01], so this is something that changed between numpy 1.2.1 and 1.3.0.

follow-up: ↓ 4   Changed 17 months ago by goatbar

in reply to: ↑ 3   Changed 17 months ago by goatbar

Whoops... that would be a numpy problem:

http://projects.scipy.org/numpy/ticket/1087

  Changed 17 months ago by cdavid

  • status changed from new to closed
  • resolution set to invalid

This is indeed a numpy bug

Note: See TracTickets for help on using tickets.