Ticket #20361 (closed defect: fixed)
don't pass -arch to fortran compilers
| Reported by: | simon@… | Owned by: | ram@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | MacPorts 1.8.0 |
| Component: | base | Version: | 1.8.0 |
| Keywords: | fftw-3 -arch | Cc: | mmoll@…, jmr@… |
| Port: | fftw-3 |
Description
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
Change History
Note: See
TracTickets for help on using
tickets.

