* bug#37311: #BUG ABOUT EMACS# not support compilation as PIE
@ 2019-09-05 11:43 kangenbo
0 siblings, 0 replies; only message in thread
From: kangenbo @ 2019-09-05 11:43 UTC (permalink / raw)
To: 37311
[-- Attachment #1.1: Type: text/plain, Size: 508 bytes --]
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@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
[-- Attachment #1.2: Type: text/html, Size: 4800 bytes --]
[-- Attachment #2: image001.png --]
[-- Type: image/png, Size: 16954 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-09-05 11:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-05 11:43 bug#37311: #BUG ABOUT EMACS# not support compilation as PIE kangenbo
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.