help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building from source on 5.15.0-43-generic #46-Ubuntu x86_64 GNU/Linu


From: Andreas Röhler
Subject: Re: Building from source on 5.15.0-43-generic #46-Ubuntu x86_64 GNU/Linux
Date: Tue, 9 Aug 2022 12:42:33 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0


Am 09.08.22 um 11:10 schrieb Po Lu:
Andreas Röhler <andreas.roehler@easy-emacs.de> writes:

Hi,

while building from source of recent trunk and emacs-28.1 went fine,

fails on emacs-26.3 and emacs-27.2


WRT to the latter below the final messages from make:

Please use the emacs-26 and emacs-27 branches from the
repository instead.


Building after "git checkout emacs-27.2"

make sends the following errors:

make -C lib all
make[1]: Verzeichnis „/home/my-name/emacs-27.2/lib“ wird betreten
  CC       fingerprint.o
  CC       fcntl.o
  CC       fsusage.o
  CC       regex.o
  CC       sig2str.o
  CC       time_rz.o
  CC       acl-errno-valid.o
  CC       acl-internal.o
  CC       get-permissions.o
  CC       set-permissions.o
  CC       allocator.o
  CC       binary-io.o
  CC       c-ctype.o
  CC       c-strcasecmp.o
  CC       c-strncasecmp.o
  CC       careadlinkat.o
careadlinkat.c: In function ‘careadlinkat’:
cc1: warning: function may return address of local variable [-Wreturn-local-addr]
careadlinkat.c:73:8: note: declared here
   73 |   char stack_buf[1024];
      |        ^~~~~~~~~
  CC       close-stream.o
  CC       count-leading-zeros.o
  CC       count-one-bits.o
  CC       count-trailing-zeros.o
  CC       md5.o
  CC       sha1.o
  CC       sha256.o
  CC       sha512.o
  CC       dtoastr.o
  CC       dtotimespec.o
  CC       filemode.o
  CC       filevercmp.o
  CC       gettime.o
  CC       nstrftime.o
  CC       pipe2.o
  CC       qcopy-acl.o
  CC       stat-time.o
  CC       tempname.o
  CC       timespec.o
  CC       timespec-add.o
  CC       timespec-sub.o
  CC       u64.o
  CC       unistd.o
  CC       utimens.o
utimens.c: In function ‘fdutimens’:
utimens.c:382:17: warning: ‘update_timespec’ accessing 16 bytes in a region of size 8 [-Wstringop-overflow=]
  382 |       if (ts && update_timespec (&st, &ts))
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
utimens.c:382:17: note: referencing argument 2 of type ‘struct timespec **’
utimens.c:133:1: note: in a call to function ‘update_timespec’
  133 | update_timespec (struct stat const *statbuf, struct timespec *ts[2])
      | ^~~~~~~~~~~~~~~
utimens.c: In function ‘lutimens’:
utimens.c:595:17: warning: ‘update_timespec’ accessing 16 bytes in a region of size 8 [-Wstringop-overflow=]
  595 |       if (ts && update_timespec (&st, &ts))
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
utimens.c:595:17: note: referencing argument 2 of type ‘struct timespec **’
utimens.c:133:1: note: in a call to function ‘update_timespec’
  133 | update_timespec (struct stat const *statbuf, struct timespec *ts[2])
      | ^~~~~~~~~~~~~~~
  CC       openat-die.o
  CC       save-cwd.o
  AR       libgnu.a
make[1]: Verzeichnis „/home/my-name/emacs-27.2/lib“ wird verlassen
make -C lib-src all
make[1]: Verzeichnis „/home/my-name/emacs-27.2/lib-src“ wird betreten
  CCLD     etags
  CCLD     ctags
etags.c: In function ‘main’:
cc1: warning: ‘__builtin_memcpy’ writing 12 bytes into a region of size between 0 and 7 [-Wstringop-overflow=]
In file included from ctags.c:2:
etags.c:1395:21: note: destination object of size [0, 7] allocated by ‘xmalloc’  1395 |         char *cmd = xmalloc (2 * strlen (tagfile) + sizeof "sort -u -o..");
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
etags.c:1401:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 1401 |         *z++ = ' ';
      |         ~~~~~^~~~~
etags.c:1395:21: note: at offset 11 into destination object of size [0, 7] allocated by ‘xmalloc’  1395 |         char *cmd = xmalloc (2 * strlen (tagfile) + sizeof "sort -u -o..");
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:535,
                 from ../lib/string.h:41,
                 from etags.c:120,
                 from ctags.c:2:
In function ‘stpcpy’,
    inlined from ‘main’ at etags.c:1400:6:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:86:10: warning: ‘__builtin_stpcpy’ offset 11 is out of the bounds [0, 7] [-Warray-bounds]    86 |   return __builtin___stpcpy_chk (__dest, __src, __glibc_objsize (__dest));
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strcpy’,
    inlined from ‘main’ at etags.c:1402:2:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:79:10: warning: ‘__builtin_strcpy’ offset 1 is out of the bounds [0, 0] [-Warray-bounds]    79 |   return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest));
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CCLD     emacsclient
  CCLD     ebrowse
  CCLD     hexl
  CCLD     make-docfile
  CCLD     make-fingerprint
make[1]: Verzeichnis „/home/my-name/emacs-27.2/lib-src“ wird verlassen
make -C src VCSWITNESS='$(srcdir)/../.git/logs/HEAD' all
make[1]: Verzeichnis „/home/my-name/emacs-27.2/src“ wird betreten
  GEN      globals.h
  CC       dispnew.o
In file included from /usr/include/string.h:535,
                 from ../lib/string.h:41,
                 from lisp.h:29,
                 from dispnew.c:27:
In function ‘memset’,
    inlined from ‘clear_glyph_row’ at dispnew.c:884:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:59:10: warning: ‘__builtin_memset’ offset [40, 255] from the object at ‘row’ is out of the bounds of referenced subobject ‘used’ with type ‘short int[4]’ at offset 32 [-Warray-bounds]
   59 |   return __builtin___memset_chk (__dest, __ch, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   60 |                                  __glibc_objsize0 (__dest));
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from termchar.h:23,
                 from dispnew.c:29:
dispnew.c: In function ‘clear_glyph_row’:
dispextern.h:866:9: note: subobject ‘used’ declared here
  866 |   short used[1 + LAST_AREA];
      |         ^~~~
In file included from /usr/include/string.h:535,
                 from ../lib/string.h:41,
                 from lisp.h:29,
                 from dispnew.c:27:
In function ‘memset’,
    inlined from ‘clear_glyph_row’ at dispnew.c:884:3,
    inlined from ‘blank_row’ at dispnew.c:899:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:59:10: warning: ‘__builtin_memset’ offset [40, 255] from the object at ‘row’ is out of the bounds of referenced subobject ‘used’ with type ‘short int[4]’ at offset 32 [-Warray-bounds]
   59 |   return __builtin___memset_chk (__dest, __ch, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   60 |                                  __glibc_objsize0 (__dest));
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from termchar.h:23,
                 from dispnew.c:29:
dispnew.c: In function ‘blank_row’:
dispextern.h:866:9: note: subobject ‘used’ declared here
  866 |   short used[1 + LAST_AREA];
      |         ^~~~
In file included from /usr/include/string.h:535,
                 from ../lib/string.h:41,
                 from lisp.h:29,
                 from dispnew.c:27:
In function ‘memset’,
    inlined from ‘clear_glyph_row’ at dispnew.c:884:3,
    inlined from ‘prepare_desired_row’ at dispnew.c:1110:7:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:59:10: warning: ‘__builtin_memset’ offset [40, 255] from the object at ‘row’ is out of the bounds of referenced subobject ‘used’ with type ‘short int[4]’ at offset 32 [-Warray-bounds]
   59 |   return __builtin___memset_chk (__dest, __ch, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   60 |                                  __glibc_objsize0 (__dest));
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from termchar.h:23,
                 from dispnew.c:29:
dispnew.c: In function ‘prepare_desired_row’:
dispextern.h:866:9: note: subobject ‘used’ declared here
  866 |   short used[1 + LAST_AREA];
      |         ^~~~
  CC       frame.o
  CC       scroll.o
  CC       xdisp.o
xdisp.c: In function ‘gui_draw_bottom_divider’:
xdisp.c:33954:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
33954 |       if (WINDOW_RIGHT_DIVIDER_WIDTH (w)
      |       ^~
In file included from keyboard.h:24,
                 from xdisp.c:442:
termhooks.h:820:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  820 | #define FRAME_RIF(f) ((f)->terminal->rif)
      |                      ^
xdisp.c:33965:9: note: in expansion of macro ‘FRAME_RIF’
33965 |         FRAME_RIF (f)->draw_window_divider (w, x0, x1, y0, y1);
      |         ^~~~~~~~~
  CC       menu.o
  CC       xmenu.o
In file included from /usr/include/string.h:535,
                 from ../lib/string.h:41,
                 from lisp.h:29,
                 from xmenu.c:38:
In function ‘memcpy’,
    inlined from ‘set_frame_menubar’ at xmenu.c:766:2:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: ‘__builtin_memcpy’ offset [3, 10] from the object at ‘<unknown>’ is out of the bounds of referenced subobject ‘contents’ with type ‘union Lisp_X *[]’ at offset 3 [-Warray-bounds]
   29 |   return __builtin___memcpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   30 |                                  __glibc_objsize0 (__dest));
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from xmenu.c:38:
xmenu.c: In function ‘set_frame_menubar’:
lisp.h:1647:17: note: subobject ‘contents’ declared here
 1647 |     Lisp_Object contents[FLEXIBLE_ARRAY_MEMBER];
      |                 ^~~~~~~~
  CC       window.o
  CC       charset.o
  CC       coding.o
  CC       category.o
  CC       ccl.o
  CC       character.o
  CC       chartab.o
  CC       bidi.o
  CC       cm.o
  CC       term.o
  CC       terminal.o
  CC       xfaces.o
xfaces.c:5675:53: warning: argument 2 of type ‘union Lisp_X *[20]’ with mismatched bound [-Warray-parameter=]  5675 | realize_face (struct face_cache *cache, Lisp_Object attrs[LFACE_VECTOR_SIZE],
      | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
xfaces.c:355:56: note: previously declared as ‘union Lisp_X **’
  355 | static struct face *realize_face (struct face_cache *, Lisp_Object *,
      | ^~~~~~~~~~~~~
xfaces.c:5752:57: warning: argument 2 of type ‘union Lisp_X *[20]’ with mismatched bound [-Warray-parameter=]  5752 | realize_gui_face (struct face_cache *cache, Lisp_Object attrs[LFACE_VECTOR_SIZE])
      | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
xfaces.c:357:60: note: previously declared as ‘union Lisp_X **’
  357 | static struct face *realize_gui_face (struct face_cache *, Lisp_Object *);
      | ^~~~~~~~~~~~~
xfaces.c:6079:31: warning: argument 2 of type ‘union Lisp_X *[20]’ with mismatched bound [-Warray-parameter=]
 6079 |                   Lisp_Object attrs[LFACE_VECTOR_SIZE])
      |                   ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
xfaces.c:358:60: note: previously declared as ‘union Lisp_X **’
  358 | static struct face *realize_tty_face (struct face_cache *, Lisp_Object *);
      | ^~~~~~~~~~~~~
In file included from /usr/include/string.h:535,
                 from ../lib/string.h:41,
                 from lisp.h:29,
                 from xfaces.c:224:
In function ‘memcpy’,
    inlined from ‘get_lface_attributes_no_remap’ at xfaces.c:1891:5,
    inlined from ‘get_lface_attributes’ at xfaces.c:1939:10:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: ‘__builtin_memcpy’ offset [3, 162] from the object at ‘lface’ is out of the bounds of referenced subobject ‘contents’ with type ‘union Lisp_X *[]’ at offset 3 [-Warray-bounds]
   29 |   return __builtin___memcpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   30 |                                  __glibc_objsize0 (__dest));
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from xfaces.c:224:
xfaces.c: In function ‘get_lface_attributes’:
lisp.h:1647:17: note: subobject ‘contents’ declared here
 1647 |     Lisp_Object contents[FLEXIBLE_ARRAY_MEMBER];
      |                 ^~~~~~~~
In file included from /usr/include/string.h:535,
                 from ../lib/string.h:41,
                 from lisp.h:29,
                 from xfaces.c:224:
In function ‘memcpy’,
    inlined from ‘vcopy’ at lisp.h:3396:3,
    inlined from ‘Finternal_copy_lisp_face’ at xfaces.c:2877:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: ‘__builtin_memcpy’ offset [3, 162] from the object at ‘copy’ is out of the bounds of referenced subobject ‘contents’ with type ‘union Lisp_X *[]’ at offset 3 [-Warray-bounds]
   29 |   return __builtin___memcpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   30 |                                  __glibc_objsize0 (__dest));
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from xfaces.c:224:
xfaces.c: In function ‘Finternal_copy_lisp_face’:
lisp.h:1647:17: note: subobject ‘contents’ declared here
 1647 |     Lisp_Object contents[FLEXIBLE_ARRAY_MEMBER];
      |                 ^~~~~~~~
In file included from /usr/include/string.h:535,
                 from ../lib/string.h:41,
                 from lisp.h:29,
                 from xfaces.c:224:
In function ‘memcpy’,
    inlined from ‘vcopy’ at lisp.h:3396:3,
    inlined from ‘Finternal_copy_lisp_face’ at xfaces.c:2877:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: ‘__builtin_memcpy’ offset [3, 162] from the object at ‘copy’ is out of the bounds of referenced subobject ‘contents’ with type ‘union Lisp_X *[]’ at offset 3 [-Warray-bounds]
   29 |   return __builtin___memcpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   30 |                                  __glibc_objsize0 (__dest));
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from xfaces.c:224:
xfaces.c: In function ‘Finternal_copy_lisp_face’:
lisp.h:1647:17: note: subobject ‘contents’ declared here
 1647 |     Lisp_Object contents[FLEXIBLE_ARRAY_MEMBER];
      |                 ^~~~~~~~
In file included from /usr/include/string.h:535,
                 from ../lib/string.h:41,
                 from lisp.h:29,
                 from xfaces.c:224:
In function ‘memcpy’,
    inlined from ‘get_lface_attributes_no_remap’ at xfaces.c:1891:5,
    inlined from ‘realize_named_face’ at xfaces.c:5648:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: ‘__builtin_memcpy’ offset [3, 162] from the object at ‘lface’ is out of the bounds of referenced subobject ‘contents’ with type ‘union Lisp_X *[]’ at offset 3 [-Warray-bounds]
   29 |   return __builtin___memcpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   30 |                                  __glibc_objsize0 (__dest));
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from xfaces.c:224:
xfaces.c: In function ‘realize_named_face’:
lisp.h:1647:17: note: subobject ‘contents’ declared here
 1647 |     Lisp_Object contents[FLEXIBLE_ARRAY_MEMBER];
      |                 ^~~~~~~~
In file included from /usr/include/string.h:535,
                 from ../lib/string.h:41,
                 from lisp.h:29,
                 from xfaces.c:224:
In function ‘memcpy’,
    inlined from ‘get_lface_attributes_no_remap’ at xfaces.c:1891:5,
    inlined from ‘realize_named_face’ at xfaces.c:5661:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: ‘__builtin_memcpy’ offset [3, 162] from the object at ‘lface’ is out of the bounds of referenced subobject ‘contents’ with type ‘union Lisp_X *[]’ at offset 3 [-Warray-bounds]
   29 |   return __builtin___memcpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   30 |                                  __glibc_objsize0 (__dest));
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from xfaces.c:224:
xfaces.c: In function ‘realize_named_face’:
lisp.h:1647:17: note: subobject ‘contents’ declared here
 1647 |     Lisp_Object contents[FLEXIBLE_ARRAY_MEMBER];
      |                 ^~~~~~~~
In file included from /usr/include/string.h:535,
                 from ../lib/string.h:41,
                 from lisp.h:29,
                 from xfaces.c:224:
In function ‘memcpy’,
    inlined from ‘realize_default_face’ at xfaces.c:5611:3,
    inlined from ‘realize_basic_faces’ at xfaces.c:5470:7:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: ‘__builtin_memcpy’ offset [3, 162] from the object at ‘lface’ is out of the bounds of referenced subobject ‘contents’ with type ‘union Lisp_X *[]’ at offset 3 [-Warray-bounds]
   29 |   return __builtin___memcpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   30 |                                  __glibc_objsize0 (__dest));
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from xfaces.c:224:
xfaces.c: In function ‘realize_basic_faces’:
lisp.h:1647:17: note: subobject ‘contents’ declared here
 1647 |     Lisp_Object contents[FLEXIBLE_ARRAY_MEMBER];
      |                 ^~~~~~~~
In file included from /usr/include/string.h:535,
                 from ../lib/string.h:41,
                 from lisp.h:29,
                 from xfaces.c:224:
In function ‘memcpy’,
    inlined from ‘vcopy’ at lisp.h:3396:3,
    inlined from ‘Finternal_merge_in_global_face’ at xfaces.c:3995:4:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: ‘__builtin_memcpy’ offset [3, 162] from the object at ‘local_lface’ is out of the bounds of referenced subobject ‘contents’ with type ‘union Lisp_X *[]’ at offset 3 [-Warray-bounds]
   29 |   return __builtin___memcpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   30 |                                  __glibc_objsize0 (__dest));
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from xfaces.c:224:
xfaces.c: In function ‘Finternal_merge_in_global_face’:
lisp.h:1647:17: note: subobject ‘contents’ declared here
 1647 |     Lisp_Object contents[FLEXIBLE_ARRAY_MEMBER];
      |                 ^~~~~~~~
  CC       xterm.o
  CC       xfns.o
  CC       xselect.o
  CC       xrdb.o
  CC       xsmfns.o
  CC       xsettings.o
  CC       gtkutil.o
  CC       emacsgtkfixed.o
  CC       dbusbind.o
  CC       emacs.o
  CC       keyboard.o
In file included from /usr/include/string.h:535,
                 from ../lib/string.h:41,
                 from lisp.h:29,
                 from keyboard.c:25:
In function ‘memcpy’,
    inlined from ‘vcopy’ at lisp.h:3396:3,
    inlined from ‘append_tab_bar_item’ at keyboard.c:8311:3,
    inlined from ‘process_tab_bar_item’ at keyboard.c:8081:5:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: ‘__builtin_memcpy’ offset [3, 50] from the object at ‘<unknown>’ is out of the bounds of referenced subobject ‘contents’ with type ‘union Lisp_X *[]’ at offset 3 [-Warray-bounds]
   29 |   return __builtin___memcpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   30 |                                  __glibc_objsize0 (__dest));
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from keyboard.c:25:
keyboard.c: In function ‘process_tab_bar_item’:
lisp.h:1647:17: note: subobject ‘contents’ declared here
 1647 |     Lisp_Object contents[FLEXIBLE_ARRAY_MEMBER];
      |                 ^~~~~~~~
In file included from /usr/include/string.h:535,
                 from ../lib/string.h:41,
                 from lisp.h:29,
                 from keyboard.c:25:
In function ‘memcpy’,
    inlined from ‘vcopy’ at lisp.h:3396:3,
    inlined from ‘append_tool_bar_item’ at keyboard.c:8788:3,
    inlined from ‘process_tool_bar_item’ at keyboard.c:8465:5:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: ‘__builtin_memcpy’ offset [3, 90] from the object at ‘<unknown>’ is out of the bounds of referenced subobject ‘contents’ with type ‘union Lisp_X *[]’ at offset 3 [-Warray-bounds]
   29 |   return __builtin___memcpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   30 |                                  __glibc_objsize0 (__dest));
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from keyboard.c:25:
keyboard.c: In function ‘process_tool_bar_item’:
lisp.h:1647:17: note: subobject ‘contents’ declared here
 1647 |     Lisp_Object contents[FLEXIBLE_ARRAY_MEMBER];
      |                 ^~~~~~~~
  CC       macros.o
  CC       keymap.o
  CC       sysdep.o
sysdep.c:1821:22: error: variably modified ‘sigsegv_stack’ at file scope
 1821 | static unsigned char sigsegv_stack[SIGSTKSZ];
      |                      ^~~~~~~~~~~~~
make[1]: *** [Makefile:406: sysdep.o] Fehler 1
make[1]: Verzeichnis „/home/my-name/emacs-27.2/src“ wird verlassen
make: *** [Makefile:424: src] Fehler 2





reply via email to

[Prev in Thread] Current Thread [Next in Thread]