Author: Armin Rigo <ar...@tunes.org> Branch: release-1.6.x Changeset: r46442:15542b7b123d Date: 2011-08-11 22:38 +0200 http://bitbucket.org/pypy/pypy/changeset/15542b7b123d/
Log: Windows bug fix. Shows up as the JIT complaining that it is missing liveness. Quite indirect :-( diff --git a/pypy/translator/platform/windows.py b/pypy/translator/platform/windows.py --- a/pypy/translator/platform/windows.py +++ b/pypy/translator/platform/windows.py @@ -231,6 +231,9 @@ linkflags = self._args_for_shared(linkflags) + [ '/EXPORT:$(PYPY_MAIN_FUNCTION)'] linkflags += self._exportsymbols_link_flags(eci, relto=path) + # Make sure different functions end up at different addresses! + # This is required for the JIT. + linkflags.append('/opt:noicf') if shared: so_name = exe_name.new(purebasename='lib' + exe_name.purebasename, _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit