From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23529: Request for fixing randomize_va_space build issues Date: Fri, 09 Sep 2016 21:56:14 +0300 Message-ID: <83a8fgaomp.fsf@gnu.org> 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> <83eg4vab5o.fsf@gnu.org> <831t0va8br.fsf@gnu.org> <478e7c97-9339-5072-f9c1-ec67a45113aa@cs.ucla.edu> <83h99p8wbh.fsf@gnu.org> <87sht9ncz9.fsf@linux-m68k.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1473447438 12659 195.159.176.226 (9 Sep 2016 18:57:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 9 Sep 2016 18:57:18 +0000 (UTC) Cc: p.stephani2@gmail.com, eggert@cs.ucla.edu, philippe.vaucher@gmail.com, 23529@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 09 20:57:14 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 1biQzA-0002cN-Oh for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Sep 2016 20:57:12 +0200 Original-Received: from localhost ([::1]:59729 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biQz8-0006q8-Qn for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Sep 2016 14:57:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37019) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biQz3-0006q1-3n for bug-gnu-emacs@gnu.org; Fri, 09 Sep 2016 14:57:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1biQz0-0008Pb-0E for bug-gnu-emacs@gnu.org; Fri, 09 Sep 2016 14:57:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57169) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biQyz-0008PX-Sr for bug-gnu-emacs@gnu.org; Fri, 09 Sep 2016 14:57:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1biQyz-0006V3-L4 for bug-gnu-emacs@gnu.org; Fri, 09 Sep 2016 14:57:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Sep 2016 18:57: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.147344739024942 (code B ref 23529); Fri, 09 Sep 2016 18:57:01 +0000 Original-Received: (at 23529) by debbugs.gnu.org; 9 Sep 2016 18:56:30 +0000 Original-Received: from localhost ([127.0.0.1]:54880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1biQyU-0006UD-C5 for submit@debbugs.gnu.org; Fri, 09 Sep 2016 14:56:30 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1biQyT-0006U2-78 for 23529@debbugs.gnu.org; Fri, 09 Sep 2016 14:56:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1biQyK-0008IZ-U4 for 23529@debbugs.gnu.org; Fri, 09 Sep 2016 14:56:24 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49858) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biQyK-0008IG-RG; Fri, 09 Sep 2016 14:56:20 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1265 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1biQyI-0007pJ-TT; Fri, 09 Sep 2016 14:56:19 -0400 In-reply-to: <87sht9ncz9.fsf@linux-m68k.org> (message from Andreas Schwab on Fri, 09 Sep 2016 20:29:30 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:123121 Archived-At: > From: Andreas Schwab > Cc: Paul Eggert , p.stephani2@gmail.com, philippe.vaucher@gmail.com, 23529@debbugs.gnu.org > Date: Fri, 09 Sep 2016 20:29:30 +0200 > > On Sep 09 2016, Eli Zaretskii wrote: > > > defsubr does that, but fixing the address of the function after > > loading the dumped data is also very simple: for each defsubr, rewrite > > its function pointer. > > Function pointers are difficult to handle, especially on architectures > that use function descriptors. That's why the "portable" dumper of > xemacs doesn't work on ia64: it lumps together function and data > pointers. Sorry, I don't understand: does defsubr work on ia64? If so, doing in emacs just the last part of it, which stores the function pointer, should also work, right?