[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building Emacs on WSL

From: Angelo Graziosi
Subject: Re: Building Emacs on WSL
Date: Wed, 21 Dec 2016 10:00:31 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1

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]);

 #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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]