[issue9047] Python 2.7rc2 includes -isysroot twice on each gcc command line

Marc-Andre Lemburg report at bugs.python.org
Mon Jun 21 20:38:13 CEST 2010


New submission from Marc-Andre Lemburg <mal at egenix.com>:

A typical build line looks like this:

gcc-4.0 -c -fno-strict-aliasing -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include -isysroot /Developer/SDKs/MacOSX10.4u.sdk   -DPy_BUILD_CORE -o Python/codecs.o Python/codecs.c

With older Xcode releases, the above is known not to work at all: gcc simply gives up and raises an error. With the latest Xcode available for 10.3 (last release + all patches), gcc accepts the extra options, but it's not clear whether the resulting code will work... mostly due to #9046: Python 2.7rc2 doesn't build on Mac OS X 10.3.

The two issues could also be connected.

----------
assignee: ronaldoussoren
components: Build
messages: 108295
nosy: lemburg, ronaldoussoren
priority: normal
severity: normal
status: open
title: Python 2.7rc2 includes -isysroot twice on each gcc command line
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9047>
_______________________________________


More information about the Python-bugs-list mailing list