* Building from source on 5.15.0-43-generic #46-Ubuntu x86_64 GNU/Linux
@ 2022-08-09 9:01 Andreas Röhler
2022-08-09 9:10 ` Po Lu
0 siblings, 1 reply; 8+ messages in thread
From: Andreas Röhler @ 2022-08-09 9:01 UTC (permalink / raw)
To: help-gnu-emacs
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:
make[2]: Verzeichnis „/home/my-name/emacs-27.2/admin/charsets“ wird
verlassen
CC dispnew.o
CC frame.o
CC scroll.o
CC xdisp.o
CC menu.o
CC xmenu.o
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
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
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]: *** Auf noch nicht beendete Prozesse wird gewartet …
make[1]: Verzeichnis „/home/my-name/emacs-27.2/src“ wird verlassen
make: *** [Makefile:424: src] Fehler 2
---
Any suggestions?
Thanks,
Andreas
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Building from source on 5.15.0-43-generic #46-Ubuntu x86_64 GNU/Linux
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
0 siblings, 1 reply; 8+ messages in thread
From: Po Lu @ 2022-08-09 9:10 UTC (permalink / raw)
To: Andreas Röhler; +Cc: help-gnu-emacs
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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Building from source on 5.15.0-43-generic #46-Ubuntu x86_64 GNU/Linux
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
0 siblings, 2 replies; 8+ messages in thread
From: Andreas Röhler @ 2022-08-09 10:42 UTC (permalink / raw)
To: Po Lu; +Cc: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Building from source on 5.15.0-43-generic #46-Ubuntu x86_64 GNU/Linux
2022-08-09 10:42 ` Andreas Röhler
@ 2022-08-09 11:11 ` Eli Zaretskii
2022-08-09 11:43 ` Po Lu
1 sibling, 0 replies; 8+ messages in thread
From: Eli Zaretskii @ 2022-08-09 11:11 UTC (permalink / raw)
To: help-gnu-emacs
> Date: Tue, 9 Aug 2022 12:42:33 +0200
> Cc: help-gnu-emacs@gnu.org
> From: Andreas Röhler <andreas.roehler@easy-emacs.de>
>
>
> 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"
This is not the HEAD of the emacs-27 branch. There's no emacs-27.2
branch in the repository (see "git branch -a").
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Building from source on 5.15.0-43-generic #46-Ubuntu x86_64 GNU/Linux
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
1 sibling, 1 reply; 8+ messages in thread
From: Po Lu @ 2022-08-09 11:43 UTC (permalink / raw)
To: Andreas Röhler; +Cc: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Building from source on 5.15.0-43-generic #46-Ubuntu x86_64 GNU/Linux
2022-08-09 11:43 ` Po Lu
@ 2022-08-09 18:21 ` Andreas Röhler
2022-08-09 18:30 ` Eli Zaretskii
0 siblings, 1 reply; 8+ messages in thread
From: Andreas Röhler @ 2022-08-09 18:21 UTC (permalink / raw)
To: Po Lu; +Cc: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Building from source on 5.15.0-43-generic #46-Ubuntu x86_64 GNU/Linux
2022-08-09 18:21 ` Andreas Röhler
@ 2022-08-09 18:30 ` Eli Zaretskii
2022-08-10 6:01 ` Andreas Röhler
0 siblings, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2022-08-09 18:30 UTC (permalink / raw)
To: help-gnu-emacs
> Date: Tue, 9 Aug 2022 20:21:00 +0200
> Cc: help-gnu-emacs@gnu.org
> From: Andreas Röhler <andreas.roehler@easy-emacs.de>
>
>
> 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:
Did you clean the tree before building it? If not, you likely have
files from the previous build lying around and breaking the build.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Building from source on 5.15.0-43-generic #46-Ubuntu x86_64 GNU/Linux
2022-08-09 18:30 ` Eli Zaretskii
@ 2022-08-10 6:01 ` Andreas Röhler
0 siblings, 0 replies; 8+ messages in thread
From: Andreas Röhler @ 2022-08-10 6:01 UTC (permalink / raw)
To: help-gnu-emacs
Am 09.08.22 um 20:30 schrieb Eli Zaretskii:
>
> Did you clean the tree before building it? If not, you likely have
> files from the previous build lying around and breaking the build.
>
Success from a fresh repo, thanks.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2022-08-10 6:01 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2022-08-09 18:30 ` Eli Zaretskii
2022-08-10 6:01 ` Andreas Röhler
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).