From: Fabrice Popineau <fabrice.popineau@gmail.com>
To: Angelo Graziosi <angelo.graziosi@alice.it>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: Building Emacs on WSL
Date: Wed, 21 Dec 2016 11:29:48 +0100 [thread overview]
Message-ID: <CAFgFV9Ohoc0d-d4_-T3iYwoUs88CMpVp2y2cSYeJ+h2G9Jb6RQ@mail.gmail.com> (raw)
In-Reply-To: <86d8a6c3-801c-bda2-4479-bd246f8fdd46@alice.it>
[-- Attachment #1: Type: text/plain, Size: 1190 bytes --]
2016-12-21 10:00 GMT+01:00 Angelo Graziosi <angelo.graziosi@alice.it>:
> 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.
>
>
Yes, this is needed and that won't change until unexec is removed from
emacs (either replace by portable dumper or loading everything at runtime).
--
Fabrice
[-- Attachment #2: Type: text/html, Size: 2018 bytes --]
next prev parent reply other threads:[~2016-12-21 10:29 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-11 17:42 Building Emacs on WSL Angelo Graziosi
2016-12-16 15:05 ` Angelo Graziosi
2016-12-16 15:30 ` Eli Zaretskii
2016-12-16 17:48 ` Paul Eggert
2016-12-16 21:05 ` Eli Zaretskii
2016-12-17 1:00 ` Angelo Graziosi
2016-12-17 8:02 ` Eli Zaretskii
2016-12-17 8:33 ` Angelo Graziosi
2016-12-17 10:55 ` Eli Zaretskii
2016-12-17 14:25 ` Eli Zaretskii
2016-12-17 15:46 ` Angelo Graziosi
2016-12-20 12:20 ` Fabrice Popineau
2016-12-20 12:40 ` Fabrice Popineau
2016-12-20 19:35 ` Paul Eggert
2016-12-20 20:03 ` Fabrice Popineau
2016-12-20 23:59 ` Angelo Graziosi
2016-12-21 3:20 ` Paul Eggert
2016-12-21 8:54 ` Angelo Graziosi
2016-12-21 18:00 ` Paul Eggert
2016-12-21 20:50 ` Angelo Graziosi
2016-12-20 20:57 ` Angelo Graziosi
2016-12-21 9:00 ` Angelo Graziosi
2016-12-21 10:29 ` Fabrice Popineau [this message]
2016-12-20 21:19 ` Angelo Graziosi
2016-12-20 22:01 ` Fabrice Popineau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAFgFV9Ohoc0d-d4_-T3iYwoUs88CMpVp2y2cSYeJ+h2G9Jb6RQ@mail.gmail.com \
--to=fabrice.popineau@gmail.com \
--cc=angelo.graziosi@alice.it \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.