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

2011-03-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: This is no longer a problem on any machine I have access to, I'm therefore closing this issue. Please reopen if you still have problems on your machine, if you do so include detailed information about: OSX release, system architecture (ppc, i386), Xcode rel

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

2010-11-21 Thread Ned Deily
Ned Deily added the comment: Can this be closed now? -- nosy: +ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

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

2010-10-26 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Ronald Oussoren wrote: > > Ronald Oussoren added the comment: > > Marc-Andre: does the current HEAD of the 2.7 and 3.2 branches work for you? > > The build still has duplicate flags, but that doesn't seem to cause problems > on my machines. If it also d

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

2010-10-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: Marc-Andre: does the current HEAD of the 2.7 and 3.2 branches work for you? The build still has duplicate flags, but that doesn't seem to cause problems on my machines. If it also doesn't cause problems on your machines I'd prefer to close this issue as won'

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

2010-08-21 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

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

2010-08-07 Thread Ronald Oussoren
Ronald Oussoren added the comment: The patch is not sufficient to fix this issue. One problem is that the configure script also using CFLAGS and CPPFLAGS, which results in duplicate -isysroot flags when the compiler is used by configure. Fixing this properly is annoyingly hard, I'll have to w

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

2010-07-24 Thread Ronald Oussoren
Ronald Oussoren added the comment: The root cause of having the flags twice is that the Makefile explicitly sets LDFLAGS in the environment before when running setup.py, and that distutils appens the value of $(LDFLAGS) to $(LDSHARED) when LDFLAGS is set in the environment. Line from the mak

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

2010-06-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: Marc-Andre: is this still relevant or did the fix for SDK support enough to fix the build. BTW. Is this for OSX 10.4 instead of 10.3? AFAIK the compiler on 10.3 doesn't support SDKs at all. -- ___ Python tracker

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

2010-06-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: Sigh. -isysroot was added to CPPFLAGS because Python wouldn't build as a universal binary anymore due a fix for issue 1628484. (According to the SVN log for r80187). I'll see what can be done to avoid adding -isysroot twice to the compiler flags. -

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

2010-06-21 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Note that the duplicate insertion of -isysroot happens because CPPFLAGS was changed to include this extra option. Since PY_CFLAGS includes both CFLAGS and CPPFLAGS, you get the duplicate occurrence. In Python 2.6, the extra option did appear in CPPFLAGS

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

2010-06-21 Thread Marc-Andre Lemburg
New submission from Marc-Andre Lemburg : 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.4