unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#22585: 25.1.50; error: #error "alignas not defined"
@ 2016-02-07 16:25 Han Boetes
  2016-02-07 17:02 ` bug#22585: " Han Boetes
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Han Boetes @ 2016-02-07 16:25 UTC (permalink / raw)
  To: 22585






In GNU Emacs 25.1.50.1 (x86_64-unknown-openbsd5.8)
 of 2016-01-09 built on difool
Repository revision: 384cf23c6ed05e1f151032958a2cc2bb8100344b
Configured using:
 'configure --prefix=/usr/local --mandir=/usr/local/man
 --infodir=/usr/local/info --without-sound --without-jpeg --with-xpm
 --without-gif --without-x CC=/usr/local/bin/egcc 'CFLAGS=-pipe -O2''

Configured features:
NOTIFY GNUTLS LIBXML2 ZLIB

Important settings:
  value of $LC_ALL: en_US.UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: C/l

Minor modes in effect:
  shell-dirtrack-mode: t
  diff-auto-refine-mode: t
  global-edit-server-edit-mode: t
  icomplete-mode: t
  show-paren-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Recent messages:
Note: file is write protected
When done with a buffer, type C-x # [2 times]
When done with this frame, type C-x 5 0
delete-backward-char: Beginning of buffer
delete-backward-char: Text is read-only
Making completion list...
Quit
Type C-x 1 to remove help window.
Type "q" in help window to restore its previous buffer.
Making completion list... [2 times]

Load-path shadows:
/usr/local/share/emacs/25.1.50/lisp/tempo hides ~/.emacs.d/lisp/tempo
/usr/local/share/emacs/25.1.50/lisp/progmodes/python hides ~/.emacs.d/lisp/python
/usr/local/share/emacs/25.1.50/lisp/obsolete/longlines hides ~/.emacs.d/lisp/longlines
/usr/local/share/emacs/25.1.50/lisp/textmodes/css-mode hides ~/.emacs.d/lisp/css-mode
/mega/home/han/.emacs.d/elpa/crontab-mode-20090510.1355/crontab-mode hides ~/.emacs.d/lisp/crontab-mode

Features:
(shadow sort mail-extr emacsbug eieio-opt speedbar sb-image ezimage
dframe find-func apropos autorevert filenotify log4j-mode advice
git-commit-mode log-edit pcvs-util add-log make-mode crontab-mode
lisp-mnt mm-archive message idna sendmail dired dired-loaddefs
format-spec rfc822 mml mml-sec mailabbrev gmm-utils mailheader mm-decode
mm-bodies mm-encode mail-utils network-stream nsm starttls url-http tls
gnutls mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-gw puny
url-cache url-auth url url-proxy url-privacy url-expand url-methods
url-history url-cookie url-domsuf url-util mailcap epg rect muttrc-mode
man shell pcomplete grep compile comint ansi-color ring tar-mode
jka-compr parse-time vc-cvs cc-mode cc-fonts cc-guess cc-menus cc-cmds
cc-styles cc-align cc-engine cc-vars cc-defs conf-mode character-fold
misearch multi-isearch vc vc-dispatcher vc-git diff-mode generic image
sh-script smie executable nuke-whitespace seq post term/xterm xterm
server pager auto-recomp cl session generic-x yaml-mode derived
regexp-opt edit-server easy-mmode edmacro kmacro icomplete finder-inf
info tool-bar tex-site package epg-config url-handlers url-parse
auth-source cl-seq eieio byte-opt bytecomp byte-compile cl-extra cconv
eieio-core cl-macs gv eieio-loaddefs gnus-util mm-util help-fns
help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr password-cache
url-vars time-date paren mule-util tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type tabulated-list newcomment elisp-mode
lisp-mode prog-mode register page menu-bar rfn-eshadow timer select
mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese charscript case-table epa-hook
jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote kqueue multi-tty make-network-process
emacs)

Memory information:
((conses 16 813781 142555)
 (symbols 48 32187 2)
 (miscs 40 170 817)
 (strings 32 109440 12421)
 (string-bytes 1 3169676)
 (vectors 16 42741)
 (vector-slots 8 1580660 65309)
 (floats 8 305 1174)
 (intervals 56 94773 16176)
 (buffers 976 24))

--



# Han
--
OpenBSD: Only two remote       ,`o.  Men freely believe that what they
holes in the default install >( ,c@  wish to desire. — Julius Caesar
in a heck of a long time!     ',,,'





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#22585: error: #error "alignas not defined"
  2016-02-07 16:25 bug#22585: 25.1.50; error: #error "alignas not defined" Han Boetes
@ 2016-02-07 17:02 ` Han Boetes
  2016-02-07 18:22   ` Glenn Morris
  2016-02-10  2:25 ` bug#22585: 25.1.50; " Paul Eggert
       [not found] ` <handler.22585.D22585.145507116530621.notifdone@debbugs.gnu.org>
  2 siblings, 1 reply; 5+ messages in thread
From: Han Boetes @ 2016-02-07 17:02 UTC (permalink / raw)
  To: 22585

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





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#22585: error: #error "alignas not defined"
  2016-02-07 17:02 ` bug#22585: " Han Boetes
@ 2016-02-07 18:22   ` Glenn Morris
  0 siblings, 0 replies; 5+ messages in thread
From: Glenn Morris @ 2016-02-07 18:22 UTC (permalink / raw)
  To: Han Boetes; +Cc: 22585


Same issue at http://hydra.nixos.org/build/31660580





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#22585: 25.1.50; error: #error "alignas not defined"
  2016-02-07 16:25 bug#22585: 25.1.50; error: #error "alignas not defined" Han Boetes
  2016-02-07 17:02 ` bug#22585: " Han Boetes
@ 2016-02-10  2:25 ` Paul Eggert
       [not found] ` <handler.22585.D22585.145507116530621.notifdone@debbugs.gnu.org>
  2 siblings, 0 replies; 5+ messages in thread
From: Paul Eggert @ 2016-02-10  2:25 UTC (permalink / raw)
  To: 22585-done; +Cc: Han Boetes

Should be fixed now, in commit f2e9d1b3847d43206e8b0d05e5b64335d2c0b36f.
Boldly marking this bug report as done; we can reopen it if I'm wrong.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#22585: closed (Re: 25.1.50; error: #error "alignas not defined")
       [not found] ` <handler.22585.D22585.145507116530621.notifdone@debbugs.gnu.org>
@ 2016-02-10  8:57   ` Han Boetes
  0 siblings, 0 replies; 5+ messages in thread
From: Han Boetes @ 2016-02-10  8:57 UTC (permalink / raw)
  To: 22585

thanks for fixing this issue. I just succesfully build emacs from git again.






^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-02-10  8:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-07 16:25 bug#22585: 25.1.50; error: #error "alignas not defined" Han Boetes
2016-02-07 17:02 ` bug#22585: " Han Boetes
2016-02-07 18:22   ` Glenn Morris
2016-02-10  2:25 ` bug#22585: 25.1.50; " Paul Eggert
     [not found] ` <handler.22585.D22585.145507116530621.notifdone@debbugs.gnu.org>
2016-02-10  8:57   ` bug#22585: closed (Re: 25.1.50; error: #error "alignas not defined") Han Boetes

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).