From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#29005: 26.0.90; crashes at build time on OpenBSD/arm Date: Thu, 26 Oct 2017 17:35:57 -0700 Message-ID: <9c31a248-1957-f789-0591-c4c5d6a7835f@cs.ucla.edu> References: <87wp3i4g8c.fsf@ritchie.wxcvbn.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------A9FF98D3B79C43E22DD109A7" X-Trace: blaine.gmane.org 1509064636 6142 195.159.176.226 (27 Oct 2017 00:37:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 27 Oct 2017 00:37:16 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 Cc: 29005@debbugs.gnu.org To: Jeremie Courreges-Anglas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 27 02:37:08 2017 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 1e7se2-0000dJ-JG for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Oct 2017 02:37:06 +0200 Original-Received: from localhost ([::1]:55238 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7se9-00057Z-Vb for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Oct 2017 20:37:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50412) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7se2-00056b-Me for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2017 20:37:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e7sdz-0006kZ-Ac for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2017 20:37:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55345) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e7sdz-0006kP-5I for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2017 20:37:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e7sdy-0005zF-Un for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2017 20:37:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87wp3i4g8c.fsf@ritchie.wxcvbn.org> Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Oct 2017 00:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29005 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29005-submit@debbugs.gnu.org id=B29005.150906456922927 (code B ref 29005); Fri, 27 Oct 2017 00:37:02 +0000 Original-Received: (at 29005) by debbugs.gnu.org; 27 Oct 2017 00:36:09 +0000 Original-Received: from localhost ([127.0.0.1]:35789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e7sd7-0005xj-0J for submit@debbugs.gnu.org; Thu, 26 Oct 2017 20:36:09 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:38202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e7sd3-0005xD-9Q for 29005@debbugs.gnu.org; Thu, 26 Oct 2017 20:36:05 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 600AA160F35; Thu, 26 Oct 2017 17:35:59 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id UWkmu8PLneO6; Thu, 26 Oct 2017 17:35:58 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 5BD64160F5F; Thu, 26 Oct 2017 17:35:58 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id TG_-lNyPFdsG; Thu, 26 Oct 2017 17:35:58 -0700 (PDT) Original-Received: from [100.69.19.201] (unknown [12.129.159.195]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 3461A160F35; Thu, 26 Oct 2017 17:35:58 -0700 (PDT) Content-Language: en-US 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:139046 Archived-At: This is a multi-part message in MIME format. --------------A9FF98D3B79C43E22DD109A7 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Thanks for reporting that. I installed the attached patch into the emacs-26 branch; please give it a try. --------------A9FF98D3B79C43E22DD109A7 Content-Type: text/x-patch; name="0001-Port-thread.c-to-OpenBSD-ARM.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-Port-thread.c-to-OpenBSD-ARM.patch" >From 015f0bb2d85475bb952d6287d09b45932d7d215b Mon Sep 17 00:00:00 2001 From: Paul Eggert 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 . */ #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 --------------A9FF98D3B79C43E22DD109A7--