[pypy-commit] pypy release-1.6.x: Windows bug fix. Shows up as the JIT complaining that it is
arigo
noreply at buildbot.pypy.org
Thu Aug 11 22:49:16 CEST 2011
Author: Armin Rigo <arigo at 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,
More information about the pypy-commit
mailing list