Author: Stefano Rivera <[email protected]>
Branch: 
Changeset: r71287:11c4878ea354
Date: 2014-05-05 23:09 +0200
http://bitbucket.org/pypy/pypy/changeset/11c4878ea354/

Log:    We now need -fPIC on PPC or translation will blow up with
        R_PPC_REL24 relocations that are out of range

diff --git a/rpython/translator/platform/__init__.py 
b/rpython/translator/platform/__init__.py
--- a/rpython/translator/platform/__init__.py
+++ b/rpython/translator/platform/__init__.py
@@ -267,7 +267,7 @@
     # Only required on armhf and mips{,el}, not armel. But there's no way to
     # detect armhf without shelling out
     if (platform.architecture()[0] == '64bit'
-            or platform.machine().startswith(('arm', 'mips'))):
+            or platform.machine().startswith(('arm', 'mips', 'ppc'))):
         host_factory = LinuxPIC
     else:
         host_factory = Linux
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to