Ticket #915 (closed defect: invalid)
-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
Note: See
TracTickets for help on using
tickets.
