unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alex Gramiak <agrambot@gmail.com>
To: emacs-devel@gnu.org
Subject: Errors building from master with a clean repository
Date: Thu, 18 Apr 2019 13:21:08 -0600	[thread overview]
Message-ID: <87ef5z9l23.fsf@gmail.com> (raw)

Building with:
./configure --enable-checking=all --enable-check-lisp-object-type \
CFLAGS='-Og -gdwarf-4'

Results in errors (included below).

Also, I have two new warnings:

term.c: In function ‘term_get_fkeys_1’:
term.c:1410:25: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 3 [-Wformat-overflow=]
        sprintf (fkey, "f%d", i);
                         ^~
term.c:1410:23: note: directive argument in the range [-2147483648, 63]
        sprintf (fkey, "f%d", i);
                       ^~~~~
In file included from /usr/include/stdio.h:873,
                 from ../lib/stdio.h:43,
                 from termchar.h:22,
                 from term.c:31:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 3 and 13 bytes into a destination of size 4
   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       __bos (__s), __fmt, __va_arg_pack ());


In file included from filelock.c:48:
filelock.c: In function ‘get_boot_time’:
filelock.c:197:8: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 6 [-Wformat-overflow=]
        sprintf (cmd_string, "%s.%d", WTMP_FILE, counter));
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lisp.h:4967:34: note: in definition of macro ‘AUTO_STRING_WITH_LEN’
      : make_unibyte_string (str, len))
                                  ^~~
filelock.c:197:8: note: directive argument in the range [-2147483648, 19]
        sprintf (cmd_string, "%s.%d", WTMP_FILE, counter));
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lisp.h:4967:34: note: in definition of macro ‘AUTO_STRING_WITH_LEN’
      : make_unibyte_string (str, len))
                                  ^~~
In file included from /usr/include/stdio.h:873,
                 from ../lib/stdio.h:43,
                 from filelock.c:29:
/usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 16 and 26 bytes into a destination of size 20
   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       __bos (__s), __fmt, __va_arg_pack ());


--------------------------------


 GEN      dmpstruct.h
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
-r: No such file or directory
  CC       pdumper.o
pdumper.c: In function ‘dump_cons’:
pdumper.c:2036:3: error: #error "Lisp_Cons changed. See CHECK_STRUCTS comment."
 # error "Lisp_Cons changed. See CHECK_STRUCTS comment."
   ^~~~~
pdumper.c: In function ‘dump_interval_tree’:
pdumper.c:2051:3: error: #error "interval changed. See CHECK_STRUCTS comment."
 # error "interval changed. See CHECK_STRUCTS comment."
   ^~~~~
pdumper.c: In function ‘dump_string’:
pdumper.c:2095:3: error: #error "Lisp_String changed. See CHECK_STRUCTS comment."
 # error "Lisp_String changed. See CHECK_STRUCTS comment."
   ^~~~~
pdumper.c: In function ‘dump_marker’:
pdumper.c:2141:3: error: #error "Lisp_Marker changed. See CHECK_STRUCTS comment."
 # error "Lisp_Marker changed. See CHECK_STRUCTS comment."
   ^~~~~
pdumper.c: In function ‘dump_overlay’:
pdumper.c:2164:3: error: #error "Lisp_Overlay changed. See CHECK_STRUCTS comment."
 # error "Lisp_Overlay changed. See CHECK_STRUCTS comment."
   ^~~~~
pdumper.c: In function ‘dump_finalizer’:
pdumper.c:2192:3: error: #error "Lisp_Finalizer changed. See CHECK_STRUCTS comment."
 # error "Lisp_Finalizer changed. See CHECK_STRUCTS comment."
   ^~~~~
pdumper.c: In function ‘dump_bignum’:
pdumper.c:2214:3: error: #error "Lisp_Bignum changed. See CHECK_STRUCTS comment."
 # error "Lisp_Bignum changed. See CHECK_STRUCTS comment."
   ^~~~~
pdumper.c: In function ‘dump_float’:
pdumper.c:2252:3: error: #error "Lisp_Float changed. See CHECK_STRUCTS comment."
 # error "Lisp_Float changed. See CHECK_STRUCTS comment."
   ^~~~~
pdumper.c: In function ‘dump_fwd_int’:
pdumper.c:2265:3: error: #error "Lisp_Intfwd changed. See CHECK_STRUCTS comment."
 # error "Lisp_Intfwd changed. See CHECK_STRUCTS comment."
   ^~~~~
pdumper.c: In function ‘dump_fwd_bool’:
pdumper.c:2279:3: error: #error "Lisp_Boolfwd changed. See CHECK_STRUCTS comment."
 # error "Lisp_Boolfwd changed. See CHECK_STRUCTS comment."
   ^~~~~
pdumper.c: In function ‘dump_fwd_obj’:
pdumper.c:2293:3: error: #error "Lisp_Objfwd changed. See CHECK_STRUCTS comment."
 # error "Lisp_Objfwd changed. See CHECK_STRUCTS comment."
   ^~~~~
pdumper.c: In function ‘dump_fwd_buffer_obj’:
pdumper.c:2311:3: error: #error "Lisp_Buffer_Objfwd changed. See CHECK_STRUCTS comment."
 # error "Lisp_Buffer_Objfwd changed. See CHECK_STRUCTS comment."
   ^~~~~
pdumper.c: In function ‘dump_fwd_kboard_obj’:
pdumper.c:2327:3: error: #error "Lisp_Intfwd changed. See CHECK_STRUCTS comment."
 # error "Lisp_Intfwd changed. See CHECK_STRUCTS comment."
   ^~~~~
pdumper.c: In function ‘dump_fwd’:
pdumper.c:2340:3: error: #error "Lisp_Fwd_Type changed. See CHECK_STRUCTS comment."
 # error "Lisp_Fwd_Type changed. See CHECK_STRUCTS comment."
   ^~~~~
pdumper.c: In function ‘dump_blv’:
pdumper.c:2374:3: error: #error "Lisp_Buffer_Local_Value changed. See CHECK_STRUCTS comment."
 # error "Lisp_Buffer_Local_Value changed. See CHECK_STRUCTS comment."
   ^~~~~
pdumper.c: In function ‘dump_symbol’:
pdumper.c:2439:3: error: #error "Lisp_Symbol changed. See CHECK_STRUCTS comment."
 # error "Lisp_Symbol changed. See CHECK_STRUCTS comment."
   ^~~~~
pdumper.c:2442:3: error: #error "symbol_redirect changed. See CHECK_STRUCTS comment."
 # error "symbol_redirect changed. See CHECK_STRUCTS comment."
   ^~~~~
pdumper.c: In function ‘dump_vectorlike_generic’:
pdumper.c:2535:3: error: #error "vectorlike_header changed. See CHECK_STRUCTS comment."
 # error "vectorlike_header changed. See CHECK_STRUCTS comment."
   ^~~~~
pdumper.c: In function ‘dump_hash_table’:
pdumper.c:2695:3: error: #error "Lisp_Hash_Table changed. See CHECK_STRUCTS comment."
 # error "Lisp_Hash_Table changed. See CHECK_STRUCTS comment."
   ^~~~~
pdumper.c: In function ‘dump_buffer’:
pdumper.c:2763:3: error: #error "buffer changed. See CHECK_STRUCTS comment."
 # error "buffer changed. See CHECK_STRUCTS comment."
   ^~~~~
pdumper.c: In function ‘dump_bool_vector’:
pdumper.c:2899:3: error: #error "Lisp_Vector changed. See CHECK_STRUCTS comment."
 # error "Lisp_Vector changed. See CHECK_STRUCTS comment."
   ^~~~~
pdumper.c: In function ‘dump_subr’:
pdumper.c:2916:3: error: #error "Lisp_Subr changed. See CHECK_STRUCTS comment."
 # error "Lisp_Subr changed. See CHECK_STRUCTS comment."
   ^~~~~
pdumper.c: In function ‘dump_vectorlike’:
pdumper.c:2955:3: error: #error "pvec_type changed. See CHECK_STRUCTS comment."
 # error "pvec_type changed. See CHECK_STRUCTS comment."
   ^~~~~
pdumper.c: In function ‘dump_object’:
pdumper.c:3065:3: error: #error "Lisp_Type changed. See CHECK_STRUCTS comment."
 # error "Lisp_Type changed. See CHECK_STRUCTS comment."
   ^~~~~
pdumper.c: In function ‘dump_charset’:
pdumper.c:3170:3: error: #error "charset changed. See CHECK_STRUCTS comment."
 # error "charset changed. See CHECK_STRUCTS comment."
   ^~~~~
make[1]: *** [Makefile:394: pdumper.o] Error 1
make[1]: Leaving directory '/home/alex/emacs-other/src'
make: *** [Makefile:423: src] Error 2



             reply	other threads:[~2019-04-18 19:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-18 19:21 Alex Gramiak [this message]
2019-04-20  1:05 ` Errors building from master with a clean repository Paul Eggert
2019-04-20  6:48   ` Eli Zaretskii
2019-04-22  6:22     ` Paul Eggert
2019-04-22  7:45       ` Eli Zaretskii
2019-04-23  0:31         ` Paul Eggert
2019-04-23  6:05           ` Eli Zaretskii
2019-04-20 16:10   ` Alex Gramiak

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87ef5z9l23.fsf@gmail.com \
    --to=agrambot@gmail.com \
    --cc=emacs-devel@gnu.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 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).