unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Need help compiling emacs 27.2
@ 2023-01-14  3:28 Ruijie Yu via Emacs development discussions.
  2023-01-14  7:33 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Ruijie Yu via Emacs development discussions. @ 2023-01-14  3:28 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 681 bytes --]


Hello,

I was trying to compile emacs 27.2 for some testing, but the build
fails.  I am not sure what I am missing, as this is the first time I
compile Emacs from source manually.  Any hints are appreciated.

What I did:

$ git clone --bare <url> /opt/src/emacs.git
$ cd /opt/src/emacs.git
$ git worktree add ../emacs-27.2 tags/emacs-27.2
$ cd ../emacs-27.2
$ make
...
  CC       sysdep.o
sysdep.c:1821:22: error: variably modified ‘sigsegv_stack’ at file scope
 1821 | static unsigned char sigsegv_stack[SIGSTKSZ];
      |                      ^~~~~~~~~~~~~
make[2]: *** [Makefile:406: sysdep.o] Error 1

See the attachment for full output of `make'.


[-- Attachment #2: emacs-27.2-failed.txt --]
[-- Type: text/plain, Size: 51824 bytes --]

There seems to be no "configure" file in this directory.
Running ./autogen.sh ...
./autogen.sh
Checking whether you have the necessary tools...
(Read INSTALL.REPO for more details on building Emacs)
Checking for autoconf (need at least version 2.65) ... ok
Your system has the required tools.
Building aclocal.m4 ...
Running 'autoreconf -fi -I m4' ...
configure.ac:866: warning: The macro `AC_PROG_CC_STDC' is obsolete.
configure.ac:866: You should run autoupdate.
m4/std-gnu11.m4:476: AC_PROG_CC_STDC is expanded from...
m4/gnulib-common.m4:307: gl_PROG_CC_C99 is expanded from...
configure.ac:866: the top level
configure.ac:897: warning: The macro `AC_GNU_SOURCE' is obsolete.
configure.ac:897: You should run autoupdate.
./lib/autoconf/specific.m4:312: AC_GNU_SOURCE is expanded from...
m4/gnulib-comp.m4:34: gl_EARLY is expanded from...
configure.ac:897: the top level
configure.ac:1807: warning: Checking for headers with the preprocessor is
configure.ac:1807: deprecated. Specify prerequisite code to AC_CHECK_HEADER
configure.ac:1807: instead of using fourth argument `-'. (Many headers need
configure.ac:1807: no prerequisites. If you truly need to test whether
configure.ac:1807: something passes the preprocessor but not the compiler,
configure.ac:1807: use AC_PREPROC_IFELSE.)
./lib/autoconf/headers.m4:115: _AC_CHECK_HEADER_PREPROC is expanded from...
./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from...
./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from...
configure.ac:1807: the top level
configure.ac:1808: warning: The macro `AC_HEADER_TIME' is obsolete.
configure.ac:1808: You should run autoupdate.
./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from...
configure.ac:1808: the top level
configure.ac:4705: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:4705: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
configure.ac:4705: the top level
You can now run './configure'.
"configure" file built.
There seems to be no Makefile in this directory.
Running ./configure ...
./configure
checking for xcrun... no
checking for GNU Make... make
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc and cc understand -c and -o together... yes
checking for putenv... yes
checking for getpagesize... yes
checking for sbrk... yes
checking for fork... yes
checking for vfork... yes
checking for fchmod... yes
checking for canonicalize_file_name... yes
checking for getcwd... yes
checking for readlink... yes
checking for realpath... yes
checking for readlinkat... yes
checking for explicit_bzero... yes
checking for faccessat... yes
checking for fcntl... yes
checking for fdopendir... yes
checking for fstatat... yes
checking for fsync... yes
checking for gettimeofday... yes
checking for lstat... yes
checking for mkostemp... yes
checking for tzset... yes
checking for pipe2... yes
checking for pselect... yes
checking for pthread_sigmask... yes
checking for isblank... yes
checking for iswctype... yes
checking for strtoimax... yes
checking for symlink... yes
checking for localtime_r... yes
checking for timegm... yes
checking for futimes... yes
checking for futimesat... yes
checking for futimens... yes
checking for utimensat... yes
checking for lutimes... yes
checking for getdtablesize... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for linux/fs.h... yes
checking for malloc.h... yes
checking for sys/systeminfo.h... no
checking for sys/sysinfo.h... yes
checking for coff.h... no
checking for pty.h... yes
checking for sys/resource.h... yes
checking for sys/utsname.h... yes
checking for pwd.h... yes
checking for utmp.h... yes
checking for util.h... no
checking for sys/time.h... yes
checking for sys/socket.h... yes
checking for sys/param.h... yes
checking for pthread.h... yes
checking for malloc/malloc.h... no
checking for sys/un.h... yes
checking for vfork.h... no
checking for dirent.h... yes
checking for execinfo.h... yes
checking for stdio_ext.h... yes
checking for sys/vfs.h... yes
checking for sys/fs_types.h... no
checking for getopt.h... yes
checking for sys/cdefs.h... yes
checking for ieee754.h... yes
checking for limits.h... yes
checking for wchar.h... yes
checking for sys/select.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for Minix Amsterdam compiler... no
checking for ar... ar
checking for ranlib... ranlib
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether gcc accepts -g3 -O2... yes
checking whether the compiler is clang... no
checking whether C compiler handles -Werror -Wunknown-warning-option... no
checking whether -Wno-missing-field-initializers is supported... yes
checking whether -Wno-missing-field-initializers is needed... no
checking whether -Wuninitialized is supported... yes
checking max safe object size... 9223372036854775807
checking whether C compiler handles -fno-common... yes
checking whether C compiler handles -W... yes
checking whether C compiler handles -Wabsolute-value... yes
checking whether C compiler handles -Waddress... yes
checking whether C compiler handles -Waddress-of-packed-member... yes
checking whether C compiler handles -Waggressive-loop-optimizations... yes
checking whether C compiler handles -Wall... yes
checking whether C compiler handles -Wattribute-warning... yes
checking whether C compiler handles -Wattributes... yes
checking whether C compiler handles -Wbool-compare... yes
checking whether C compiler handles -Wbool-operation... yes
checking whether C compiler handles -Wbuiltin-declaration-mismatch... yes
checking whether C compiler handles -Wbuiltin-macro-redefined... yes
checking whether C compiler handles -Wcannot-profile... yes
checking whether C compiler handles -Wcast-function-type... yes
checking whether C compiler handles -Wchar-subscripts... yes
checking whether C compiler handles -Wclobbered... yes
checking whether C compiler handles -Wcomment... yes
checking whether C compiler handles -Wcomments... yes
checking whether C compiler handles -Wcoverage-mismatch... yes
checking whether C compiler handles -Wcpp... yes
checking whether C compiler handles -Wdangling-else... yes
checking whether C compiler handles -Wdate-time... yes
checking whether C compiler handles -Wdeprecated... yes
checking whether C compiler handles -Wdeprecated-declarations... yes
checking whether C compiler handles -Wdesignated-init... yes
checking whether C compiler handles -Wdisabled-optimization... yes
checking whether C compiler handles -Wdiscarded-array-qualifiers... yes
checking whether C compiler handles -Wdiscarded-qualifiers... yes
checking whether C compiler handles -Wdiv-by-zero... yes
checking whether C compiler handles -Wdouble-promotion... yes
checking whether C compiler handles -Wduplicated-cond... yes
checking whether C compiler handles -Wduplicate-decl-specifier... yes
checking whether C compiler handles -Wempty-body... yes
checking whether C compiler handles -Wendif-labels... yes
checking whether C compiler handles -Wenum-compare... yes
checking whether C compiler handles -Wexpansion-to-defined... yes
checking whether C compiler handles -Wextra... yes
checking whether C compiler handles -Wformat-contains-nul... yes
checking whether C compiler handles -Wformat-extra-args... yes
checking whether C compiler handles -Wformat-security... yes
checking whether C compiler handles -Wformat-signedness... yes
checking whether C compiler handles -Wformat-y2k... yes
checking whether C compiler handles -Wformat-zero-length... yes
checking whether C compiler handles -Wframe-address... yes
checking whether C compiler handles -Wfree-nonheap-object... yes
checking whether C compiler handles -Whsa... yes
checking whether C compiler handles -Wif-not-aligned... yes
checking whether C compiler handles -Wignored-attributes... yes
checking whether C compiler handles -Wignored-qualifiers... yes
checking whether C compiler handles -Wimplicit... yes
checking whether C compiler handles -Wimplicit-function-declaration... yes
checking whether C compiler handles -Wimplicit-int... yes
checking whether C compiler handles -Wincompatible-pointer-types... yes
checking whether C compiler handles -Winit-self... yes
checking whether C compiler handles -Wint-conversion... yes
checking whether C compiler handles -Wint-in-bool-context... yes
checking whether C compiler handles -Wint-to-pointer-cast... yes
checking whether C compiler handles -Winvalid-memory-model... yes
checking whether C compiler handles -Winvalid-pch... yes
checking whether C compiler handles -Wlogical-not-parentheses... yes
checking whether C compiler handles -Wlogical-op... yes
checking whether C compiler handles -Wmain... yes
checking whether C compiler handles -Wmaybe-uninitialized... yes
checking whether C compiler handles -Wmemset-elt-size... yes
checking whether C compiler handles -Wmemset-transposed-args... yes
checking whether C compiler handles -Wmisleading-indentation... yes
checking whether C compiler handles -Wmissing-attributes... yes
checking whether C compiler handles -Wmissing-braces... yes
checking whether C compiler handles -Wmissing-declarations... yes
checking whether C compiler handles -Wmissing-include-dirs... yes
checking whether C compiler handles -Wmissing-parameter-type... yes
checking whether C compiler handles -Wmissing-profile... yes
checking whether C compiler handles -Wmissing-prototypes... yes
checking whether C compiler handles -Wmultichar... yes
checking whether C compiler handles -Wmultistatement-macros... yes
checking whether C compiler handles -Wnarrowing... yes
checking whether C compiler handles -Wnested-externs... yes
checking whether C compiler handles -Wnonnull... yes
checking whether C compiler handles -Wnonnull-compare... yes
checking whether C compiler handles -Wnull-dereference... yes
checking whether C compiler handles -Wodr... yes
checking whether C compiler handles -Wold-style-declaration... yes
checking whether C compiler handles -Wold-style-definition... yes
checking whether C compiler handles -Wopenmp-simd... yes
checking whether C compiler handles -Woverflow... yes
checking whether C compiler handles -Wpacked... yes
checking whether C compiler handles -Wpacked-bitfield-compat... yes
checking whether C compiler handles -Wpacked-not-aligned... yes
checking whether C compiler handles -Wparentheses... yes
checking whether C compiler handles -Wpointer-arith... yes
checking whether C compiler handles -Wpointer-compare... yes
checking whether C compiler handles -Wpointer-sign... yes
checking whether C compiler handles -Wpointer-to-int-cast... yes
checking whether C compiler handles -Wpragmas... yes
checking whether C compiler handles -Wpsabi... yes
checking whether C compiler handles -Wrestrict... yes
checking whether C compiler handles -Wreturn-local-addr... yes
checking whether C compiler handles -Wreturn-type... yes
checking whether C compiler handles -Wscalar-storage-order... yes
checking whether C compiler handles -Wsequence-point... yes
checking whether C compiler handles -Wshift-count-negative... yes
checking whether C compiler handles -Wshift-count-overflow... yes
checking whether C compiler handles -Wshift-negative-value... yes
checking whether C compiler handles -Wsizeof-array-argument... yes
checking whether C compiler handles -Wsizeof-pointer-div... yes
checking whether C compiler handles -Wsizeof-pointer-memaccess... yes
checking whether C compiler handles -Wstrict-aliasing... yes
checking whether C compiler handles -Wstrict-prototypes... yes
checking whether C compiler handles -Wstringop-truncation... yes
checking whether C compiler handles -Wsuggest-attribute=format... yes
checking whether C compiler handles -Wsuggest-attribute=malloc... yes
checking whether C compiler handles -Wsuggest-attribute=noreturn... yes
checking whether C compiler handles -Wsuggest-final-methods... yes
checking whether C compiler handles -Wsuggest-final-types... yes
checking whether C compiler handles -Wswitch-bool... yes
checking whether C compiler handles -Wswitch-unreachable... yes
checking whether C compiler handles -Wtautological-compare... yes
checking whether C compiler handles -Wtrampolines... yes
checking whether C compiler handles -Wtrigraphs... yes
checking whether C compiler handles -Wuninitialized... yes
checking whether C compiler handles -Wunknown-pragmas... yes
checking whether C compiler handles -Wunused... yes
checking whether C compiler handles -Wunused-but-set-parameter... yes
checking whether C compiler handles -Wunused-but-set-variable... yes
checking whether C compiler handles -Wunused-function... yes
checking whether C compiler handles -Wunused-label... yes
checking whether C compiler handles -Wunused-local-typedefs... yes
checking whether C compiler handles -Wunused-macros... yes
checking whether C compiler handles -Wunused-result... yes
checking whether C compiler handles -Wunused-value... yes
checking whether C compiler handles -Wunused-variable... yes
checking whether C compiler handles -Wvarargs... yes
checking whether C compiler handles -Wvariadic-macros... yes
checking whether C compiler handles -Wvector-operation-performance... yes
checking whether C compiler handles -Wvolatile-register-var... yes
checking whether C compiler handles -Wwrite-strings... yes
checking whether C compiler handles -Walloc-size-larger-than=9223372036854775807... yes
checking whether C compiler handles -Warray-bounds=2... yes
checking whether C compiler handles -Wattribute-alias=2... yes
checking whether C compiler handles -Wformat-truncation=2... yes
checking whether C compiler handles -Wimplicit-fallthrough=5... yes
checking whether C compiler handles -Wnormalized=nfc... yes
checking whether C compiler handles -Wshift-overflow=2... yes
checking whether C compiler handles -Wstringop-overflow=2... yes
checking whether C compiler handles -Wvla-larger-than=4031... yes
checking whether C compiler handles -Wredundant-decls... yes
checking whether C compiler handles -Wno-missing-field-initializers... yes
checking whether C compiler handles -Wno-override-init... yes
checking whether C compiler handles -Wno-sign-compare... yes
checking whether C compiler handles -Wno-type-limits... yes
checking whether C compiler handles -Wno-unused-parameter... yes
checking whether C compiler handles -Wno-format-nonliteral... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking command to symlink files in the same directory... ln -s
checking for install-info... /usr/bin/install-info
checking for gzip... /usr/bin/gzip
checking for 'find' args to delete a file... -delete
checking for brew... no
checking for -znocombreloc... not needed
checking whether addresses are sanitized... no
checking for library containing sqrt... -lm
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for machine/soundcard.h... no
checking for sys/soundcard.h... yes
checking for soundcard.h... no
checking for mmsystem.h... no
checking for _oss_ioctl in -lossaudio... no
checking for alsa >= 1.0.0... yes
checking for ADDR_NO_RANDOMIZE... yes
checking if Linux sysinfo may be used... yes
checking for term.h... yes
checking whether sys_siglist is declared... no
checking whether __sys_siglist is declared... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for net/if.h... yes
checking for ifaddrs.h... yes
checking for net/if_dl.h... no
checking for struct ifreq.ifr_flags... yes
checking for struct ifreq.ifr_hwaddr... yes
checking for struct ifreq.ifr_netmask... yes
checking for struct ifreq.ifr_broadaddr... yes
checking for struct ifreq.ifr_addr... yes
checking for struct ifreq.ifr_addr.sa_len... no
checking whether gcc understands -MMD -MF... yes
checking for X... libraries , headers 
checking whether malloc is Doug Lea style... no
checking for working mmap... yes
checking for main in -lXbsd... no
checking for pthread library... none needed
checking for thread support... yes
checking whether X on GNU/Linux needs -b to link... no
checking for Xkb... yes
checking for XrmSetDatabase... yes
checking for XScreenResourceString... yes
checking for XScreenNumberOfScreen... yes
checking X11 version 6... 6 or newer
checking for librsvg-2.0 >= 2.14.0... yes
checking for getaddrinfo_a in -lanl... yes
checking for gtk+-3.0 >= 3.10 glib-2.0 >= 2.37.5... yes
checking whether GTK compiles... yes
configure: WARNING: Your version of Gtk+ will have problems with
       closing open displays.  This is no problem if you just use
       one display, but if you use more than one and close one of them
       Emacs may crash.
       See https://gitlab.gnome.org/GNOME/gtk/issues/221
checking for dbus-1 >= 1.0... yes
checking for dbus_watch_get_unix_fd... yes
checking for dbus_type_is_valid... yes
checking for dbus_validate_bus_name... yes
checking for dbus_validate_path... yes
checking for dbus_validate_interface... yes
checking for dbus_validate_member... yes
checking for gio-2.0 >= 2.26... yes
checking whether GSettings is in gio... yes
checking for gobject-2.0 >= 2.0... yes
checking for lgetfilecon in -lselinux... no
checking for gnutls >= 2.12.2... yes
checking for libsystemd >= 222... yes
checking for jansson >= 2.7... yes
checking for sys/inotify.h... yes
checking for inotify_init1... yes
checking for X11/extensions/Xrender.h... yes
checking for XRenderQueryExtension in -lXrender... yes
checking for fontconfig >= 2.2.0... yes
checking for xft >= 0.13.0... yes
checking for X11/Xft/Xft.h... yes
checking for XftFontOpen in -lXft... yes
checking for freetype2... yes
checking for FT_Face_GetCharVariantIndex... yes
checking for libotf... yes
checking for OTF_get_variation_glyphs in -lotf... yes
checking for m17n-flt... yes
checking for harfbuzz >= 0.9.42... yes
checking for X11/Xlib-xcb.h... yes
checking for xcb_translate_coordinates in -lxcb... yes
checking for XGetXCBConnection in -lX11-xcb... yes
checking for X11/xpm.h... yes
checking for XpmReadFileToPixmap in -lXpm... yes
checking for XpmReturnAllocPixels preprocessor define... yes
checking for jpeglib 6b or later... -ljpeg
checking for lcms2... yes
checking for library containing inflateEnd... -lz
checking for dladdr... yes
checking for dlfunc... no
checking for libpng >= 1.0.0... yes
checking whether png_longjmp is declared... yes
checking for tiffio.h... yes
checking for TIFFGetVersion in -ltiff... yes
checking for gif_lib.h... yes
checking for GifMakeMapObject in -lgif... yes
checking for gpm.h... yes
checking for Gpm_Open in -lgpm... yes
checking for X11/SM/SMlib.h... yes
checking for SmcOpenConnection in -lSM... yes
checking for xrandr >= 1.2.2... yes
checking for xinerama >= 1.0.2... yes
checking for xfixes >= 4.0.0... yes
checking for X11/extensions/Xdbe.h... yes
checking for XdbeAllocateBackBufferName in -lXext... yes
checking for libxml-2.0 > 2.6.17... yes
checking for htmlReadMemory in -lxml2... yes
checking for maillock in -lmail... no
checking for maillock in -llockfile... no
checking for liblockfile.so... no
checking for maillock.h... no
checking for accept4... yes
checking for fchdir... yes
checking for gethostname... yes
checking for getrusage... yes
checking for get_current_dir_name... yes
checking for lrand48... yes
checking for random... yes
checking for rint... yes
checking for trunc... yes
checking for select... yes
checking for getpagesize... (cached) yes
checking for setlocale... yes
checking for newlocale... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for shutdown... yes
checking for pthread_sigmask... (cached) yes
checking for strsignal... yes
checking for setitimer... yes
checking for timer_getoverrun... yes
checking for sendto... yes
checking for recvfrom... yes
checking for getsockname... yes
checking for getifaddrs... yes
checking for freeifaddrs... yes
checking for gai_strerror... yes
checking for sync... yes
checking for getpwent... yes
checking for endpwent... yes
checking for getgrent... yes
checking for endgrent... yes
checking for cfmakeraw... yes
checking for cfsetspeed... yes
checking for __executable_start... yes
checking for log2... yes
checking for pthread_setname_np... yes
checking whether pthread_setname_np takes a single argument... no
checking whether pthread_setname_np takes three arguments... no
checking for aligned_alloc... yes
checking whether aligned_alloc is declared... yes
checking for posix_madvise... yes
checking for __builtin_frame_address... yes
checking for __builtin_unwind_init... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for grantpt... yes
checking for getpt... yes
checking for posix_openpt... yes
checking for library containing tputs... -ltinfo
checking for timerfd interface... yes
checking whether signals can be handled on alternate stack... yes
checking for gmp.h... yes
checking for library containing __gmpz_roinit_n... -lgmp
checking for valgrind/valgrind.h... no
checking for struct unipair.unicode... yes
checking for pid_t... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for snprintf... yes
checking whether GLib is linked in... yes
checking for nl_langinfo and CODESET... yes
checking for nl_langinfo and _NL_PAPER_WIDTH... yes
checking for mbstate_t... yes
checking for signals via characters... yes
checking for _setjmp... yes
checking for sigsetjmp... yes
checking for usable FIONREAD... yes
checking for usable SIGIO... yes
checking for struct alignment... yes
checking for typeof syntax and keyword spelling... typeof
checking for statement expressions... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether // is distinct from /... no
checking whether realpath works... yes
checking for unsigned long long int... yes
checking whether byte ordering is bigendian... no
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking if environ is properly declared... yes
checking for complete errno.h... yes
checking whether lstat correctly handles trailing slash... yes
checking for mode_t... yes
checking for st_dm_mode in struct stat... no
checking whether strmode is declared... no
checking for gawk... gawk
checking for getopt.h... (cached) yes
checking for getopt_long_only... yes
checking whether getopt is POSIX compatible... yes
checking for working GNU getopt function... yes
checking for working GNU getopt_long function... yes
checking for C/C++ restrict keyword... __restrict
checking for struct timeval... yes
checking for wide-enough struct timeval.tv_sec member... yes
checking whether limits.h has LLONG_MAX, WORD_BIT, ULLONG_WIDTH etc.... yes
checking for long long int... yes
checking whether stdint.h conforms to C99... yes
checking whether stdint.h predates C++11... no
checking whether stdint.h has UINTMAX_WIDTH etc.... yes
checking whether memmem is declared... yes
checking whether memrchr is declared... yes
checking whether <limits.h> defines MIN and MAX... no
checking whether <sys/param.h> defines MIN and MAX... yes
checking whether time_t is signed... yes
checking whether alarm is declared... yes
checking for working mktime... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct tm.tm_gmtoff... yes
checking whether <sys/select.h> is self-contained... yes
checking for inline... inline
checking for GNU libc compatible malloc... yes
checking whether we are using the GNU C Library >= 2.1 or uClibc... yes
checking for sigset_t... yes
checking for wchar_t... yes
checking whether strnlen is declared... yes
checking whether strtoimax is declared... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking whether stat file-mode macros are broken... no
checking for struct timespec in <time.h>... yes
checking whether clearerr_unlocked is declared... yes
checking whether feof_unlocked is declared... yes
checking whether ferror_unlocked is declared... yes
checking whether fflush_unlocked is declared... yes
checking whether fgets_unlocked is declared... yes
checking whether fputc_unlocked is declared... yes
checking whether fputs_unlocked is declared... yes
checking whether fread_unlocked is declared... yes
checking whether fwrite_unlocked is declared... yes
checking whether getc_unlocked is declared... yes
checking whether getchar_unlocked is declared... yes
checking whether putc_unlocked is declared... yes
checking whether putchar_unlocked is declared... yes
checking whether the utimes function works... yes
checking type of array argument to getgroups... gid_t
checking whether getdtablesize is declared... yes
checking for O_CLOEXEC... yes
checking for promoted mode_t type... mode_t
checking for sys/acl.h... yes
checking for library containing acl_get_file... -lacl
checking for acl_get_file... yes
checking for acl_get_fd... yes
checking for acl_set_file... yes
checking for acl_set_fd... yes
checking for acl_free... yes
checking for acl_from_mode... yes
checking for acl_from_text... yes
checking for acl_delete_def_file... yes
checking for acl_extended_file... yes
checking for acl_delete_fd_np... no
checking for acl_delete_file_np... no
checking for acl_copy_ext_native... no
checking for acl_create_entry_np... no
checking for acl_to_short_text... no
checking for acl_free_text... no
checking for working acl_get_file... yes
checking for acl/libacl.h... yes
checking for acl_entries... yes
checking for ACL_FIRST_ENTRY... yes
checking for ACL_TYPE_EXTENDED... no
checking for alloca as a compiler built-in... yes
checking for __builtin_expect... yes
checking for byteswap.h... yes
checking for library containing clock_gettime... none required
checking for clock_gettime... yes
checking for clock_settime... yes
checking for copy_file_range... yes
checking for d_type member in directory struct... yes
checking whether // is distinct from /... (cached) no
checking whether dup2 works... yes
checking for library containing backtrace_symbols_fd... none required
checking whether fcntl handles F_DUPFD correctly... yes
checking whether fcntl understands F_DUPFD_CLOEXEC... needs runtime check
checking whether fdopendir is declared... yes
checking whether fdopendir works... yes
checking for flexible array member... yes
checking for __fpending... yes
checking whether __fpending is declared... yes
checking whether fstatat (..., 0) works... yes
checking for sys/mount.h... yes
checking how to get file system space usage... checking for statvfs function (SVR4)... yes
checking whether to use statvfs64... no
checking for two-argument statfs with statfs.f_frsize member... yes
checking for sys/fs/s5param.h... no
checking for sys/statfs.h... yes
checking for statfs that truncates block counts... no
checking for getloadavg... yes
checking for sys/loadavg.h... no
checking whether getloadavg is declared... yes
checking whether gettimeofday clobbers localtime buffer... no
checking for gettimeofday with POSIX signature... yes
checking for memmem... yes
checking whether memmem works... yes
checking for mempcpy... yes
checking for memrchr... yes
checking whether signature of pselect conforms to POSIX... yes
checking whether pselect detects invalid fds... yes
checking whether pthread_sigmask is a macro... no
checking whether pthread_sigmask works without -lpthread... yes
checking whether pthread_sigmask returns error numbers... yes
checking whether pthread_sigmask unblocks signals correctly... guessing yes
checking whether readlink signature is correct... yes
checking whether readlink handles trailing slash correctly... yes
checking whether readlinkat signature is correct... yes
checking for working re_compile_pattern... no
checking for libintl.h... yes
checking whether isblank is declared... yes
checking for sig2str... no
checking for volatile sig_atomic_t... yes
checking for sighandler_t... yes
checking for socklen_t... yes
checking for ssize_t... yes
checking for struct stat.st_atim.tv_nsec... yes
checking whether struct stat.st_atim is of type struct timespec... yes
checking for struct stat.st_birthtimespec.tv_nsec... no
checking for struct stat.st_birthtimensec... no
checking for struct stat.st_birthtim.tv_nsec... no
checking for working stdalign.h... yes
checking for good max_align_t... yes
checking whether NULL can be used in arbitrary expressions... yes
checking which flavor of printf attribute matches inttypes macros... system
checking for stpcpy... yes
checking for working strnlen... yes
checking whether strtoimax works... yes
checking whether symlink handles trailing slash correctly... yes
checking for nlink_t... yes
checking whether localtime_r is declared... yes
checking whether localtime_r is compatible with its POSIX signature... yes
checking whether localtime loops forever near extrema... no
checking for timezone_t... no
checking for library containing timer_settime... none required
checking for timer_settime... yes
checking for variable-length arrays... yes
checking whether getdtablesize works... yes
checking whether the compiler supports the __inline keyword... yes
checking for gcc option to disable position independent executables... not needed

Configured for 'x86_64-pc-linux-gnu'.

  Where should the build process find the source code?    .
  What compiler should emacs be built with?               gcc -g3 -O2
  Should Emacs use the GNU version of malloc?             no
    (The GNU allocators don't work with this system configuration.)
  Should Emacs use a relocating allocator for buffers?    no
  Should Emacs use mmap(2) for buffer allocation?         no
  What window system should Emacs use?                    x11
  What toolkit should Emacs use?                          GTK3
  Where do we find X Windows header files?                Standard dirs
  Where do we find X Windows libraries?                   Standard dirs
  Does Emacs use -lXaw3d?                                 no
  Does Emacs use -lXpm?                                   yes
  Does Emacs use -ljpeg?                                  yes
  Does Emacs use -ltiff?                                  yes
  Does Emacs use a gif library?                           yes -lgif
  Does Emacs use a png library?                           yes -lpng16 
  Does Emacs use -lrsvg-2?                                yes
  Does Emacs use cairo?                                   no
  Does Emacs use -llcms2?                                 yes
  Does Emacs use imagemagick?                             no
  Does Emacs support sound?                               yes
  Does Emacs use -lgpm?                                   yes
  Does Emacs use -ldbus?                                  yes
  Does Emacs use -lgconf?                                 no
  Does Emacs use GSettings?                               yes
  Does Emacs use a file notification library?             yes -lglibc (inotify)
  Does Emacs use access control lists?                    yes -lacl
  Does Emacs use -lselinux?                               no
  Does Emacs use -lgnutls?                                yes
  Does Emacs use -lxml2?                                  yes
  Does Emacs use -lfreetype?                              yes
  Does Emacs use HarfBuzz?                                yes
  Does Emacs use -lm17n-flt?                              yes
  Does Emacs use -lotf?                                   yes
  Does Emacs use -lxft?                                   yes
  Does Emacs use -lsystemd?                               yes
  Does Emacs use -ljansson?                               yes
  Does Emacs use -lgmp?                                   yes
  Does Emacs directly use zlib?                           yes
  Does Emacs have dynamic modules support?                yes
  Does Emacs use toolkit scroll bars?                     yes
  Does Emacs support Xwidgets (requires gtk3)?            no
  Does Emacs have threading support in lisp?              yes
  Does Emacs support the portable dumper?                 yes
  Does Emacs support legacy unexec dumping?               no
  Which dumping strategy does Emacs use?                  pdumper


configure: creating ./config.status
config.status: creating src/emacs-module.h
config.status: creating Makefile
config.status: creating lib/gnulib.mk
config.status: creating ./doc/man/emacs.1
config.status: creating lib/Makefile
config.status: creating lib-src/Makefile
config.status: creating oldXMenu/Makefile
config.status: creating doc/emacs/Makefile
config.status: creating doc/misc/Makefile
config.status: creating doc/lispintro/Makefile
config.status: creating doc/lispref/Makefile
config.status: creating src/Makefile
config.status: creating lwlib/Makefile
config.status: creating lisp/Makefile
config.status: creating leim/Makefile
config.status: creating nextstep/Makefile
config.status: creating nt/Makefile
config.status: creating test/Makefile
config.status: creating admin/charsets/Makefile
config.status: creating admin/unidata/Makefile
config.status: creating admin/grammars/Makefile
config.status: creating src/config.h
config.status: executing src/epaths.h commands
make[1]: Entering directory '/opt/src/emacs-27.2'
make[1]: Leaving directory '/opt/src/emacs-27.2'
config.status: executing src/.gdbinit commands
config.status: executing doc/emacs/emacsver.texi commands
config.status: executing etc-refcards-emacsver.tex commands
configure: WARNING: This configuration installs a 'movemail' program
that does not retrieve POP3 email.  By default, Emacs 25 and earlier
installed a 'movemail' program that retrieved POP3 email via only
insecure channels, a practice that is no longer recommended but that
you can continue to support by using './configure --with-pop'.
configure: You might want to install GNU Mailutils
<https://mailutils.org> and use './configure --with-mailutils'.
Makefile built.
make -f Makefile 
make[1]: Entering directory '/opt/src/emacs-27.2'
make -C lib all
make[2]: Entering directory '/opt/src/emacs-27.2/lib'
  GEN      alloca.h
  GEN      dirent.h
  GEN      fcntl.h
  GEN      inttypes.h
  GEN      limits.h
  GEN      signal.h
  GEN      stdio.h
  GEN      stdlib.h
  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
  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’:
careadlinkat.c:160:1: warning: function may return address of local variable [-Wreturn-local-addr]
  160 | }
      | ^
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 *[2]’
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 *[2]’
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 ‘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 *[2]’
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: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 *[2]’
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 *[2]’
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: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 *[2]’
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[2]: Leaving directory '/opt/src/emacs-27.2/lib'
make -C lib-src all
make[2]: Entering directory '/opt/src/emacs-27.2/lib-src'
  CCLD     etags
  CCLD     ctags
In file included from ctags.c:2:
etags.c: In function ‘main’:
etags.c:1401:9: warning: array subscript 11 is outside array bounds of ‘char[7]’ [-Warray-bounds]
 1401 |         *z++ = ' ';
      |         ^~~~
etags.c:1395:21: note: at offset 11 into object of size [0, 7] allocated by ‘xmalloc’
 1395 |         char *cmd = xmalloc (2 * strlen (tagfile) + sizeof "sort -u -o..");
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: warning: ‘__builtin_memcpy’ writing 12 bytes into a region of size between 0 and 7 [-Wstringop-overflow=]
etags.c:1395:21: note: destination object of size [0, 7] allocated by ‘xmalloc’
etags.c:1400:13: warning: ‘stpcpy’ offset 11 is out of the bounds [0, 7] [-Warray-bounds]
 1400 |         z = stpcpy (z, tagfile);
      |             ^~~~~~~~~~~~~~~~~~~
etags.c:1402:9: warning: ‘strcpy’ writing 1 or more bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
 1402 |         strcpy (z, tagfile);
      |         ^~~~~~~~~~~~~~~~~~~
etags.c:1395:21: note: at offset 12 into destination object of size [0, 7] allocated by ‘xmalloc’
 1395 |         char *cmd = xmalloc (2 * strlen (tagfile) + sizeof "sort -u -o..");
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CCLD     emacsclient
  CCLD     ebrowse
  CCLD     hexl
  CC       pop.o
  CCLD     movemail
  CCLD     make-docfile
  CCLD     make-fingerprint
make[2]: Leaving directory '/opt/src/emacs-27.2/lib-src'
make -C src VCSWITNESS='' all
make[2]: Entering directory '/opt/src/emacs-27.2/src'
  GEN      lisp.mk
  GEN      globals.h
  CC       dispnew.o
dispnew.c: In function ‘clear_glyph_row’:
dispnew.c:884:3: warning: ‘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]
  884 |   memset (row->used, 0, sizeof *row - off);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from termchar.h:23,
                 from dispnew.c:29:
dispextern.h:866:9: note: subobject ‘used’ declared here
  866 |   short used[1 + LAST_AREA];
      |         ^~~~
In function ‘clear_glyph_row’,
    inlined from ‘blank_row’ at dispnew.c:899:3:
dispnew.c:884:3: warning: ‘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]
  884 |   memset (row->used, 0, sizeof *row - off);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dispextern.h: In function ‘blank_row’:
dispextern.h:866:9: note: subobject ‘used’ declared here
  866 |   short used[1 + LAST_AREA];
      |         ^~~~
In function ‘clear_glyph_row’,
    inlined from ‘prepare_desired_row’ at dispnew.c:1110:7:
dispnew.c:884:3: warning: ‘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]
  884 |   memset (row->used, 0, sizeof *row - off);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dispextern.h: 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);
      |         ^~~~~~~~~
xdisp.c: In function ‘append_space_for_newline’:
xdisp.c:21600:7: warning: ‘memset’ offset [2352, 2359] from the object at ‘it’ is out of the bounds of referenced subobject ‘charpos’ with type ‘long int’ at offset 2344 [-Warray-bounds]
21600 |       memset (&it->position, 0, sizeof it->position);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from composite.h:29,
                 from xdisp.c:441:
dispextern.h:214:13: note: subobject ‘charpos’ declared here
  214 |   ptrdiff_t charpos;
      |             ^~~~~~~
xdisp.c: In function ‘extend_face_to_end_of_line’:
xdisp.c:21916:15: warning: ‘memset’ offset [2352, 2359] from the object at ‘it’ is out of the bounds of referenced subobject ‘charpos’ with type ‘long int’ at offset 2344 [-Warray-bounds]
21916 |               memset (&it->position, 0, sizeof it->position);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dispextern.h:214:13: note: subobject ‘charpos’ declared here
  214 |   ptrdiff_t charpos;
      |             ^~~~~~~
xdisp.c:21950:19: warning: ‘memset’ offset [2352, 2359] from the object at ‘it’ is out of the bounds of referenced subobject ‘charpos’ with type ‘long int’ at offset 2344 [-Warray-bounds]
21950 |                   memset (&it->position, 0, sizeof it->position);
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dispextern.h:214:13: note: subobject ‘charpos’ declared here
  214 |   ptrdiff_t charpos;
      |             ^~~~~~~
xdisp.c:22000:15: warning: ‘memset’ offset [2352, 2359] from the object at ‘it’ is out of the bounds of referenced subobject ‘charpos’ with type ‘long int’ at offset 2344 [-Warray-bounds]
22000 |               memset (&it->position, 0, sizeof it->position);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dispextern.h:214:13: note: subobject ‘charpos’ declared here
  214 |   ptrdiff_t charpos;
      |             ^~~~~~~
xdisp.c:22038:7: warning: ‘memset’ offset [2352, 2359] from the object at ‘it’ is out of the bounds of referenced subobject ‘charpos’ with type ‘long int’ at offset 2344 [-Warray-bounds]
22038 |       memset (&it->position, 0, sizeof it->position);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dispextern.h:214:13: note: subobject ‘charpos’ declared here
  214 |   ptrdiff_t charpos;
      |             ^~~~~~~
xdisp.c: In function ‘display_and_set_cursor’:
xdisp.c:31483:35: warning: ‘new_cursor_width’ may be used uninitialized [-Wmaybe-uninitialized]
31483 |               && new_cursor_width != w->phys_cursor_width)))
      |                  ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
xdisp.c:31413:7: note: ‘new_cursor_width’ declared here
31413 |   int new_cursor_width;
      |       ^~~~~~~~~~~~~~~~
xdisp.c:31483:35: warning: ‘new_cursor_width’ may be used uninitialized [-Wmaybe-uninitialized]
31483 |               && new_cursor_width != w->phys_cursor_width)))
      |                  ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
xdisp.c:31413:7: note: ‘new_cursor_width’ declared here
31413 |   int new_cursor_width;
      |       ^~~~~~~~~~~~~~~~
  CC       menu.o
  CC       xmenu.o
  CC       window.o
  CC       charset.o
  CC       coding.o
In file included from coding.c:292:
In function ‘XCAR’,
    inlined from ‘Ffind_operation_coding_system’ at coding.c:10690:14:
lisp.h:394:38: warning: array subscript 0 is outside array bounds of ‘union Lisp_X[0]’ [-Warray-bounds]
  394 | #define lisp_h_XCAR(c) XCONS (c)->u.s.car
      |                        ~~~~~~~~~~~~~~^~~~
lisp.h:1444:10: note: in expansion of macro ‘lisp_h_XCAR’
 1444 |   return lisp_h_XCAR (c);
      |          ^~~~~~~~~~~
  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 *);
      |                                                            ^~~~~~~~~~~~~
  CC       xterm.o
xterm.c: In function ‘x_draw_glyphless_glyph_string_foreground’:
xterm.c:2007:13: warning: storing the address of local variable ‘char2b’ in ‘*s.char2b’ [-Wdangling-pointer=]
 2007 |   s->char2b = char2b;
      |   ~~~~~~~~~~^~~~~~~~
xterm.c:1996:12: note: ‘char2b’ declared here
 1996 |   unsigned char2b[8];
      |            ^~~~~~
xterm.c:1996:12: note: ‘s’ declared here
  CC       xfns.o
  CC       xselect.o
  CC       xrdb.o
  CC       xsmfns.o
  CC       xsettings.o
  CC       gtkutil.o
  CC       emacsgtkfixed.o
  CC       dbusbind.o
In file included from dbusbind.c:26:
In function ‘XCDR’,
    inlined from ‘CDR_SAFE’ at lisp.h:1497:22,
    inlined from ‘xd_read_message_1’ at dbusbind.c:1590:13:
lisp.h:395:40: warning: potential null pointer dereference [-Wnull-dereference]
  395 | #define lisp_h_XCDR(c) XCONS (c)->u.s.u.cdr
      |                        ~~~~~~~~~~~~~~~~^~~~
lisp.h:1450:10: note: in expansion of macro ‘lisp_h_XCDR’
 1450 |   return lisp_h_XCDR (c);
      |          ^~~~~~~~~~~
  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[2]: *** [Makefile:406: sysdep.o] Error 1
make[2]: Leaving directory '/opt/src/emacs-27.2/src'
make[1]: *** [Makefile:424: src] Error 2
make[1]: Leaving directory '/opt/src/emacs-27.2'
make: *** [GNUmakefile:93: default] Error 2

[-- Attachment #3: Type: text/plain, Size: 214 bytes --]


I suspect my compiler and toolchain are too new, but I don't know where
exactly to look to ascertain that this is the case.  Thanks.

----------------
$ gcc --version
gcc (GCC) 12.2.0
----------------

Best,


RY

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

* Re: Need help compiling emacs 27.2
  2023-01-14  3:28 Need help compiling emacs 27.2 Ruijie Yu via Emacs development discussions.
@ 2023-01-14  7:33 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2023-01-14  7:33 UTC (permalink / raw)
  To: Ruijie Yu; +Cc: emacs-devel

> Date: Fri, 13 Jan 2023 21:28:47 -0600
> From:  Ruijie Yu via "Emacs development discussions." <emacs-devel@gnu.org>
> 
> $ git clone --bare <url> /opt/src/emacs.git
> $ cd /opt/src/emacs.git
> $ git worktree add ../emacs-27.2 tags/emacs-27.2
> $ cd ../emacs-27.2
> $ make
> ...
>   CC       sysdep.o
> sysdep.c:1821:22: error: variably modified ‘sigsegv_stack’ at file scope
>  1821 | static unsigned char sigsegv_stack[SIGSTKSZ];
>       |                      ^~~~~~~~~~~~~
> make[2]: *** [Makefile:406: sysdep.o] Error 1

This is due to a change in your system headers since Emacs 27 was
released.  See bug#51254, it describes a solution.



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

end of thread, other threads:[~2023-01-14  7:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-14  3:28 Need help compiling emacs 27.2 Ruijie Yu via Emacs development discussions.
2023-01-14  7:33 ` Eli Zaretskii

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

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

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