From: Philipp Stephani <p.stephani2@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 20215@debbugs.gnu.org
Subject: bug#20215: 25.0.50; Support compilation as PIE
Date: Sun, 21 Jun 2015 20:11:16 +0000 [thread overview]
Message-ID: <CAArVCkQSDyVR3cS=cThPAAB9H==8V2Ce-mAUSjo6+t6VBf3UNw@mail.gmail.com> (raw)
In-Reply-To: <jwvegoaoycb.fsf-monnier+emacsbugs@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 755 bytes --]
Stefan Monnier <monnier@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.
[-- Attachment #2: Type: text/html, Size: 1093 bytes --]
next prev parent reply other threads:[~2015-06-21 20:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <21790.32815.900501.879079@a1i15.kph.uni-mainz.de>
2015-03-27 21:42 ` bug#20215: 25.0.50; Support compilation as PIE Philipp Stephani
2015-03-27 22:46 ` Stefan Monnier
2015-06-21 20:11 ` Philipp Stephani [this message]
2015-06-22 15:58 ` Stefan Monnier
2019-09-05 22:00 ` Glenn Morris
[not found] ` <handler.20215.C.142806226423827.notifdonectrl.3@debbugs.gnu.org>
2015-04-03 15:33 ` bug#20215: acknowledged by developer (control message for bug #18784) Philipp Stephani
[not found] <m2618zzqqy.fsf@gmail.com>
2015-04-13 21:09 ` bug#20215: 25.0.50; Support compilation as PIE Philipp Stephani
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='CAArVCkQSDyVR3cS=cThPAAB9H==8V2Ce-mAUSjo6+t6VBf3UNw@mail.gmail.com' \
--to=p.stephani2@gmail.com \
--cc=20215@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
/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).