|
From: | Fabrice Popineau |
Subject: | Re: Building Emacs on WSL |
Date: | Wed, 21 Dec 2016 11:29:48 +0100 |
Il 20/12/2016 13:40, Fabrice Popineau ha scritto:
However, there is a simple fix:
diff --git a/src/emacs.c b/src/emacs.c
index dc13b15..46a0593 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -699,6 +699,7 @@ main (int argc, char **argv)
bool disable_aslr = dumping;
# endif
+#if 0
if (disable_aslr && disable_address_randomization ())
{
/* Set this so the personality will be reverted before execs
@@ -712,6 +713,7 @@ main (int argc, char **argv)
/* If the exec fails, warn and then try anyway. */
perror (argv[0]);
}
+#endif
#ifndef CANNOT_DUMP
might_dump = !initialized;
Now, Spacemacs loads as well with master.
Yes, Emacs master builds and works in console (same issue for packages manager, bug #25221) but I have to
echo 0 | sudo tee /proc/sys/kernel/randomize_va_space before the build starts otherwise it fails.
[Prev in Thread] | Current Thread | [Next in Thread] |