From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.bugs Subject: bug#32083: 26.1.50; temacs bootstrap execs itself forever on alpha-unknown-linux-gnu Date: Sun, 8 Jul 2018 00:30:28 +0200 Message-ID: <23361.16132.326783.361714@a1i15.kph.uni-mainz.de> References: <23360.56342.941119.625335@a1i15.kph.uni-mainz.de> <23360.58595.802485.895922@a1i15.kph.uni-mainz.de> <75b469a6-1b85-61e5-9f37-de76c59754e3@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1531002560 9993 195.159.176.226 (7 Jul 2018 22:29:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 7 Jul 2018 22:29:20 +0000 (UTC) Cc: 32083@debbugs.gnu.org, Tobias Klausmann To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 08 00:29:15 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 1fbvhZ-0002SN-CR for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Jul 2018 00:29:13 +0200 Original-Received: from localhost ([::1]:35083 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fbvje-0008G2-TJ for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 Jul 2018 18:31:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50364) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fbvjQ-0008Cc-Jn for bug-gnu-emacs@gnu.org; Sat, 07 Jul 2018 18:31:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fbvjL-0004QC-O7 for bug-gnu-emacs@gnu.org; Sat, 07 Jul 2018 18:31:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42633) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fbvjL-0004Q5-KW for bug-gnu-emacs@gnu.org; Sat, 07 Jul 2018 18:31:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fbvjL-00005H-Ey for bug-gnu-emacs@gnu.org; Sat, 07 Jul 2018 18:31:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ulrich Mueller Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Jul 2018 22:31:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32083 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 32083-submit@debbugs.gnu.org id=B32083.153100264132728 (code B ref 32083); Sat, 07 Jul 2018 22:31:03 +0000 Original-Received: (at 32083) by debbugs.gnu.org; 7 Jul 2018 22:30:41 +0000 Original-Received: from localhost ([127.0.0.1]:50525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fbviy-0008Vo-Sl for submit@debbugs.gnu.org; Sat, 07 Jul 2018 18:30:41 -0400 Original-Received: from smtp.gentoo.org ([140.211.166.183]:42360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fbvix-0008Vb-Aj for 32083@debbugs.gnu.org; Sat, 07 Jul 2018 18:30:39 -0400 Original-Received: from a1i15.kph.uni-mainz.de (host2092.kph.uni-mainz.de [134.93.134.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: ulm) by smtp.gentoo.org (Postfix) with ESMTPSA id 2B8F0335C76; Sat, 7 Jul 2018 22:30:32 +0000 (UTC) In-Reply-To: <75b469a6-1b85-61e5-9f37-de76c59754e3@cs.ucla.edu> X-Mailer: VM 8.2.0b under 24.3.1 (x86_64-pc-linux-gnu) 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:148320 Archived-At: >>>>> On Sat, 7 Jul 2018, Paul Eggert wrote: > Thanks for the bug report. Please try the attached patch; if it > works around the bug for you, I'll install it on the emacs-26 branch > and it should appear in the next Emacs release. Thank you. The patch fixes the problem here. > It would also be helpful to file a bug report with the Alpha Linux > kernel folks, as there does seem to be a kernel bug here (or at > least, an unexpected inconsistency with x86-64 with respect to how > process personalities survive exec). Indeed it is different. In Linux, the SET_PERSONALITY macro in arch/alpha/include/asm/elf.h simply does: set_personality(PER_LINUX) whereas elsewhere (e.g., ppc) the same macro has additional masking (with PER_MASK being the lowest 8 bits, so ADDR_NO_RANDOMIZE would be preserved): set_personality(PER_LINUX | (current->personality & (~PER_MASK))) We'll investigate and report a bug to Linux upstream.