From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#23529: Request for fixing randomize_va_space build issues Date: Wed, 7 Sep 2016 09:11:31 -0700 Organization: UCLA Computer Science Department Message-ID: References: <573C2601.3030308@cs.ucla.edu> <54b89449-083a-a906-986a-f284dbbf482a@cs.ucla.edu> <02c57124-ef39-bc30-89ba-998986d070fc@cs.ucla.edu> <834m5tapuu.fsf@gnu.org> <83twdsalbk.fsf@gnu.org> <83r38vaiyh.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1473264747 19808 195.159.176.226 (7 Sep 2016 16:12:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 7 Sep 2016 16:12:27 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 Cc: p.stephani2@gmail.com, philippe.vaucher@gmail.com, 23529@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 07 18:12:23 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bhfSQ-0003op-Ns for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Sep 2016 18:12:14 +0200 Original-Received: from localhost ([::1]:41909 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhfSO-0004eZ-LT for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Sep 2016 12:12:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhfSI-0004eN-I7 for bug-gnu-emacs@gnu.org; Wed, 07 Sep 2016 12:12:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhfSE-0005e1-77 for bug-gnu-emacs@gnu.org; Wed, 07 Sep 2016 12:12:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55121) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhfSE-0005do-4c for bug-gnu-emacs@gnu.org; Wed, 07 Sep 2016 12:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bhfSD-000454-Sr for bug-gnu-emacs@gnu.org; Wed, 07 Sep 2016 12:12:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Sep 2016 16:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23529 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23529-submit@debbugs.gnu.org id=B23529.147326470415662 (code B ref 23529); Wed, 07 Sep 2016 16:12:01 +0000 Original-Received: (at 23529) by debbugs.gnu.org; 7 Sep 2016 16:11:44 +0000 Original-Received: from localhost ([127.0.0.1]:52833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bhfRw-00044Y-55 for submit@debbugs.gnu.org; Wed, 07 Sep 2016 12:11:44 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:35384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bhfRu-00044M-HT for 23529@debbugs.gnu.org; Wed, 07 Sep 2016 12:11:43 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id D2FE7161168; Wed, 7 Sep 2016 09:11:35 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id aUgH55u05-G2; Wed, 7 Sep 2016 09:11:35 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 2A22F161173; Wed, 7 Sep 2016 09:11:35 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id OmTmUQN5zyxe; Wed, 7 Sep 2016 09:11:35 -0700 (PDT) Original-Received: from [192.168.1.9] (unknown [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 068D1161168; Wed, 7 Sep 2016 09:11:35 -0700 (PDT) In-Reply-To: <83r38vaiyh.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:123060 Archived-At: Eli Zaretskii wrote: >> The compiler-based approach should be simpler and more portable than >> messing with low-level binary I/O. > > You mean, 'read' and 'write'? I meant all the other stuff associated with the I/O. >> Another example: on hardened platforms with PIEs >> (position-independent executables), you get a PIE for free as the >> dumped executable, instead of having to disable PIE as we do now. > > I'm not sure how PIE is relevant: the stuff we dump, and need to load > into a running Emacs, is data, not code. What am I missing? PIE can relocate data as well as code. And with modules, we also have code to dump.