[issue28341] cpython tip fails to build on Mac OS X 10.11.6 w/ XCode 8.0

2016-10-24 Thread Ned Deily
Ned Deily added the comment: There clearly was a specific problem introduced with the 10.12 SDK. It may be possible to work around by adding AVAILABILITY macros at appropriate spots in C code or some such. If someone is interested in supplying a patch, I'm willing to consider applying it but

[issue28341] cpython tip fails to build on Mac OS X 10.11.6 w/ XCode 8.0

2016-10-24 Thread Christoph Reiter
Christoph Reiter added the comment: Thanks for your response. I'm using MACOSX_DEPLOYMENT_TARGET etc. and it has worked so far building on 10.9/10/11 for running on 10.6. If I find a cause/fix I'll open a new issue. -- ___ Python tracker

[issue28341] cpython tip fails to build on Mac OS X 10.11.6 w/ XCode 8.0

2016-10-24 Thread Ned Deily
Ned Deily added the comment: Christoph, building on a newer OS X release for an older OS X release is tricky and out-of-scope for this closed issue. (But, it likely has the same root cause. The simplest solution is to build on the lowest-supported release, e.g. 10.9. You may also have succe

[issue28341] cpython tip fails to build on Mac OS X 10.11.6 w/ XCode 8.0

2016-10-24 Thread Christoph Reiter
Christoph Reiter added the comment: I get the same error when building python on osx 10.12 + xcode 8 for 10.9+ and then running it on 10.11. Any idea what could be the problem? -- nosy: +lazka ___ Python tracker

[issue28341] cpython tip fails to build on Mac OS X 10.11.6 w/ XCode 8.0

2016-10-04 Thread Ned Deily
Ned Deily added the comment: It is a bit confusing but, in general these days, you should always install the current command line tools specific to the version of the Mac operating system you are running. That ensures that not only are the necessary build tools installed but also that the cor

[issue28341] cpython tip fails to build on Mac OS X 10.11.6 w/ XCode 8.0

2016-10-03 Thread Skip Montanaro
Skip Montanaro added the comment: Thanks, Ned. Unintuitive though it may be, that seems to have done the trick. -- ___ Python tracker ___

[issue28341] cpython tip fails to build on Mac OS X 10.11.6 w/ XCode 8.0

2016-10-02 Thread Ned Deily
Ned Deily added the comment: There are various reports about Xcode 8.0 providing a 10.12 SDK which will include refs to symbols not available yet on 10.11. Try installing the command line tools via: $ xcode-select --install and doing a "make distclean" and then a complete configure and rebui

[issue28341] cpython tip fails to build on Mac OS X 10.11.6 w/ XCode 8.0

2016-10-02 Thread Skip Montanaro
Changes by Skip Montanaro : -- title: cpython tip fails to build on Mac OS X -> cpython tip fails to build on Mac OS X 10.11.6 w/ XCode 8.0 ___ Python tracker ___ __

[issue28341] cpython tip fails to build on Mac OS X

2016-10-02 Thread Skip Montanaro
New submission from Skip Montanaro: Just trying an infrequent update of tip (last time seems to have been early July), I get a link error on my Mac: % make ./Programs/_freeze_importlib \ ./Lib/importlib/_bootstrap.py Python/importlib.h dyld: lazy symbol binding failed: Symbol not fo