GNU bug report logs -
#32083
26.1.50; temacs bootstrap execs itself forever on alpha-unknown-linux-gnu
Previous Next
Reported by: Ulrich Mueller <ulm <at> gentoo.org>
Date: Sat, 7 Jul 2018 15:29:01 UTC
Severity: important
Tags: patch
Found in version 26.1.50
Done: Paul Eggert <eggert <at> cs.ucla.edu>
Bug is archived. No further changes may be made.
Full log
Message #18 received at 32083 <at> debbugs.gnu.org (full text, mbox):
>>>>> 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.
This bug report was last modified 6 years and 319 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.