unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Angelo Graziosi <angelo.graziosi@alice.it>
To: Fabrice Popineau <fabrice.popineau@centralesupelec.fr>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: Building Emacs on WSL
Date: Wed, 21 Dec 2016 10:00:31 +0100	[thread overview]
Message-ID: <86d8a6c3-801c-bda2-4479-bd246f8fdd46@alice.it> (raw)
In-Reply-To: <CAFgFV9PN6VB73tkFaQfQRBEEKwR3VGeCrXs2d3nnn85Zpe_GvQ@mail.gmail.com>



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.

Angelo





  parent reply	other threads:[~2016-12-21  9:00 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 [this message]
2016-12-21 10:29         ` Fabrice Popineau
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86d8a6c3-801c-bda2-4479-bd246f8fdd46@alice.it \
    --to=angelo.graziosi@alice.it \
    --cc=emacs-devel@gnu.org \
    --cc=fabrice.popineau@centralesupelec.fr \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).