GNU bug report logs - #37311
#BUG ABOUT EMACS# not support compilation as PIE

Previous Next

Package: emacs;

Reported by: kangenbo <kangenbo <at> huawei.com>

Date: Thu, 5 Sep 2019 14:40:02 UTC

Severity: wishlist

Merged with 20215

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: kangenbo <kangenbo <at> huawei.com>
To: 37311 <at> debbugs.gnu.org
Subject: bug#37311: #BUG ABOUT EMACS# not support compilation as PIE
Date: Thu, 5 Sep 2019 11:43:49 +0000
[Message part 1 (text/plain, inline)]
Emacs  24.3 (gnu/linux, x86_64)

Question1: Why emacs do not have fPIE(Position Independent Executable)?

Question2: I try to compile as a positon-independent executable, modify src/Makefile  with adding CFLAGS=-fPIE  LDFLAGS=-pie
                   Then I make and get Emacs segfaults when dumping.
[cid:image001.png <at> 01D56421.53405100]

someone has the same problem in bug-gnu-emacs , but no one reply.  https://lists.gnu.org/archive/html/bug-gnu-emacs/2015-03/msg01061.html

Regards,
Patrick

[Message part 2 (text/html, inline)]
[image001.png (image/png, 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.