Bump DARWIN_VERSION_MIN to 10.7?

Hi, I recently tried to build RevDB on OS X and the build failed because __thread isn't supported on OS X 10.6 which RPython specifies as the minimum supported version. I've updated DARWIN_VERSION_MIN to 10.7 in the reverse-debugger branch[1], because otherwise it doesn't build at all on OS X. Armin suggested that there would be a performance benefit to increasing DARWIN_VERSION_MIN for pypy as well (along with adding darwin to the SUPPORT__THREAD list). I would like to make this change, but I don't want to break pypy for anyone who may still need OS X 10.6 support. As far as I can tell, OS X 10.6 is unsupported (last release in 2011) but still available as a necessary upgrade step from older versions that don't support the app store to newer versions that are only available through the app store. I also have an old laptop running OS X 10.8, and several applications (including Chrome) have dropped support for that recently. [1] https://bitbucket.org/pypy/pypy/commits/a740348ea339c358601d9029bc6811f56c4d... Thanks, --jerith

Hi all OS/X users, On 8 October 2016 at 12:59, Jeremy Thurgood <firxen@gmail.com> wrote:
Someone with OS/ user should look at this as well: https://bitbucket.org/pypy/pypy/issues/2432/problems-with-pypy-on-osx-dyld-s... There are maybe other similar places, too; you'd need to grep around to find them. Making all such places dependent on a single variable, like this DARWIN_VERSION_MIN, would be a good start. Then we can decide to bump the minimum OS/X version to 10.7, to get __thread in the normal PyPy too. This involves making sure that __thread is really used systematically then, i.e. there is no "if platform == darwin" that would disable their use here and there. If no-one shows up, the current situation will not change (not using __thread has performance implications, notably in calls to C functions around which we release the GIL). A bientôt, Armin.

Hi all OS/X users, On 8 October 2016 at 12:59, Jeremy Thurgood <firxen@gmail.com> wrote:
Someone with OS/ user should look at this as well: https://bitbucket.org/pypy/pypy/issues/2432/problems-with-pypy-on-osx-dyld-s... There are maybe other similar places, too; you'd need to grep around to find them. Making all such places dependent on a single variable, like this DARWIN_VERSION_MIN, would be a good start. Then we can decide to bump the minimum OS/X version to 10.7, to get __thread in the normal PyPy too. This involves making sure that __thread is really used systematically then, i.e. there is no "if platform == darwin" that would disable their use here and there. If no-one shows up, the current situation will not change (not using __thread has performance implications, notably in calls to C functions around which we release the GIL). A bientôt, Armin.
participants (2)
-
Armin Rigo
-
Jeremy Thurgood