[MacPorts] #28341: py26-mpi4py tries to apply -arch flag to mpicc

MacPorts noreply at macports.org
Wed Feb 9 16:46:23 PST 2011


#28341: py26-mpi4py tries to apply -arch flag to mpicc
-------------------------------------+--------------------------------------
 Reporter:  marshall.ward@…          |       Owner:  adfernandes@…           
     Type:  defect                   |      Status:  new                     
 Priority:  Normal                   |   Milestone:                          
Component:  ports                    |     Version:  1.9.2                   
 Keywords:                           |        Port:  py26-mpi4py             
-------------------------------------+--------------------------------------
Changes (by ryandesign@…):

  * owner:  macports-tickets@… => adfernandes@…
  * port:  => py26-mpi4py


Old description:

> When I try to build py26-mpi4py on 10.6, I get the following error:
>

> {{{
> :info:build /opt/local/bin/mpicc -fno-strict-aliasing -fno-common
> -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch x86_64
> -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
> -c _configtest.c -o _configtest.o
> :info:build cc1: error: unrecognized command line option "-arch"
>
> mpicc doesn't support the -arch flag on my build, I do not know if this
> is specific to 10.6 or is true in general. Is it possible to remove this
> flag, or necessary to change it?
> }}}

New description:

 When I try to build py26-mpi4py on 10.6, I get the following error:


 {{{
 :info:build /opt/local/bin/mpicc -fno-strict-aliasing -fno-common -dynamic
 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch x86_64
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
 -c _configtest.c -o _configtest.o
 :info:build cc1: error: unrecognized command line option "-arch"
 }}}

 mpicc doesn't support the -arch flag on my build, I do not know if this is
 specific to 10.6 or is true in general. Is it possible to remove this
 flag, or necessary to change it?

--

-- 
Ticket URL: <https://trac.macports.org/ticket/28341#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list