#20361: fftw-3: failure during configure phase, compiler does not recognize -arch flag ---------------------------------+------------------------------------------ Reporter: simon@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: fftw-3 -arch | Port: fftw-3 ---------------------------------+------------------------------------------ While trying to upgrade fftw-3 @3.2.1_2+gcc43 the configure script fails with the following error: {{{ checking for Fortran 77 name-mangling scheme... configure: error: in `/opt/local/var/macports/build/_opt_local_macports- trunk_dports_math_fftw-3/work/fftw-3.2.2': configure: error: cannot compile a simple Fortran program }}} config.log shows: {{{ configure:25700: gfortran-mp-4.3 -o conftest -pipe -O2 -arch i386 -L/opt/local/lib -arch i386 conftest.f -lm f951: error: unrecognized command line option "-arch" f951: error: unrecognized command line option "-arch" }}} I have not tested it for other gcc variants and I am aware that this is related to changes in 1.8 -- Ticket URL: <http://trac.macports.org/ticket/20361> MacPorts <http://www.macports.org/> Ports system for Mac OS