[pypy-commit] pypy reverse-debugger: Update the ASLR failure message

arigo pypy.commits at gmail.com
Sat Aug 12 10:39:27 EDT 2017


Author: Armin Rigo <arigo at tunes.org>
Branch: reverse-debugger
Changeset: r92133:136c8d30b2d7
Date: 2017-08-12 16:38 +0200
http://bitbucket.org/pypy/pypy/changeset/136c8d30b2d7/

Log:	Update the ASLR failure message

diff --git a/rpython/translator/revdb/src-revdb/revdb.c b/rpython/translator/revdb/src-revdb/revdb.c
--- a/rpython/translator/revdb/src-revdb/revdb.c
+++ b/rpython/translator/revdb/src-revdb/revdb.c
@@ -1031,6 +1031,12 @@
                 "command disables it manually:\n"
                 "\n"
                 "    echo 0 | sudo tee /proc/sys/kernel/randomize_va_space\n"
+                "\n"
+                "It has been reported that on Linux kernel 4.12.4-1-ARCH,\n"
+                "ASLR cannot be disabled at all for libpypy-c.so.  For now\n"
+                "there is no good solution.  Either you downgrade the\n"
+                "kernel, or you translate with --no-shared (and you loose\n"
+                "PyPy's cpyext ability).\n"
                 "\n", argv[0]);
         exit(1);
     }


More information about the pypy-commit mailing list