unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ulrich Mueller <ulm@gentoo.org>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: 32083@debbugs.gnu.org, Tobias Klausmann <klausman@gentoo.org>
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	[thread overview]
Message-ID: <23361.16132.326783.361714@a1i15.kph.uni-mainz.de> (raw)
In-Reply-To: <75b469a6-1b85-61e5-9f37-de76c59754e3@cs.ucla.edu>

>>>>> 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.





  reply	other threads:[~2018-07-07 22:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-07 15:28 bug#32083: 26.1.50; temacs bootstrap execs itself forever on alpha-unknown-linux-gnu Ulrich Mueller
2018-07-07 16:05 ` Ulrich Mueller
2018-07-07 18:03   ` Paul Eggert
2018-07-07 22:30     ` Ulrich Mueller [this message]
2018-07-08 16:05       ` Paul Eggert
2018-07-08 18:51 ` Paul Eggert

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=23361.16132.326783.361714@a1i15.kph.uni-mainz.de \
    --to=ulm@gentoo.org \
    --cc=32083@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=klausman@gentoo.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).