[MacPorts] #33151: gcc43 fails to compile universal with clang (was: gcc43 fails to compile on Lion with XCode 4.2.1)
MacPorts
noreply at macports.org
Mon Feb 6 12:56:42 PST 2012
#33151: gcc43 fails to compile universal with clang
-------------------------------+--------------------------------------------
Reporter: gvibe06@… | Owner: mww@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: clang universal | Port: gcc43
-------------------------------+--------------------------------------------
Changes (by ryandesign@…):
* keywords: gcc43 lion xcode 4.2.1 => clang universal
Comment:
Hmm, ok. Well that log at least confirms:
{{{
configure:2724: checking how to run the C preprocessor
configure:2759: /Developer/usr/bin/clang -arch i386 -arch x86_64 -E
conftest.c
clang: error: cannot use 'cpp-output' output with multiple -arch options
}}}
I'm wondering why this port is sending `-arch` flags to cpp; MacPorts
doesn't usually do that since the C preprocessor has no use for `-arch`
flags.
It looks like this is fallout from r89472, which was to fix #28376.
--
Ticket URL: <https://trac.macports.org/ticket/33151#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list