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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37311 in the body.
You can then email your comments to 37311 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#37311; Package emacs. (Thu, 05 Sep 2019 14:40:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to kangenbo <kangenbo <at> huawei.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 05 Sep 2019 14:40:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: kangenbo <kangenbo <at> huawei.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: #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)]

Forcibly Merged 20215 37311. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 05 Sep 2019 20:59:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 04 Oct 2019 11:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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