From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Han Boetes Newsgroups: gmane.emacs.bugs Subject: bug#22585: error: #error "alignas not defined" Date: Sun, 7 Feb 2016 18:02:29 +0100 Message-ID: <20160207170229.GS11032@boetes.org> References: <86d1s81o9g.fsf@boetes.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1454864607 30150 80.91.229.3 (7 Feb 2016 17:03:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Feb 2016 17:03:27 +0000 (UTC) To: 22585@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 07 18:03:17 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aSSjw-0005W3-KT for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Feb 2016 18:03:12 +0100 Original-Received: from localhost ([::1]:36453 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSSjw-00007G-6A for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Feb 2016 12:03:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSSjr-00006q-Pc for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 12:03:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSSjm-0007vz-O4 for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 12:03:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57022) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSSjm-0007vv-G5 for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 12:03:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aSSjm-00013k-2a for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 12:03:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <86d1s81o9g.fsf@boetes.org> Resent-From: Han Boetes Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Feb 2016 17:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22585 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22585-submit@debbugs.gnu.org id=B22585.14548645564038 (code B ref 22585); Sun, 07 Feb 2016 17:03:02 +0000 Original-Received: (at 22585) by debbugs.gnu.org; 7 Feb 2016 17:02:36 +0000 Original-Received: from localhost ([127.0.0.1]:37378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSSjL-000134-FS for submit@debbugs.gnu.org; Sun, 07 Feb 2016 12:02:35 -0500 Original-Received: from boetes.org ([149.210.139.48]:21148 helo=difool.boetes.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSSjJ-00012t-8x for 22585@debbugs.gnu.org; Sun, 07 Feb 2016 12:02:34 -0500 X-boetes-org-MailScanner-From: han@boetes.org X-boetes-org-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=0.109, required 5, DKIM_SIGNED 0.10, NO_RELAYS -0.00, T_DKIM_INVALID 0.01) X-boetes-org-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-boetes-org-MailScanner-ID: 31FC32CC87.A0EB9 X-boetes-org-MailScanner-Information: Please contact the ISP for more information Original-Received: by difool.boetes.org (Postfix, from userid 1001) id 31FC32CC87; Sun, 7 Feb 2016 18:02:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=boetes.org; s=20111208; t=1454864549; bh=QNHW3j0671vICqeZlTvw/iJpvTZkMabl6qIBJFfy2bw=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type; b=Ojlb3gZQAvQCl7BjjeFGCXHON4t/kVo5H2h6iF4u2xBh7zK3qcTjwhCHMLBQf93Lx SFz2c7kcqlxTTskA2VhG51YBjC+dJh9RB007FfiYFMYRUEtMZpnngS1IHPktpQOEcd 2TXUeoIMWPzW2B2/YWwxalb4F73PJpWUOzRoZCuw= Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:112630 Archived-At: I think I pressed the wrong button... Anyway... I just checked out emacs from git and ran bootstrap which failed. After running a consecutive run of gmake, this is the output: gmake -C lib all gmake[1]: Entering directory '/mega/home/han/src/Emacs/openbsd/lib' gmake all-am gmake[2]: Entering directory '/mega/home/han/src/Emacs/openbsd/lib' gmake[2]: Nothing to be done for 'all-am'. gmake[2]: Leaving directory '/mega/home/han/src/Emacs/openbsd/lib' gmake[1]: Leaving directory '/mega/home/han/src/Emacs/openbsd/lib' gmake -C lib-src all gmake[1]: Entering directory '/mega/home/han/src/Emacs/openbsd/lib-src' gmake[1]: Nothing to be done for 'all'. gmake[1]: Leaving directory '/mega/home/han/src/Emacs/openbsd/lib-src' gmake -C src VCSWITNESS='$(srcdir)/../.git/logs/HEAD' all gmake[1]: Entering directory '/mega/home/han/src/Emacs/openbsd/src' CC dispnew.o In file included from /mega/home/han/src/Emacs/emacs/src/dispnew.c:26:0: /mega/home/han/src/Emacs/emacs/src/lisp.h:281:3: error: #error "alignas not defined" # error "alignas not defined" ^ /mega/home/han/src/Emacs/emacs/src/lisp.h:243:21: error: expected declaration specifiers or '...' before numeric constant #define GCALIGNMENT 8 ^ ./globals.h:928:29: note: in expansion of macro 'GCALIGNMENT' struct Lisp_Symbol alignas (GCALIGNMENT) lispsym[947]; ^ /mega/home/han/src/Emacs/emacs/src/lisp.h: In function 'XSYMBOL': /mega/home/han/src/Emacs/emacs/src/lisp.h:361:20: error: 'lispsym' undeclared (first use in this function) + (char *) lispsym)) ^ /mega/home/han/src/Emacs/emacs/src/lisp.h:875:10: note: in expansion of macro 'lisp_h_XSYMBOL' return lisp_h_XSYMBOL (a); ^ /mega/home/han/src/Emacs/emacs/src/lisp.h:361:20: note: each undeclared identifier is reported only once for each function it appears in + (char *) lispsym)) ^ /mega/home/han/src/Emacs/emacs/src/lisp.h:875:10: note: in expansion of macro 'lisp_h_XSYMBOL' return lisp_h_XSYMBOL (a); ^ /mega/home/han/src/Emacs/emacs/src/lisp.h: In function 'make_lisp_symbol': /mega/home/han/src/Emacs/emacs/src/lisp.h:1122:63: error: 'lispsym' undeclared (first use in this function) Lisp_Object a = XIL (TAG_SYMOFFSET ((char *) sym - (char *) lispsym)); ^ /mega/home/han/src/Emacs/emacs/src/lisp.h:731:18: note: in definition of macro 'TAG_PTR' ? (intptr_t) (ptr) + (tag) \ ^ /mega/home/han/src/Emacs/emacs/src/lisp.h:1122:24: note: in expansion of macro 'TAG_SYMOFFSET' Lisp_Object a = XIL (TAG_SYMOFFSET ((char *) sym - (char *) lispsym)); ^ In file included from /mega/home/han/src/Emacs/emacs/src/dispnew.c:26:0: /mega/home/han/src/Emacs/emacs/src/lisp.h: In function 'builtin_lisp_symbol': /mega/home/han/src/Emacs/emacs/src/lisp.h:1130:28: error: 'lispsym' undeclared (first use in this function) return make_lisp_symbol (lispsym + index); ^ In file included from /mega/home/han/src/Emacs/emacs/src/dispnew.c:26:0: /mega/home/han/src/Emacs/emacs/src/lisp.h: At top level: /mega/home/han/src/Emacs/emacs/src/lisp.h:741:69: error: 'lispsym' undeclared here (not in a function) #define XLI_BUILTIN_LISPSYM(iname) TAG_SYMOFFSET ((iname) * sizeof *lispsym) ^ /mega/home/han/src/Emacs/emacs/src/lisp.h:731:18: note: in definition of macro 'TAG_PTR' ? (intptr_t) (ptr) + (tag) \ ^ /mega/home/han/src/Emacs/emacs/src/lisp.h:741:36: note: in expansion of macro 'TAG_SYMOFFSET' #define XLI_BUILTIN_LISPSYM(iname) TAG_SYMOFFSET ((iname) * sizeof *lispsym) ^ /mega/home/han/src/Emacs/emacs/src/lisp.h:1590:22: note: in expansion of macro 'XLI_BUILTIN_LISPSYM' enum { NIL_IS_ZERO = XLI_BUILTIN_LISPSYM (iQnil) == 0 }; ^ In file included from /mega/home/han/src/Emacs/emacs/src/lisp.h:33:0, from /mega/home/han/src/Emacs/emacs/src/dispnew.c:26: /mega/home/han/src/Emacs/emacs/src/lisp.h: In function 'memclear': /mega/home/han/src/Emacs/emacs/lib/verify.h:207:21: error: static assertion failed: "verify (NIL_IS_ZERO)" # define _GL_VERIFY _Static_assert ^ /mega/home/han/src/Emacs/emacs/lib/verify.h:251:19: note: in expansion of macro '_GL_VERIFY' #define verify(R) _GL_VERIFY (R, "verify (" #R ")") ^ /mega/home/han/src/Emacs/emacs/src/lisp.h:1598:3: note: in expansion of macro 'verify' verify (NIL_IS_ZERO); ^ In file included from /mega/home/han/src/Emacs/emacs/src/dispnew.c:26:0: /mega/home/han/src/Emacs/emacs/src/dispnew.c: At top level: /mega/home/han/src/Emacs/emacs/src/lisp.h:243:21: error: expected declaration specifiers or '...' before numeric constant #define GCALIGNMENT 8 ^ /mega/home/han/src/Emacs/emacs/src/lisp.h:2978:37: note: in expansion of macro 'GCALIGNMENT' static struct Lisp_Subr alignas (GCALIGNMENT) sname = \ ^ /mega/home/han/src/Emacs/emacs/src/dispnew.c:3011:1: note: in expansion of macro 'DEFUN' DEFUN ("redraw-frame", Fredraw_frame, Sredraw_frame, 0, 1, 0, ^ /mega/home/han/src/Emacs/emacs/src/lisp.h:243:21: error: expected declaration specifiers or '...' before numeric constant #define GCALIGNMENT 8 ^ /mega/home/han/src/Emacs/emacs/src/lisp.h:2978:37: note: in expansion of macro 'GCALIGNMENT' static struct Lisp_Subr alignas (GCALIGNMENT) sname = \ ^ /mega/home/han/src/Emacs/emacs/src/dispnew.c:3020:1: note: in expansion of macro 'DEFUN' DEFUN ("redraw-display", Fredraw_display, Sredraw_display, 0, 0, "", ^ /mega/home/han/src/Emacs/emacs/src/lisp.h:243:21: error: expected declaration specifiers or '...' before numeric constant #define GCALIGNMENT 8 ^ /mega/home/han/src/Emacs/emacs/src/lisp.h:2978:37: note: in expansion of macro 'GCALIGNMENT' static struct Lisp_Subr alignas (GCALIGNMENT) sname = \ ^ /mega/home/han/src/Emacs/emacs/src/dispnew.c:5549:1: note: in expansion of macro 'DEFUN' DEFUN ("open-termscript", Fopen_termscript, Sopen_termscript, ^ /mega/home/han/src/Emacs/emacs/src/lisp.h:243:21: error: expected declaration specifiers or '...' before numeric constant #define GCALIGNMENT 8 ^ /mega/home/han/src/Emacs/emacs/src/lisp.h:2978:37: note: in expansion of macro 'GCALIGNMENT' static struct Lisp_Subr alignas (GCALIGNMENT) sname = \ ^ /mega/home/han/src/Emacs/emacs/src/dispnew.c:5582:1: note: in expansion of macro 'DEFUN' DEFUN ("send-string-to-terminal", Fsend_string_to_terminal, ^ /mega/home/han/src/Emacs/emacs/src/lisp.h:243:21: error: expected declaration specifiers or '...' before numeric constant #define GCALIGNMENT 8 ^ /mega/home/han/src/Emacs/emacs/src/lisp.h:2978:37: note: in expansion of macro 'GCALIGNMENT' static struct Lisp_Subr alignas (GCALIGNMENT) sname = \ ^ /mega/home/han/src/Emacs/emacs/src/dispnew.c:5625:1: note: in expansion of macro 'DEFUN' DEFUN ("ding", Fding, Sding, 0, 1, 0, ^ /mega/home/han/src/Emacs/emacs/src/lisp.h:243:21: error: expected declaration specifiers or '...' before numeric constant #define GCALIGNMENT 8 ^ /mega/home/han/src/Emacs/emacs/src/lisp.h:2978:37: note: in expansion of macro 'GCALIGNMENT' static struct Lisp_Subr alignas (GCALIGNMENT) sname = \ ^ /mega/home/han/src/Emacs/emacs/src/dispnew.c:5665:1: note: in expansion of macro 'DEFUN' DEFUN ("sleep-for", Fsleep_for, Ssleep_for, 1, 2, 0, ^ /mega/home/han/src/Emacs/emacs/src/lisp.h:243:21: error: expected declaration specifiers or '...' before numeric constant #define GCALIGNMENT 8 ^ /mega/home/han/src/Emacs/emacs/src/lisp.h:2978:37: note: in expansion of macro 'GCALIGNMENT' static struct Lisp_Subr alignas (GCALIGNMENT) sname = \ ^ /mega/home/han/src/Emacs/emacs/src/dispnew.c:5765:1: note: in expansion of macro 'DEFUN' DEFUN ("redisplay", Fredisplay, Sredisplay, 0, 1, 0, ^ /mega/home/han/src/Emacs/emacs/src/lisp.h:243:21: error: expected declaration specifiers or '...' before numeric constant #define GCALIGNMENT 8 ^ /mega/home/han/src/Emacs/emacs/src/lisp.h:2978:37: note: in expansion of macro 'GCALIGNMENT' static struct Lisp_Subr alignas (GCALIGNMENT) sname = \ ^ /mega/home/han/src/Emacs/emacs/src/dispnew.c:5805:1: note: in expansion of macro 'DEFUN' DEFUN ("frame-or-buffer-changed-p", Fframe_or_buffer_changed_p, ^ /mega/home/han/src/Emacs/emacs/src/lisp.h:243:21: error: expected declaration specifiers or '...' before numeric constant #define GCALIGNMENT 8 ^ /mega/home/han/src/Emacs/emacs/src/lisp.h:2978:37: note: in expansion of macro 'GCALIGNMENT' static struct Lisp_Subr alignas (GCALIGNMENT) sname = \ ^ /mega/home/han/src/Emacs/emacs/src/dispnew.c:6137:1: note: in expansion of macro 'DEFUN' DEFUN ("internal-show-cursor", Finternal_show_cursor, ^ /mega/home/han/src/Emacs/emacs/src/lisp.h:243:21: error: expected declaration specifiers or '...' before numeric constant #define GCALIGNMENT 8 ^ /mega/home/han/src/Emacs/emacs/src/lisp.h:2978:37: note: in expansion of macro 'GCALIGNMENT' static struct Lisp_Subr alignas (GCALIGNMENT) sname = \ ^ /mega/home/han/src/Emacs/emacs/src/dispnew.c:6153:1: note: in expansion of macro 'DEFUN' DEFUN ("internal-show-cursor-p", Finternal_show_cursor_p, ^ /mega/home/han/src/Emacs/emacs/src/dispnew.c: In function 'syms_of_display': /mega/home/han/src/Emacs/emacs/src/dispnew.c:6169:13: error: 'Sredraw_frame' undeclared (first use in this function) defsubr (&Sredraw_frame); ^ /mega/home/han/src/Emacs/emacs/src/dispnew.c:6170:13: error: 'Sredraw_display' undeclared (first use in this function) defsubr (&Sredraw_display); ^ /mega/home/han/src/Emacs/emacs/src/dispnew.c:6171:13: error: 'Sframe_or_buffer_changed_p' undeclared (first use in this function) defsubr (&Sframe_or_buffer_changed_p); ^ /mega/home/han/src/Emacs/emacs/src/dispnew.c:6172:13: error: 'Sopen_termscript' undeclared (first use in this function) defsubr (&Sopen_termscript); ^ /mega/home/han/src/Emacs/emacs/src/dispnew.c:6173:13: error: 'Sding' undeclared (first use in this function) defsubr (&Sding); ^ /mega/home/han/src/Emacs/emacs/src/dispnew.c:6174:13: error: 'Sredisplay' undeclared (first use in this function) defsubr (&Sredisplay); ^ /mega/home/han/src/Emacs/emacs/src/dispnew.c:6175:13: error: 'Ssleep_for' undeclared (first use in this function) defsubr (&Ssleep_for); ^ /mega/home/han/src/Emacs/emacs/src/dispnew.c:6176:13: error: 'Ssend_string_to_terminal' undeclared (first use in this function) defsubr (&Ssend_string_to_terminal); ^ /mega/home/han/src/Emacs/emacs/src/dispnew.c:6177:13: error: 'Sinternal_show_cursor' undeclared (first use in this function) defsubr (&Sinternal_show_cursor); ^ /mega/home/han/src/Emacs/emacs/src/dispnew.c:6178:13: error: 'Sinternal_show_cursor_p' undeclared (first use in this function) defsubr (&Sinternal_show_cursor_p); ^ Makefile:379: recipe for target 'dispnew.o' failed gmake[1]: *** [dispnew.o] Error 1 gmake[1]: Leaving directory '/mega/home/han/src/Emacs/openbsd/src' Makefile:394: recipe for target 'src' failed gmake: *** [src] Error 2