unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: Po Lu <luangruo@yahoo.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Building from source on 5.15.0-43-generic #46-Ubuntu x86_64 GNU/Linux
Date: Tue, 9 Aug 2022 20:21:00 +0200	[thread overview]
Message-ID: <89b69ad0-0a3f-825b-27fc-8f4ddbbd4610@easy-emacs.de> (raw)
In-Reply-To: <87o7wtzlpf.fsf@yahoo.com>


Am 09.08.22 um 13:43 schrieb Po Lu:
> Andreas Röhler <andreas.roehler@easy-emacs.de> writes:
>
>> Building after "git checkout emacs-27.2"
> That isn't emacs-27, it's the 27.2 release tag.  You should write this
> instead:
>
>    git checkout emacs-27


Thanks, did work. With "git checkout emacs-26" however, it fails that way:

make -C lib all
make info-real info-dir
make[1]: Verzeichnis „/home/my-name/emacs-26/lib“ wird betreten
   GEN      dirent.h
   GEN      alloca.h
   GEN      fcntl.h
make[1]: Verzeichnis „/home/my-name/emacs-26“ wird betreten
make -C doc/lispref info
make[2]: Verzeichnis „/home/my-name/emacs-26/doc/lispref“ wird betreten
   GEN      inttypes.h
   GEN      limits.h
   GEN      ../../info/elisp.info
   GEN      signal.h
   GEN      stdio.h
make -C doc/lispintro info
   GEN      stdlib.h
make[2]: Verzeichnis „/home/my-name/emacs-26/doc/lispintro“ wird betreten
   GEN      ../../info/eintr.info
   GEN      string.h
   GEN      sys/select.h
   GEN      sys/stat.h
   GEN      sys/time.h
   GEN      sys/types.h
   GEN      time.h
   GEN      unistd.h
make -C doc/emacs info
make[2]: Verzeichnis „/home/my-name/emacs-26/doc/emacs“ wird betreten
   GEN      ../../info/emacs.info
   CC       fcntl.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
text.texi:64: warning: @inforef ist obsolet.
   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];
       |        ^~~~~~~~~
functions.texi:2324: warning: @inforef ist obsolet.
   CC       close-stream.o
   CC       count-leading-zeros.o
   CC       count-one-bits.o
make[2]: Verzeichnis „/home/my-name/emacs-26/doc/lispintro“ wird verlassen
make -C doc/misc info
make[2]: Verzeichnis „/home/my-name/emacs-26/doc/misc“ wird betreten
   GEN      ../../info/ada-mode.info
   CC       count-trailing-zeros.o
   CC       md5.o
   GEN      ../../info/auth.info
   CC       sha1.o
   GEN      ../../info/autotype.info
   CC       sha256.o
   GEN      ../../info/bovine.info
bovine.texi:80: warning: @inforef ist obsolet.
bovine.texi:86: warning: @inforef ist obsolet.
bovine.texi:107: warning: @inforef ist obsolet.
bovine.texi:117: warning: @inforef ist obsolet.
bovine.texi:126: warning: @inforef ist obsolet.
bovine.texi:148: warning: @inforef ist obsolet.
bovine.texi:172: warning: @inforef ist obsolet.
bovine.texi:385: warning: @inforef ist obsolet.
   GEN      ../../info/calc.info
   CC       sha512.o
   CC       dtoastr.o
   CC       dtotimespec.o
   CC       filemode.o
   CC       filevercmp.o
   CC       gettime.o
   CC       nstrftime.o
make[2]: Verzeichnis „/home/my-name/emacs-26/doc/emacs“ wird verlassen
   GEN      info/dir
   GEN      ../../info/ccmode.info
   CC       pipe2.o
   CC       qcopy-acl.o
   GEN      ../../info/cl.info
   CC       stat-time.o
   CC       tempname.o
   CC       timespec.o
   CC       timespec-add.o
   GEN      ../../info/dbus.info
   CC       timespec-sub.o
   CC       u64.o
   CC       unistd.o
   CC       utimens.o
utimens.c: In function ‘fdutimens’:
utimens.c:383:17: warning: ‘update_timespec’ accessing 16 bytes in a region of size 8 [-Wstringop-overflow=]
   383 |       if (ts && update_timespec (&st, &ts))
       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
utimens.c:383:17: note: referencing argument 2 of type ‘struct timespec **’
utimens.c:134:1: note: in a call to function ‘update_timespec’
   134 | update_timespec (struct stat const *statbuf, struct timespec *ts[2])
       | ^~~~~~~~~~~~~~~
utimens.c: In function ‘lutimens’:
utimens.c:596:17: warning: ‘update_timespec’ accessing 16 bytes in a region of size 8 [-Wstringop-overflow=]
   596 |       if (ts && update_timespec (&st, &ts))
       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
utimens.c:596:17: note: referencing argument 2 of type ‘struct timespec **’
utimens.c:134:1: note: in a call to function ‘update_timespec’
   134 | update_timespec (struct stat const *statbuf, struct timespec *ts[2])
       | ^~~~~~~~~~~~~~~
   CC       openat-die.o
   GEN      ../../info/dired-x.info
   CC       save-cwd.o
   GEN      ../../info/ebrowse.info
   CC       e-fcntl.o
   CC       e-sig2str.o
   CC       e-time_rz.o
   GEN      ../../info/ede.info
   GEN      ../../info/ediff.info
   CC       e-acl-errno-valid.o
   CC       e-acl-internal.o
   CC       e-get-permissions.o
   CC       e-set-permissions.o
   CC       e-allocator.o
   CC       e-binary-io.o
   GEN      ../../info/edt.info
   CC       e-c-ctype.o
   CC       e-c-strcasecmp.o
   CC       e-c-strncasecmp.o
   CC       e-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];
       |        ^~~~~~~~~
   GEN      ../../info/eieio.info
   CC       e-close-stream.o
   GEN      ../../info/emacs-mime.info
   CC       e-count-leading-zeros.o
   CC       e-count-one-bits.o
   CC       e-count-trailing-zeros.o
   CC       e-md5.o
   GEN      ../../info/epa.info
   GEN      ../../info/erc.info
   CC       e-sha1.o
   GEN      ../../info/ert.info
   GEN      ../../info/eshell.info
   GEN      ../../info/eudc.info
   CC       e-sha256.o
   CC       e-sha512.o
make[2]: Verzeichnis „/home/my-name/emacs-26/doc/lispref“ wird verlassen
   CC       e-dtoastr.o
   CC       e-dtotimespec.o
   CC       e-filemode.o
   CC       e-filevercmp.o
   GEN      ../../info/efaq.info
   CC       e-gettime.o
   CC       e-nstrftime.o
   CC       e-pipe2.o
   CC       e-qcopy-acl.o
   CC       e-stat-time.o
   GEN      ../../info/eww.info
   CC       e-tempname.o
   CC       e-timespec.o
   CC       e-timespec-add.o
   CC       e-timespec-sub.o
   CC       e-u64.o
   CC       e-unistd.o
   CC       e-utimens.o
   CC       e-openat-die.o
   CC       e-save-cwd.o
   GEN      ../../info/flymake.info
utimens.c: In function ‘fdutimens’:
utimens.c:383:17: warning: ‘update_timespec’ accessing 16 bytes in a region of size 8 [-Wstringop-overflow=]
   383 |       if (ts && update_timespec (&st, &ts))
       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
utimens.c:383:17: note: referencing argument 2 of type ‘struct timespec **’
utimens.c:134:1: note: in a call to function ‘update_timespec’
   134 | update_timespec (struct stat const *statbuf, struct timespec *ts[2])
       | ^~~~~~~~~~~~~~~
   AR       libgnu.a
   GEN      ../../info/forms.info
utimens.c: In function ‘lutimens’:
utimens.c:596:17: warning: ‘update_timespec’ accessing 16 bytes in a region of size 8 [-Wstringop-overflow=]
   596 |       if (ts && update_timespec (&st, &ts))
       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
utimens.c:596:17: note: referencing argument 2 of type ‘struct timespec **’
utimens.c:134:1: note: in a call to function ‘update_timespec’
   134 | update_timespec (struct stat const *statbuf, struct timespec *ts[2])
       | ^~~~~~~~~~~~~~~
   AR       libegnu.a
   GEN      ../../info/gnus.info
make[1]: Verzeichnis „/home/my-name/emacs-26/lib“ wird verlassen
make -C lib-src all
make[1]: Verzeichnis „/home/my-name/emacs-26/lib-src“ wird betreten
   CC       regex.o
   CCLD     emacsclient
   GEN      ../../info/emacs-gnutls.info
   GEN      ../../info/htmlfontify.info
   CCLD     ebrowse
   CCLD     profile
   CCLD     hexl
   CCLD     make-docfile
   GEN      ../../info/idlwave.info
   GEN      ../../info/ido.info
   GEN      ../../info/info.info
   CCLD     etags
   GEN      ../../info/mairix-el.info
   GEN      ../../info/message.info
   GEN      ../../info/mh-e.info
   GEN      ../../info/newsticker.info
   GEN      ../../info/nxml-mode.info
   GEN      ../../info/octave-mode.info
   GEN      ../../info/org.info
   GEN      ../../info/pcl-cvs.info
pcl-cvs.texi:842: warning: @inforef ist obsolet.
In function ‘xrealloc’,
     inlined from ‘linebuffer_setlen’ at etags.c:7301:7,
     inlined from ‘find_entries’ at etags.c:1895:3:
etags.c:7319:18: warning: argument 2 range [9223372036854775808, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
  7319 |   void *result = realloc (ptr, size);
       |                  ^~~~~~~~~~~~~~~~~~~
In file included from ../lib/stdlib.h:37,
                  from etags.c:121:
etags.c: In function ‘find_entries’:
/usr/include/stdlib.h:551:14: note: in a call to allocation function ‘realloc’ declared here
   551 | extern void *realloc (void *__ptr, size_t __size)
       |              ^~~~~~~
   GEN      ../../info/pgg.info
org.texi:13614: warning: @inforef ist obsolet.
org.texi:13617: warning: @inforef ist obsolet.
org.texi:13868: warning: @inforef ist obsolet.
org.texi:13946: warning: @inforef ist obsolet.
   GEN      ../../info/rcirc.info
   GEN      ../../info/remember.info
   GEN      ../../info/reftex.info
   GEN      ../../info/sasl.info
In function ‘xrealloc’,
     inlined from ‘linebuffer_setlen’ at etags.c:7301:7,
     inlined from ‘HTML_labels’ at etags.c:5783:3:
etags.c:7319:18: warning: argument 2 range [9223372036854775808, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
  7319 |   void *result = realloc (ptr, size);
       |                  ^~~~~~~~~~~~~~~~~~~
In file included from ../lib/stdlib.h:37,
                  from etags.c:121:
etags.c: In function ‘HTML_labels’:
/usr/include/stdlib.h:551:14: note: in a call to allocation function ‘realloc’ declared here
   551 | extern void *realloc (void *__ptr, size_t __size)
       |              ^~~~~~~
In function ‘xrealloc’,
     inlined from ‘linebuffer_setlen’ at etags.c:7301:7,
     inlined from ‘HTML_labels’ at etags.c:5854:6:
etags.c:7319:18: warning: argument 2 range [9223372036854775808, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
  7319 |   void *result = realloc (ptr, size);
       |                  ^~~~~~~~~~~~~~~~~~~
In file included from ../lib/stdlib.h:37,
                  from etags.c:121:
etags.c: In function ‘HTML_labels’:
/usr/include/stdlib.h:551:14: note: in a call to allocation function ‘realloc’ declared here
   551 | extern void *realloc (void *__ptr, size_t __size)
       |              ^~~~~~~
   GEN      ../../info/sc.info
   GEN      ../../info/semantic.info
   CCLD     ctags
   GEN      ../../info/ses.info
   GEN      ../../info/sieve.info
   GEN      ../../info/smtpmail.info
   GEN      ../../info/speedbar.info
In file included from ctags.c:2:
In function ‘xrealloc’,
     inlined from ‘linebuffer_setlen’ at etags.c:7301:7,
     inlined from ‘find_entries’ at etags.c:1895:3:
etags.c:7319:18: warning: argument 2 range [9223372036854775808, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
  7319 |   void *result = realloc (ptr, size);
       |                  ^~~~~~~~~~~~~~~~~~~
In file included from ../lib/stdlib.h:37,
                  from etags.c:121,
                  from ctags.c:2:
etags.c: In function ‘find_entries’:
/usr/include/stdlib.h:551:14: note: in a call to allocation function ‘realloc’ declared here
   551 | extern void *realloc (void *__ptr, size_t __size)
       |              ^~~~~~~
   GEN      ../../info/srecode.info
   GEN      ../../info/todo-mode.info
srecode.texi:262: warning: @inforef ist obsolet.
   GEN      ../../info/tramp.info
   GEN      ../../info/url.info
   GEN      ../../info/vhdl-mode.info
In file included from ctags.c:2:
In function ‘xrealloc’,
     inlined from ‘linebuffer_setlen’ at etags.c:7301:7,
     inlined from ‘HTML_labels’ at etags.c:5783:3:
etags.c:7319:18: warning: argument 2 range [9223372036854775808, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
  7319 |   void *result = realloc (ptr, size);
       |                  ^~~~~~~~~~~~~~~~~~~
In file included from ../lib/stdlib.h:37,
                  from etags.c:121,
                  from ctags.c:2:
etags.c: In function ‘HTML_labels’:
/usr/include/stdlib.h:551:14: note: in a call to allocation function ‘realloc’ declared here
   551 | extern void *realloc (void *__ptr, size_t __size)
       |              ^~~~~~~
In file included from ctags.c:2:
In function ‘xrealloc’,
     inlined from ‘linebuffer_setlen’ at etags.c:7301:7,
     inlined from ‘HTML_labels’ at etags.c:5854:6:
etags.c:7319:18: warning: argument 2 range [9223372036854775808, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
  7319 |   void *result = realloc (ptr, size);
       |                  ^~~~~~~~~~~~~~~~~~~
In file included from ../lib/stdlib.h:37,
                  from etags.c:121,
                  from ctags.c:2:
etags.c: In function ‘HTML_labels’:
/usr/include/stdlib.h:551:14: note: in a call to allocation function ‘realloc’ declared here
   551 | extern void *realloc (void *__ptr, size_t __size)
       |              ^~~~~~~
   GEN      ../../info/vip.info
   GEN      ../../info/viper.info
   GEN      ../../info/widget.info
   GEN      ../../info/wisent.info
   GEN      ../../info/woman.info
   GEN      ../../info/efaq-w32.info
wisent.texi:1578: warning: @inforef ist obsolet.
wisent.texi:1965: warning: @inforef ist obsolet.
make[2]: Verzeichnis „/home/my-name/emacs-26/doc/misc“ wird verlassen
make[1]: Verzeichnis „/home/my-name/emacs-26“ wird verlassen
make[1]: Verzeichnis „/home/my-name/emacs-26/lib-src“ wird verlassen
make -C src VCSWITNESS='$(srcdir)/../.git/logs/HEAD' all
make[1]: Verzeichnis „/home/my-name/emacs-26/src“ wird betreten
   GEN      lisp.mk
   GEN      globals.h
make -C ../admin/charsets all
   GEN      buildobj.h
make -C ../admin/unidata charscript.el
make[2]: Verzeichnis „/home/my-name/emacs-26/admin/unidata“ wird betreten
make[2]: Verzeichnis „/home/my-name/emacs-26/admin/charsets“ wird betreten
   GEN      ../../etc/charsets/8859-2.map
   GEN      ../../lisp/international/charscript.el
   GEN      ../../etc/charsets/8859-3.map
make[2]: Verzeichnis „/home/my-name/emacs-26/admin/unidata“ wird verlassen
make -C ../admin/charsets cp51932.el
   GEN      ../../etc/charsets/8859-4.map
make[2]: Verzeichnis „/home/my-name/emacs-26/admin/charsets“ wird betreten
   GEN      ../../etc/charsets/CP932-2BYTE.map
make -C ../admin/charsets eucjp-ms.el
   GEN      ../../etc/charsets/8859-5.map
make[2]: Verzeichnis „/home/my-name/emacs-26/admin/charsets“ wird betreten
   GEN      ../../lisp/international/eucjp-ms.el
   GEN      ../../etc/charsets/8859-6.map
   GEN      ../../etc/charsets/8859-7.map
   GEN      ../../lisp/international/cp51932.el
   GEN      ../../etc/charsets/8859-8.map
make[2]: Verzeichnis „/home/my-name/emacs-26/admin/charsets“ wird verlassen
make[2]: Verzeichnis „/home/my-name/emacs-26/admin/charsets“ wird verlassen
   GEN      ../../etc/charsets/8859-9.map
   CC       dispnew.o
   GEN      ../../etc/charsets/8859-10.map
   GEN      ../../etc/charsets/8859-11.map
   CC       frame.o
   GEN      ../../etc/charsets/8859-13.map
   GEN      ../../etc/charsets/8859-14.map
   GEN      ../../etc/charsets/8859-15.map
   GEN      ../../etc/charsets/8859-16.map
   GEN      ../../etc/charsets/IBM037.map
   GEN      ../../etc/charsets/IBM038.map
   GEN      ../../etc/charsets/IBM256.map
   GEN      ../../etc/charsets/IBM273.map
   GEN      ../../etc/charsets/IBM274.map
   GEN      ../../etc/charsets/IBM275.map
   CC       scroll.o
   GEN      ../../etc/charsets/IBM277.map
   GEN      ../../etc/charsets/IBM278.map
   GEN      ../../etc/charsets/IBM280.map
   GEN      ../../etc/charsets/IBM281.map
   GEN      ../../etc/charsets/IBM284.map
   GEN      ../../etc/charsets/IBM285.map
   GEN      ../../etc/charsets/IBM290.map
   GEN      ../../etc/charsets/IBM297.map
   GEN      ../../etc/charsets/IBM420.map
   GEN      ../../etc/charsets/IBM423.map
   GEN      ../../etc/charsets/IBM424.map
   GEN      ../../etc/charsets/IBM437.map
   GEN      ../../etc/charsets/IBM500.map
   GEN      ../../etc/charsets/IBM850.map
   GEN      ../../etc/charsets/IBM851.map
   GEN      ../../etc/charsets/IBM852.map
   GEN      ../../etc/charsets/IBM855.map
   GEN      ../../etc/charsets/IBM856.map
   GEN      ../../etc/charsets/IBM857.map
   GEN      ../../etc/charsets/IBM860.map
   GEN      ../../etc/charsets/IBM861.map
   GEN      ../../etc/charsets/IBM862.map
   GEN      ../../etc/charsets/IBM863.map
   GEN      ../../etc/charsets/IBM864.map
   GEN      ../../etc/charsets/IBM865.map
   GEN      ../../etc/charsets/IBM866.map
   GEN      ../../etc/charsets/IBM868.map
   GEN      ../../etc/charsets/IBM869.map
   GEN      ../../etc/charsets/IBM870.map
   GEN      ../../etc/charsets/IBM871.map
   GEN      ../../etc/charsets/IBM874.map
   GEN      ../../etc/charsets/IBM875.map
   CC       xdisp.o
   GEN      ../../etc/charsets/IBM880.map
   GEN      ../../etc/charsets/IBM891.map
   GEN      ../../etc/charsets/IBM903.map
   GEN      ../../etc/charsets/IBM904.map
   GEN      ../../etc/charsets/IBM905.map
   GEN      ../../etc/charsets/IBM918.map
   GEN      ../../etc/charsets/IBM1004.map
   GEN      ../../etc/charsets/IBM1026.map
   GEN      ../../etc/charsets/IBM1047.map
   GEN      ../../etc/charsets/CP737.map
   GEN      ../../etc/charsets/CP775.map
   GEN      ../../etc/charsets/CP1125.map
   GEN      ../../etc/charsets/CP1250.map
   GEN      ../../etc/charsets/CP1251.map
   GEN      ../../etc/charsets/CP1252.map
   GEN      ../../etc/charsets/CP1253.map
   GEN      ../../etc/charsets/CP1254.map
   GEN      ../../etc/charsets/CP1255.map
   GEN      ../../etc/charsets/CP1256.map
   GEN      ../../etc/charsets/CP1257.map
   GEN      ../../etc/charsets/CP1258.map
   GEN      ../../etc/charsets/CP10007.map
   GEN      ../../etc/charsets/CP720.map
   GEN      ../../etc/charsets/CP858.map
   GEN      ../../etc/charsets/GB2312.map
   GEN      ../../etc/charsets/GBK.map
   GEN      ../../etc/charsets/GB180302.map
   GEN      ../../etc/charsets/BIG5.map
   GEN      ../../etc/charsets/BIG5-HKSCS.map
   GEN      ../../etc/charsets/CNS-1.map
   GEN      ../../etc/charsets/CNS-2.map
   GEN      ../../etc/charsets/CNS-3.map
xdisp.c: In function ‘x_draw_bottom_divider’:
xdisp.c:32147:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
32147 |       if (WINDOW_RIGHT_DIVIDER_WIDTH (w)
       |       ^~
In file included from keyboard.h:24,
                  from xdisp.c:362:
termhooks.h:704:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   704 | #define FRAME_RIF(f) ((f)->terminal->rif)
       |                      ^
xdisp.c:32158:9: note: in expansion of macro ‘FRAME_RIF’
32158 |         FRAME_RIF (f)->draw_window_divider (w, x0, x1, y0, y1);
       |         ^~~~~~~~~
   GEN      ../../etc/charsets/CNS-4.map
   GEN      ../../etc/charsets/CNS-5.map
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:848: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:28:
dispnew.c: In function ‘clear_glyph_row’:
dispextern.h:832:9: note: subobject ‘used’ declared here
   832 |   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:848:3,
     inlined from ‘blank_row’ at dispnew.c:863: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:28:
dispnew.c: In function ‘blank_row’:
dispextern.h:832:9: note: subobject ‘used’ declared here
   832 |   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:848:3,
     inlined from ‘prepare_desired_row’ at dispnew.c:1074: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:28:
dispnew.c: In function ‘prepare_desired_row’:
dispextern.h:832:9: note: subobject ‘used’ declared here
   832 |   short used[1 + LAST_AREA];
       |         ^~~~
   GEN      ../../etc/charsets/CNS-6.map
   GEN      ../../etc/charsets/CNS-7.map
   GEN      ../../etc/charsets/CNS-F.map
   GEN      ../../etc/charsets/JISX0201.map
   GEN      ../../etc/charsets/JISX0208.map
   GEN      ../../etc/charsets/JISX0212.map
   GEN      ../../etc/charsets/JISX2131.map
   CC       menu.o
   GEN      ../../etc/charsets/JISX2132.map
   GEN      ../../etc/charsets/JISC6226.map
   GEN      ../../etc/charsets/KSC5601.map
   CC       xmenu.o
   GEN      ../../etc/charsets/KSC5636.map
   GEN      ../../etc/charsets/JOHAB.map
   GEN      ../../etc/charsets/KOI-8.map
   GEN      ../../etc/charsets/KOI8-R.map
   GEN      ../../etc/charsets/KOI8-U.map
   GEN      ../../etc/charsets/KOI8-T.map
   GEN      ../../etc/charsets/ALTERNATIVNYJ.map
   GEN      ../../etc/charsets/MIK.map
   GEN      ../../etc/charsets/PTCP154.map
   GEN      ../../etc/charsets/TIS-620.map
   GEN      ../../etc/charsets/VISCII.map
   GEN      ../../etc/charsets/VSCII.map
   GEN      ../../etc/charsets/VSCII-2.map
   GEN      ../../etc/charsets/KA-PS.map
   GEN      ../../etc/charsets/KA-ACADEMY.map
   GEN      ../../etc/charsets/HP-ROMAN8.map
   GEN      ../../etc/charsets/NEXTSTEP.map
   GEN      ../../etc/charsets/MACINTOSH.map
   GEN      ../../etc/charsets/EBCDICUK.map
   GEN      ../../etc/charsets/EBCDICUS.map
   GEN      ../../etc/charsets/stdenc.map
   GEN      ../../etc/charsets/symbol.map
   GEN      ../../etc/charsets/CP949-2BYTE.map
   GEN      ../../etc/charsets/BIG5-1.map
   GEN      ../../etc/charsets/BIG5-2.map
   GEN      ../../etc/charsets/GB180304.map
   GEN      charsets.stamp
make[2]: Verzeichnis „/home/my-name/emacs-26/admin/charsets“ wird verlassen
   CC       window.o
   CC       charset.o
   CC       coding.o
   CC       category.o
   CC       ccl.o
   CC       character.o
character.c: In function ‘Funibyte_string’:
character.c:890:9: warning: ‘<unknown>’ may be used uninitialized [-Wmaybe-uninitialized]
   890 |   str = make_string_from_bytes ((char *) buf, n, p - buf);
       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from character.c:34:
lisp.h:3631:20: note: by argument 1 of type ‘const char *’ to ‘make_string_from_bytes’ declared here
  3631 | extern Lisp_Object make_string_from_bytes (const char *, ptrdiff_t, ptrdiff_t);
       |                    ^~~~~~~~~~~~~~~~~~~~~~
character.c: In function ‘Fstring’:
character.c:868:9: warning: ‘buf’ may be used uninitialized [-Wmaybe-uninitialized]
   868 |   str = make_string_from_bytes ((char *) buf, n, p - buf);
       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from character.c:34:
lisp.h:3631:20: note: by argument 1 of type ‘const char *’ to ‘make_string_from_bytes’ declared here
  3631 | extern Lisp_Object make_string_from_bytes (const char *, ptrdiff_t, ptrdiff_t);
       |                    ^~~~~~~~~~~~~~~~~~~~~~
   CC       chartab.o
   CC       bidi.o
   CC       cm.o
   CC       term.o
   CC       terminal.o
   CC       xfaces.o
   CC       xterm.o
xfaces.c:5369:53: warning: argument 2 of type ‘Lisp_Object[19]’ with mismatched bound [-Warray-parameter=]
  5369 | realize_face (struct face_cache *cache, Lisp_Object attrs[LFACE_VECTOR_SIZE],
       |                                         ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
xfaces.c:344:56: note: previously declared as ‘Lisp_Object *’
   344 | static struct face *realize_face (struct face_cache *, Lisp_Object *,
       |                                                        ^~~~~~~~~~~~~
xfaces.c:5446:55: warning: argument 2 of type ‘Lisp_Object[19]’ with mismatched bound [-Warray-parameter=]
  5446 | realize_x_face (struct face_cache *cache, Lisp_Object attrs[LFACE_VECTOR_SIZE])
       |                                           ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
xfaces.c:346:58: note: previously declared as ‘Lisp_Object *’
   346 | static struct face *realize_x_face (struct face_cache *, Lisp_Object *);
       |                                                          ^~~~~~~~~~~~~
xfaces.c:5776:31: warning: argument 2 of type ‘Lisp_Object[19]’ with mismatched bound [-Warray-parameter=]
  5776 |                   Lisp_Object attrs[LFACE_VECTOR_SIZE])
       |                   ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
xfaces.c:347:60: note: previously declared as ‘Lisp_Object *’
   347 | static struct face *realize_tty_face (struct face_cache *, Lisp_Object *);
       |                                                            ^~~~~~~~~~~~~
   CC       xfns.o
   CC       xselect.o
xterm.c: In function ‘get_current_wm_state’:
xterm.c:10649:9: warning: ‘reply_data’ may be used uninitialized in this function [-Wmaybe-uninitialized]
10649 |   Atom *reply_data;
       |         ^~~~~~~~~~
   CC       xrdb.o
   CC       xsmfns.o
   CC       xsettings.o
   CC       gtkutil.o
   CC       emacsgtkfixed.o
   CC       dbusbind.o
   CC       emacs.o
   CC       keyboard.o
   CC       macros.o
   CC       keymap.o
   CC       sysdep.o
   CC       buffer.o
   CC       filelock.o
   CC       insdel.o
   CC       marker.o
   CC       minibuf.o
   CC       fileio.o
   CC       dired.o
fileio.c: In function ‘Fcopy_file’:
fileio.c:1917:3: warning: ‘security_context_t’ is deprecated [-Wdeprecated-declarations]
  1917 |   security_context_t con;
       |   ^~~~~~~~~~~~~~~~~~
fileio.c: In function ‘Ffile_selinux_context’:
fileio.c:2920:7: warning: ‘security_context_t’ is deprecated [-Wdeprecated-declarations]
  2920 |       security_context_t con;
       |       ^~~~~~~~~~~~~~~~~~
fileio.c: In function ‘Fset_file_selinux_context’:
fileio.c:2962:3: warning: ‘security_context_t’ is deprecated [-Wdeprecated-declarations]
  2962 |   security_context_t con;
       |   ^~~~~~~~~~~~~~~~~~
   CC       cmds.o
   CC       casetab.o
   CC       casefiddle.o
   CC       indent.o
casefiddle.c: In function ‘do_casify_multibyte_string’:
casefiddle.c:288:9: warning: ‘<unknown>’ may be used uninitialized [-Wmaybe-uninitialized]
   288 |   obj = make_multibyte_string ((char *) dst, n, o - dst);
       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from casefiddle.c:25:
lisp.h:3627:20: note: by argument 1 of type ‘const char *’ to ‘make_multibyte_string’ declared here
  3627 | extern Lisp_Object make_multibyte_string (const char *, ptrdiff_t, ptrdiff_t);
       |                    ^~~~~~~~~~~~~~~~~~~~~
   CC       search.o
   CC       regex.o
   CC       undo.o
   CC       alloc.o
   CC       data.o
   CC       doc.o
   CC       editfns.o
   CC       callint.o
   CC       eval.o
   CC       floatfns.o
   CC       fns.o
fns.c:1859:31: warning: argument 3 of type ‘Lisp_Object[restrict static  len]’ declared as a variable length array [-Wvla-parameter]
  1859 |                   Lisp_Object src[restrict VLA_ELEMS (len)],
       |                   ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fns.c:45:31: note: previously declared as a pointer ‘Lisp_Object * restrict’
    45 |                               Lisp_Object *restrict, Lisp_Object *restrict);
fns.c:1860:31: warning: argument 4 of type ‘Lisp_Object[restrict static  len]’ declared as a variable length array [-Wvla-parameter]
  1860 |                   Lisp_Object dest[restrict VLA_ELEMS (len)])
       |                   ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fns.c:45:54: note: previously declared as a pointer ‘Lisp_Object * restrict’
    45 |                               Lisp_Object *restrict, Lisp_Object *restrict);
   CC       font.o
   CC       print.o
eval.c: In function ‘vformat_string’:
eval.c:1828:10: warning: ‘buf’ may be used uninitialized [-Wmaybe-uninitialized]
  1828 |   used = evxprintf (&buffer, &size, buf, size_max, m, ap);
       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from eval.c:26:
lisp.h:3793:18: note: by argument 3 of type ‘const char *’ to ‘evxprintf’ declared here
  3793 | extern ptrdiff_t evxprintf (char **, ptrdiff_t *, char const *, ptrdiff_t,
       |                  ^~~~~~~~~
eval.c:1821:8: note: ‘buf’ declared here
  1821 |   char buf[4000];
       |        ^~~
   CC       lread.o
   CC       dynlib.o
   CC       emacs-module.o
   CC       syntax.o
   CC       unexelf.o
emacs-module.c: In function ‘module_funcall’:
emacs-module.c:1017:40: warning: variable ‘optr’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
  1017 |       ATTRIBUTE_MAY_ALIAS Lisp_Object *optr = xmalloc (sizeof o);
       |                                        ^~~~
   CC       bytecode.o
   CC       process.o
   CC       gnutls.o
   CC       callproc.o
   CC       region-cache.o
   CC       sound.o
   CC       atimer.o
   CC       doprnt.o
   CC       intervals.o
   CC       textprop.o
   CC       composite.o
   CC       xml.o
   CC       lcms.o
   CC       inotify.o
   CC       profiler.o
   CC       decompress.o
   CC       thread.o
   CC       systhread.o
   CC       sheap.o
   CC       xfont.o
   CC       ftfont.o
   CC       xftfont.o
   CC       ftxfont.o
   CC       fontset.o
   CC       fringe.o
   CC       image.o
   CC       xgselect.o
   CC       terminfo.o
   CC       lastfile.o
image.c: In function ‘tiff_load’:
image.c:7218:3: warning: ‘uint32’ is deprecated [-Wdeprecated-declarations]
  7218 |   uint32 *buf;
       |   ^~~~~~
image.c:7366:7: warning: ‘uint32’ is deprecated [-Wdeprecated-declarations]
  7366 |       uint32 *row = buf + y * width;
       |       ^~~~~~
image.c:7370:11: warning: ‘uint32’ is deprecated [-Wdeprecated-declarations]
  7370 |           uint32 abgr = row[x];
       |           ^~~~~~
image.c: In function ‘svg_load_image’:
image.c:9333:3: warning: ‘rsvg_handle_get_dimensions’ is deprecated: Use 'rsvg_handle_get_intrinsic_size_in_pixels' instead [-Wdeprecated-declarations]
  9333 |   rsvg_handle_get_dimensions (rsvg_handle, &dimension_data);
       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from image.c:9097:
/usr/include/librsvg-2.0/librsvg/rsvg.h:727:6: note: declared here
   727 | void rsvg_handle_get_dimensions (RsvgHandle *handle, RsvgDimensionData *dimension_data)
        |      ^~~~~~~~~~~~~~~~~~~~~~~~~
    CC       gmalloc.
    CCLD     temac
  /usr/bin/mkdir -p ../et
  setfattr -n user.pax.flags -v er temac
  make -C ../lisp update-subdir
  make[2]: Verzeichnis „/home/my-name/emacs-26/lisp“ wird betreten
make[2]: Verzeichnis „/home/my-name/emacs-26/lisp“ wird verlassen
unset EMACS_HEAP_EXEC; \
./temacs --batch  --load loadup bootstrap
Loading loadup.el (source)...
Using load-path (/home/my-name/emacs-26/lisp /home/my-name/emacs-26/lisp/emacs-lisp /home/my-name/emacs-26/lisp/progmodes /home/my-name/emacs-26/lisp/language /home/my-name/emacs-26/lisp/international /home/my-name/emacs-26/lisp/textmodes /home/my-name/emacs-26/lisp/vc)
Loading emacs-lisp/byte-run (source)...
Loading emacs-lisp/backquote (source)...
Loading subr (source)...
Loading version (source)...
Loading widget (source)...: src] Fehler 2




  reply	other threads:[~2022-08-09 18:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-09  9:01 Building from source on 5.15.0-43-generic #46-Ubuntu x86_64 GNU/Linux Andreas Röhler
2022-08-09  9:10 ` Po Lu
2022-08-09 10:42   ` Andreas Röhler
2022-08-09 11:11     ` Eli Zaretskii
2022-08-09 11:43     ` Po Lu
2022-08-09 18:21       ` Andreas Röhler [this message]
2022-08-09 18:30         ` Eli Zaretskii
2022-08-10  6:01           ` Andreas Röhler

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=89b69ad0-0a3f-825b-27fc-8f4ddbbd4610@easy-emacs.de \
    --to=andreas.roehler@easy-emacs.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=luangruo@yahoo.com \
    /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.
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).