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#33174: 27.0.50; Dump fails on GNU/Linux ppc64le Date: Sat, 27 Oct 2018 13:26:07 -0700 Organization: UCLA Computer Science Department Message-ID: References: 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 1540671908 14425 195.159.176.226 (27 Oct 2018 20:25:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 27 Oct 2018 20:25:08 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 To: Thomas Fitzsimmons , 33174@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 27 22:25:04 2018 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 1gGV8o-0003d7-3f for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Oct 2018 22:25:02 +0200 Original-Received: from localhost ([::1]:37714 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gGVAu-0000wy-BY for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Oct 2018 16:27:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gGVAo-0000wr-D6 for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2018 16:27:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gGVAk-0003t1-F4 for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2018 16:27:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41545) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gGVAk-0003sl-97 for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2018 16:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gGVAk-0000HW-1N for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2018 16:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Oct 2018 20:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33174 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33174-submit@debbugs.gnu.org id=B33174.15406719791024 (code B ref 33174); Sat, 27 Oct 2018 20:27:01 +0000 Original-Received: (at 33174) by debbugs.gnu.org; 27 Oct 2018 20:26:19 +0000 Original-Received: from localhost ([127.0.0.1]:45803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGVA1-0000GK-VO for submit@debbugs.gnu.org; Sat, 27 Oct 2018 16:26:19 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:48626) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGV9z-0000G5-3N for 33174@debbugs.gnu.org; Sat, 27 Oct 2018 16:26:15 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 3241E160065; Sat, 27 Oct 2018 13:26:09 -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 9yUAJPbGOVpb; Sat, 27 Oct 2018 13:26:08 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 65D3C160066; Sat, 27 Oct 2018 13:26:08 -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 OW4PTD5jybmo; Sat, 27 Oct 2018 13:26:08 -0700 (PDT) Original-Received: from [192.168.1.9] (cpe-23-242-74-103.socal.res.rr.com [23.242.74.103]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 36093160065; Sat, 27 Oct 2018 13:26:08 -0700 (PDT) In-Reply-To: Content-Language: en-US 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:151706 Archived-At: Wonderful. Yet another reason we need to get the pdumper branch working. Anyway: 1. Can you use strace and/or GDB to investigate how ./temacs is disabling address randomization? In the emacs-26 branch, if you run this command in src: strace -f -o /tmp/tr ./temacs --batch --load loadup bootstrap the output file /tmp/tr should contain something like this: 18406 personality(0xffffffff) = 0 (PER_LINUX) 18406 personality(PER_LINUX|ADDR_NO_RANDOMIZE) = 0 (PER_LINUX) 18406 personality(0xffffffff) = 0x40000 (PER_LINUX|ADDR_NO_RANDOMIZE) 18406 execve("./temacs", ["./temacs", "--batch", "--load", "loadup", "bootstrap"], 0xc521b0 /* 80 vars */) = 0 and later on there should be one more call to 'personality', like this: 18406 personality(0xffffffff) = 0x40000 (PER_LINUX|ADDR_NO_RANDOMIZE) If it doesn't look like this, please investigate why, by using GDB. 2. What filesystem are you building in, and does it support xattrs? What is the output of the following in your build directory? touch x setfattr -n user.variable -v value x getfattr -n user.variable x 3. What is the output of "getfattr -d src/temacs"? It should be something like this: # file: src/temacs user.pax.flags="er" If not, we need to figure out why not. 4. The output of 'make V=1' should contain something like the following. If not, please investigate why not. setfattr -n user.pax.flags -v er temacs