all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Jeremie Courreges-Anglas <jca@wxcvbn.org>
Cc: 29005@debbugs.gnu.org
Subject: bug#29005: 26.0.90; crashes at build time on OpenBSD/arm
Date: Thu, 26 Oct 2017 17:35:57 -0700	[thread overview]
Message-ID: <9c31a248-1957-f789-0591-c4c5d6a7835f@cs.ucla.edu> (raw)
In-Reply-To: <87wp3i4g8c.fsf@ritchie.wxcvbn.org>

[-- Attachment #1: Type: text/plain, Size: 108 bytes --]

Thanks for reporting that. I installed the attached patch into the 
emacs-26 branch; please give it a try.


[-- Attachment #2: 0001-Port-thread.c-to-OpenBSD-ARM.patch --]
[-- Type: text/x-patch, Size: 803 bytes --]

From 015f0bb2d85475bb952d6287d09b45932d7d215b Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Thu, 26 Oct 2017 17:31:41 -0700
Subject: [PATCH] Port thread.c to OpenBSD ARM

Problem reported by Jeremie Courreges-Anglas (Bug#29005).
* src/thread.c (main_thread): Align to GCALIGNMENT.
---
 src/thread.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/thread.c b/src/thread.c
index c03cdda0fa..6f12d796ff 100644
--- a/src/thread.c
+++ b/src/thread.c
@@ -26,7 +26,7 @@ along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.  */
 #include "coding.h"
 #include "syssignal.h"
 
-static struct thread_state main_thread;
+static struct thread_state alignas (GCALIGNMENT) main_thread;
 
 struct thread_state *current_thread = &main_thread;
 
-- 
2.14.1


  reply	other threads:[~2017-10-27  0:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-26  5:42 bug#29005: 26.0.90; crashes at build time on OpenBSD/arm Jeremie Courreges-Anglas
2017-10-27  0:35 ` Paul Eggert [this message]
2017-10-27 10:06   ` Jeremie Courreges-Anglas

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

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

  git send-email \
    --in-reply-to=9c31a248-1957-f789-0591-c4c5d6a7835f@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=29005@debbugs.gnu.org \
    --cc=jca@wxcvbn.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.