[MacPorts] #52079: gcc-4.0: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
MacPorts
noreply at macports.org
Mon Aug 22 22:07:29 PDT 2016
#52079: gcc-4.0: -E, -S, -save-temps and -M options are not allowed with multiple
-arch flags
---------------------------+--------------------------------
Reporter: ryandesign@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.3.99
Keywords: leopard tiger | Port:
---------------------------+--------------------------------
MacPorts base fails to build with gcc-4.0 (Tiger, Leopard) or gcc-4.2
(Snow Leopard):
{{{
===> making all in src/darwintracelib1.0
cc -g -O2 -std=c99 -Wextra -Wall -fPIC -arch i386 -arch ppc
-DHAVE_CONFIG_H -I/opt/macports-base/src -I/opt/macports-base/src -I.
-I/opt/macports-base/vendor/vendor-
destroot//opt/bblocal/libexec/macports/include -MMD -MP -c -o access.o
access.c
cc -g -O2 -std=c99 -Wextra -Wall -fPIC -arch i386 -arch ppc
-DHAVE_CONFIG_H -I/opt/macports-base/src -I/opt/macports-base/src -I.
-I/opt/macports-base/vendor/vendor-
destroot//opt/bblocal/libexec/macports/include -MMD -MP -c -o close.o
close.c
gcc-4.0: -E, -S, -save-temps and -M options are not allowed with multiple
-arch flags
make[2]: *** [access.o] Error 1
make[2]: *** Waiting for unfinished jobs....
gcc-4.0: -E, -S, -save-temps and -M options are not allowed with multiple
-arch flags
make[2]: *** [close.o] Error 1
make[1]: *** [all] Error 1
make: *** [all] Error 1
}}}
The problem only occurs when building MacPorts base universal, but
MacPorts automatically builds base for the configured set of universal
archs.
The problem is masked on Snow Leopard due to the use of clang, if
available, ever since r111382. But clang is not available on Leopard or
Tiger.
--
Ticket URL: <https://trac.macports.org/ticket/52079>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list