[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs-26 threads problem [win64]

From: Richard Copley
Subject: Re: Emacs-26 threads problem [win64]
Date: Fri, 13 Oct 2017 23:00:56 +0100

> I'm not sure how to resolve this issue, so ideas and comments on the
> analysis are welcome.

I think GCC's assumption that 0x40(%rbx) is 16-byte aligned derives
through some arithmetic from the assumption that the stack was 16-byte
aligned on entry. Can you try adding
    __attribute__ ((force_align_arg_pointer))
to the thread function?

__attribute__ ((force_align_arg_pointer))
static void *
run_thread (void *state)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]