GNU bug report logs - #20215
25.0.50; Support compilation as PIE

Previous Next

Package: emacs;

Reported by: Philipp Stephani <p.stephani2 <at> gmail.com>

Date: Fri, 27 Mar 2015 21:44:02 UTC

Severity: wishlist

Merged with 37311

Found in versions 24.4, 25.0.50

Fixed in version 27.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Philipp Stephani <p.stephani2 <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 20215 <at> debbugs.gnu.org
Subject: bug#20215: 25.0.50; Support compilation as PIE
Date: Sun, 21 Jun 2015 20:11:16 +0000
[Message part 1 (text/plain, inline)]
Stefan Monnier <monnier <at> iro.umontreal.ca> schrieb am Fr., 27. März 2015 um
23:46 Uhr:

> > Currently when trying to compile as a position-independent executable,
> > e.g.
>
> > ./configure CFLAGS=-fPIE LDFLAGS=-pie && make
>
> > Emacs segfaults when dumping.
>
> I have no idea why it would crash during the dumping process, but
> I wouldn't be surprised if after a successful dump of `temacs', the
> resulting `emacs' crashes early on, since the dump will be writing
> a heap which will probably contain pointers back into the code.
>
>
>
I haven't investigated why it crashes in detail, but since the dumper
prevents ASLR and PIE (and doesn't work on platforms such as Chromium), I
think it should be replaced by a portable dumper.
[Message part 2 (text/html, inline)]

This bug report was last modified 5 years and 311 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.