From: kangenbo <kangenbo@huawei.com>
To: 37311@debbugs.gnu.org
Subject: bug#37311: #BUG ABOUT EMACS# not support compilation as PIE
Date: Thu, 5 Sep 2019 11:43:49 +0000 [thread overview]
Message-ID: <977862D80D743A46A98739F616A9ED2E2607467D@dggeml528-mbx.china.huawei.com> (raw)
[-- 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 --]
reply other threads:[~2019-09-05 11:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=977862D80D743A46A98739F616A9ED2E2607467D@dggeml528-mbx.china.huawei.com \
--to=kangenbo@huawei.com \
--cc=37311@debbugs.gnu.org \
/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 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.