unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#41077: [feature/native-comp] Segfaults when compiling ELC+ELN
@ 2020-05-04 15:08 Kévin Le Gouguec
  2020-05-04 16:31 ` Andrea Corallo
  0 siblings, 1 reply; 13+ messages in thread
From: Kévin Le Gouguec @ 2020-05-04 15:08 UTC (permalink / raw)
  To: 41077

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

Hello,

I wanted to give the "feature/native-comp" branch a try on an old 32-bit
laptop I have lying around[1]; unfortunately compilation ended abruptly
on the first couple of ELC+ELN steps (emacs-lisp/macroexp.elc and
emacs-lisp/cconv.elc).  See [2] and [3] for fairly uninformative
backtraces; I installed libgccjit0-dbg between [2] and [3], hoping that
would make the backtrace more precise, but obviously this didn't work.

(I see that the second run started with lisp/abbrev.elc and
international/titdic-cnv.elc instead of emacs-lisp/macroexp.elc and
emacs-lisp/cconv.elc; is this expected because make(1) processes
dependencies in an arbitrary order, or is it possible that the first
aborted run left artifacts that lead make(1) to believe that the targets
are up-to-date?  FWIW there is a new folder called
eln-i686-pc-linux-gnu-639e57b3ce60d5a9 under lisp/emacs-lisp, which
contains 0-byte files named cconvPDRUUG.eln and macroexpWFTb2Q.eln.)


Is my setup supposed to be supported?  I haven't read everything related
to this new feature in detail, so maybe I missed a memo warning against
trying it out on i686.  Otherwise, is there anything I can do to make
this easier to debug?


Thank you for your time.


[1] $ uname -a
    Linux little-buster 4.19.0-8-686-pae #1 SMP Debian 4.19.98-1+deb10u1 (2020-04-27) i686 GNU/Linux

    $ apt policy libgccjit0
    libgccjit0:
      Installed: 8.3.0-6

    $ git rev-parse HEAD
    02e3ffad6d9f757599bb441704b6cf6494183174

[2]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: segfault.log --]
[-- Type: text/x-log, Size: 66045 bytes --]

-*- mode: compilation; default-directory: "~/Downloads/sources/emacs-meta/feature/native-comp/" -*-
Compilation started at Mon May  4 15:25:49

emacs-build
++ nproc --all
+ make='make -j2'
+ configure_flags='--with-xwidgets --with-cairo --with-nativecomp'
+ test -f Makefile
+ make -j2 configure
make: 'configure' is up to date.
+ check-config
+ test -f src/config.h
+ return 1
+ ./configure --with-xwidgets --with-cairo --with-nativecomp
checking for xcrun... no
checking for GNU Make... make
checking build system type... i686-pc-linux-gnu
checking host system type... i686-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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether the compiler is clang... no
checking for compiler option needed when checking for declarations... none
checking whether gcc and cc understand -c and -o together... yes
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 ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
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... 64
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... 2147483647
checking whether C compiler handles -fno-common... yes
checking whether C compiler handles -W... yes
checking whether C compiler handles -Wabsolute-value... no
checking whether C compiler handles -Waddress... yes
checking whether C compiler handles -Waddress-of-packed-member... no
checking whether C compiler handles -Waggressive-loop-optimizations... yes
checking whether C compiler handles -Wall... yes
checking whether C compiler handles -Wattribute-warning... no
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... no
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... no
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=2147483647... yes
checking whether C compiler handles -Warray-bounds=2... yes
checking whether C compiler handles -Wattribute-alias=2... no
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 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/socket.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) 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 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 sys/time.h... yes
checking for ieee754.h... yes
checking for limits.h... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for sys/select.h... yes
checking for sys/stat.h... (cached) yes
checking for ADDR_NO_RANDOMIZE... yes
checking if Linux sysinfo may be used... yes
checking for term.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether sys_siglist is declared... yes
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 getpagesize... yes
checking for working mmap... yes
checking for main in -lXbsd... no
checking for pthread library... -lpthread
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 webkit2gtk-4.0 >= 2.12... yes
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... yes
checking for gnutls >= 2.12.2... yes
checking for libsystemd >= 222... yes
checking for jansson >= 2.7... yes
checking sys/inotify.h usability... yes
checking sys/inotify.h presence... yes
checking for sys/inotify.h... yes
checking for inotify_init1... yes
checking X11/extensions/Xrender.h usability... yes
checking X11/extensions/Xrender.h presence... yes
checking for X11/extensions/Xrender.h... yes
checking for XRenderQueryExtension in -lXrender... yes
checking for cairo >= 1.8.0... yes
checking for freetype2... yes
checking for fontconfig >= 2.2.0... 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 X11/Xlib-xcb.h usability... yes
checking X11/Xlib-xcb.h presence... yes
checking for X11/Xlib-xcb.h... yes
checking for xcb_translate_coordinates in -lxcb... yes
checking for XGetXCBConnection in -lX11-xcb... yes
checking X11/xpm.h usability... yes
checking X11/xpm.h presence... 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 libgccjit.h usability... yes
checking libgccjit.h presence... yes
checking for libgccjit.h... yes
checking for gcc_jit_context_acquire in -lgccjit... yes
checking for libpng >= 1.0.0... yes
checking whether png_longjmp is declared... yes
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for TIFFGetVersion in -ltiff... yes
checking gif_lib.h usability... yes
checking gif_lib.h presence... yes
checking for gif_lib.h... yes
checking for GifMakeMapObject in -lgif... yes
checking gpm.h usability... yes
checking gpm.h presence... yes
checking for gpm.h... yes
checking for Gpm_Open in -lgpm... yes
checking X11/SM/SMlib.h usability... yes
checking X11/SM/SMlib.h presence... 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 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... no
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 gmp.h usability... yes
checking gmp.h presence... yes
checking for gmp.h... yes
checking for library containing __gmpz_roinit_n... -lgmp
checking valgrind/valgrind.h usability... no
checking valgrind/valgrind.h presence... no
checking for valgrind/valgrind.h... no
checking for struct unipair.unicode... yes
checking for sbrk... 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 fchmodat... yes
checking for lchmod... no
checking for fcntl... yes
checking for fdopendir... yes
checking for fstatat... yes
checking for fsync... yes
checking for futimens... 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 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 utimensat... yes
checking for getdtablesize... yes
checking for futimes... yes
checking for futimesat... yes
checking for lutimes... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... 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 C/C++ restrict keyword... __restrict
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... no
checking for mawk... mawk
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 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 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 stdlib.h... (cached) yes
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 thread-safe 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 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 whether the utimes function works... yes
checking sys/acl.h usability... yes
checking sys/acl.h presence... yes
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 acl/libacl.h usability... yes
checking acl/libacl.h presence... 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 byteswap.h usability... yes
checking byteswap.h presence... 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 fchmodat+AT_SYMLINK_NOFOLLOW works on non-symlinks... no
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 sys/fs/s5param.h usability... no
checking sys/fs/s5param.h presence... no
checking for sys/fs/s5param.h... no
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking for statfs that truncates block counts... no
checking whether futimens works... yes
checking for getloadavg... yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
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... almost
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 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 libintl.h usability... yes
checking libintl.h presence... yes
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... -lrt
checking for timer_settime... yes
checking whether utimensat works... 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 'i686-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 -lz
  Does Emacs use -lrsvg-2?                                yes
  Does Emacs use cairo?                                   yes
  Does Emacs use -llcms2?                                 yes
  Does Emacs use imagemagick?                             no
  Does Emacs use native APIs for images?                  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?                               yes
  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?                                   no
  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)?            yes
  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
  Does Emacs have native lisp compiler?                   yes


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
config.status: executing src/.gdbinit commands
config.status: executing doc/emacs/emacsver.texi commands
config.status: executing etc-refcards-emacsver.tex commands
+ make -j2
make -C lib all
make info-real info-dir
make[1]: Entering directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lib'
  GEN      alloca.h
make[1]: Entering directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp'
make -C doc/lispref info
  GEN      dirent.h
make[2]: Entering directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/doc/lispref'
/usr/bin/mkdir -p ../../info
  GEN      ../../info/elisp.info
  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       fchmodat.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
  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       openat-die.o
  CC       save-cwd.o
  AR       libgnu.a
make[1]: Leaving directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lib'
make -C lib-src all
make[1]: Entering directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lib-src'
  CCLD     etags
  CCLD     ctags
  CCLD     emacsclient
  CCLD     ebrowse
  CCLD     hexl
  CCLD     make-docfile
make[2]: Leaving directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/doc/lispref'
make -C doc/lispintro info
make[2]: Entering directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/doc/lispintro'
  GEN      ../../info/eintr.info
  CCLD     make-fingerprint
make[1]: Leaving directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lib-src'
make -C doc/emacs info
make[2]: Entering directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/doc/emacs'
  GEN      ../../info/emacs.info
make[2]: Leaving directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/doc/lispintro'
make -C doc/misc info
make[2]: Entering directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/doc/misc'
  GEN      ../../info/auth.info
  GEN      ../../info/autotype.info
  GEN      ../../info/bovine.info
  GEN      ../../info/calc.info
make[2]: Leaving directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/doc/emacs'
  GEN      info/dir
  GEN      ../../info/ccmode.info
  GEN      ../../info/cl.info
  GEN      ../../info/dbus.info
  GEN      ../../info/dired-x.info
  GEN      ../../info/ebrowse.info
  GEN      ../../info/ede.info
  GEN      ../../info/ediff.info
  GEN      ../../info/edt.info
  GEN      ../../info/eieio.info
  GEN      ../../info/emacs-mime.info
  GEN      ../../info/epa.info
  GEN      ../../info/erc.info
  GEN      ../../info/ert.info
  GEN      ../../info/eshell.info
  GEN      ../../info/eudc.info
  GEN      ../../info/efaq.info
  GEN      ../../info/eww.info
  GEN      ../../info/flymake.info
  GEN      ../../info/forms.info
  GEN      ../../info/gnus.info
  GEN      ../../info/emacs-gnutls.info
  GEN      ../../info/htmlfontify.info
  GEN      ../../info/idlwave.info
  GEN      ../../info/ido.info
  GEN      ../../info/info.info
  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
  GEN      ../../info/pgg.info
  GEN      ../../info/rcirc.info
  GEN      ../../info/remember.info
  GEN      ../../info/reftex.info
  GEN      ../../info/sasl.info
  GEN      ../../info/sc.info
  GEN      ../../info/semantic.info
  GEN      ../../info/ses.info
  GEN      ../../info/sieve.info
  GEN      ../../info/smtpmail.info
  GEN      ../../info/speedbar.info
  GEN      ../../info/srecode.info
  GEN      ../../info/todo-mode.info
  GEN      ../../info/tramp.info
  GEN      ../../info/url.info
  GEN      ../../info/vhdl-mode.info
  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
make -C src VCSWITNESS='' BIN_DESTDIR='/usr/local/bin/' \
	 LISP_DESTDIR='/usr/local/share/emacs/28.0.50/lisp/' all
make[1]: Entering directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/src'
  GEN      lisp.mk
  GEN      globals.h
  GEN      buildobj.h
make -C ../admin/charsets all
make[2]: Entering directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/admin/charsets'
  GEN      ../../etc/charsets/8859-2.map
  GEN      ../../etc/charsets/8859-3.map
  GEN      ../../etc/charsets/8859-4.map
  GEN      ../../etc/charsets/8859-5.map
  GEN      ../../etc/charsets/8859-6.map
  GEN      ../../etc/charsets/8859-7.map
  GEN      ../../etc/charsets/8859-8.map
  GEN      ../../etc/charsets/8859-9.map
  GEN      ../../etc/charsets/8859-10.map
  GEN      ../../etc/charsets/8859-11.map
  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
  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
make[2]: Leaving directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/doc/misc'
make[1]: Leaving directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp'
  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
make -C ../admin/unidata charscript.el
  GEN      ../../etc/charsets/IBM860.map
make[2]: Entering directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/admin/unidata'
  GEN      ../../etc/charsets/IBM861.map
  GEN      ../../lisp/international/charscript.el
make[2]: Leaving directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/admin/unidata'
make -C ../admin/charsets cp51932.el
  GEN      ../../etc/charsets/IBM862.map
make[2]: Entering directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/admin/charsets'
  GEN      ../../etc/charsets/CP932-2BYTE.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
  GEN      ../../etc/charsets/IBM880.map
  GEN      ../../etc/charsets/IBM891.map
  GEN      ../../lisp/international/cp51932.el
make[2]: Leaving directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/admin/charsets'
make -C ../admin/charsets eucjp-ms.el
make[2]: Entering directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/admin/charsets'
  GEN      ../../etc/charsets/IBM903.map
  GEN      ../../lisp/international/eucjp-ms.el
  GEN      ../../etc/charsets/IBM904.map
  GEN      ../../etc/charsets/IBM905.map
make[2]: Leaving directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/admin/charsets'
  GEN      ../../etc/charsets/IBM918.map
  CC       dispnew.o
  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
  GEN      ../../etc/charsets/CNS-4.map
  GEN      ../../etc/charsets/CNS-5.map
  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/JISX2132.map
  GEN      ../../etc/charsets/JISC6226.map
  GEN      ../../etc/charsets/JISX213A.map
  GEN      ../../etc/charsets/KSC5601.map
  GEN      ../../etc/charsets/KSC5636.map
  GEN      ../../etc/charsets/JOHAB.map
  CC       frame.o
  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/MULE-ethiopic.map
  GEN      ../../etc/charsets/MULE-ipa.map
  GEN      ../../etc/charsets/MULE-is13194.map
  GEN      ../../etc/charsets/MULE-sisheng.map
  GEN      ../../etc/charsets/MULE-tibetan.map
  GEN      ../../etc/charsets/MULE-lviscii.map
  GEN      ../../etc/charsets/MULE-uviscii.map
  GEN      ../../etc/charsets/GB180304.map
  GEN      ../../etc/charsets/JISX2131.map
  GEN      charsets.stamp
make[2]: Leaving directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/admin/charsets'
  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
  CC       bignum.o
  CC       buffer.o
  CC       filelock.o
  CC       insdel.o
  CC       marker.o
  CC       minibuf.o
  CC       fileio.o
  CC       dired.o
  CC       cmds.o
  CC       casetab.o
  CC       casefiddle.o
  CC       indent.o
  CC       search.o
  CC       regex-emacs.o
  CC       undo.o
  CC       alloc.o
  CC       pdumper.o
  CC       data.o
  CC       doc.o
  CC       editfns.o
  CC       callint.o
  CC       eval.o
  CC       floatfns.o
  CC       fns.o
  CC       font.o
  CC       print.o
  CC       lread.o
  CC       dynlib.o
  CC       emacs-module.o
  CC       syntax.o
  CC       bytecode.o
  CC       comp.o
  CC       process.o
  CC       gnutls.o
  CC       callproc.o
  CC       region-cache.o
  CC       sound.o
  CC       timefns.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       xwidget.o
  CC       profiler.o
  CC       decompress.o
  CC       thread.o
  CC       systhread.o
  CC       xfont.o
  CC       ftfont.o
  CC       ftcrfont.o
  CC       hbfont.o
  CC       fontset.o
  CC       fringe.o
  CC       image.o
  CC       xgselect.o
  CC       json.o
  CC       terminfo.o
  CC       lastfile.o
  CCLD     temacs
/usr/bin/mkdir -p ../etc
make -C ../lisp update-subdirs
make[2]: Entering directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp'
make[2]: Leaving directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp'
cp -f temacs bootstrap-emacs
rm -f bootstrap-emacs.pdmp
./temacs --batch  -l loadup --temacs=pbootstrap
Loading loadup.el (source)...
dump mode: pbootstrap
Using load-path (/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/emacs-lisp /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/progmodes /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/language /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/international /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/textmodes /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/vc)
Loading emacs-lisp/byte-run (source)...
Loading emacs-lisp/backquote (source)...
Loading subr (source)...
Loading version (source)...
Loading widget (source)...
Loading custom (source)...
Loading emacs-lisp/map-ynp (source)...
Loading international/mule (source)...
Loading international/mule-conf (source)...
Loading env (source)...
Loading format (source)...
Loading bindings (source)...
Loading window (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/files.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/emacs-lisp/macroexp.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/emacs-lisp/pcase.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/emacs-lisp/macroexp.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/cus-face.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/faces.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/button.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/ldefs-boot.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/emacs-lisp/nadvice.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/emacs-lisp/cl-preloaded.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/obarray.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/abbrev.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/simple.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/help.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/jka-cmpr-hook.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/epa-hook.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/international/mule-cmds.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/case-table.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/international/characters.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/international/charscript.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/composite.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/language/chinese.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/language/cyrillic.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/language/indian.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/language/sinhala.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/language/english.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/language/ethiopic.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/language/european.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/language/czech.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/language/slovak.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/language/romanian.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/language/greek.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/language/hebrew.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/international/cp51932.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/international/eucjp-ms.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/language/japanese.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/language/korean.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/language/lao.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/language/tai-viet.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/language/thai.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/language/tibetan.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/language/vietnamese.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/language/misc-lang.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/language/utf-8-lang.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/language/georgian.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/language/khmer.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/language/burmese.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/language/cham.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/indent.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/emacs-lisp/cl-generic.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/minibuffer.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/frame.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/startup.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/term/tty-colors.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/font-core.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/facemenu.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/emacs-lisp/syntax.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/font-lock.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/jit-lock.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/mouse.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/scroll-bar.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/select.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/emacs-lisp/timer.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/isearch.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/rfn-eshadow.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/menu-bar.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/tab-bar.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/emacs-lisp/lisp.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/textmodes/page.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/register.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/textmodes/paragraphs.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/progmodes/prog-mode.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/emacs-lisp/lisp-mode.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/progmodes/elisp-mode.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/textmodes/text-mode.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/textmodes/fill.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/newcomment.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/replace.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/emacs-lisp/tabulated-list.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/buff-menu.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/fringe.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/emacs-lisp/regexp-opt.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/image.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/international/fontset.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/dnd.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/tool-bar.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/dynamic-setting.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/x-dnd.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/term/common-win.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/term/x-win.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/mwheel.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/emacs-lisp/float-sup.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/vc/vc-hooks.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/vc/ediff-hook.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/uniquify.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/electric.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/emacs-lisp/eldoc.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/cus-start.el (source)...
Loading /home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp/tooltip.el (source)...
Finding pointers to doc strings...
Finding pointers to doc strings...done
Dumping under the name bootstrap-emacs.pdmp
dumping fingerprint: 6e27fa25025e718f29a7ce7500e93f981fadb39e7a9f7b702851f72068878c6b
Dump complete
Byte counts: header=96 hot=7034552 discardable=75600 cold=9584708
Reloc counts: hot=966074 discardable=4986
make -C ../lisp compile-first EMACS="../src/bootstrap-emacs"
make[2]: Entering directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp'
 ELC+ELN   emacs-lisp/macroexp.elc
 ELC+ELN   emacs-lisp/cconv.elc
Fatal error 11: Segmentation fault
Backtrace:
../src/bootstrap-emacs(+0x125c8c)[0x5a5c8c]
../src/bootstrap-emacs(+0x26232)[0x4a6232]
../src/bootstrap-emacs(+0x2677e)[0x4a677e]
../src/bootstrap-emacs(+0x124378)[0x5a4378]
../src/bootstrap-emacs(+0x124401)[0x5a4401]
linux-gate.so.1(__kernel_rt_sigreturn+0x0)[0xb7f58d78]
/lib/i386-linux-gnu/libgccjit.so.0(+0xdcd7ba)[0xb14f77ba]
/lib/i386-linux-gnu/libgccjit.so.0(+0xdcd7ee)[0xb14f77ee]
/lib/i386-linux-gnu/libgccjit.so.0(+0xdcd8e8)[0xb14f78e8]
/lib/i386-linux-gnu/libgccjit.so.0(+0xdcd9ac)[0xb14f79ac]
/lib/i386-linux-gnu/libgccjit.so.0(+0x1094e4)[0xb08334e4]
/lib/i386-linux-gnu/libgccjit.so.0(+0x10be9d)[0xb0835e9d]
/lib/i386-linux-gnu/libgccjit.so.0(+0x10c8f9)[0xb08368f9]
/lib/i386-linux-gnu/libgccjit.so.0(+0x10b93d)[0xb083593d]
/lib/i386-linux-gnu/libgccjit.so.0(+0x101a8b)[0xb082ba8b]
/lib/i386-linux-gnu/libgccjit.so.0(gcc_jit_context_compile_to_file+0x94)[0xb081f6c4]
../src/bootstrap-emacs(+0x1c9c4e)[0x649c4e]
../src/bootstrap-emacs(+0x18a1b0)[0x60a1b0]
../src/bootstrap-emacs(+0x18a89f)[0x60a89f]
../src/bootstrap-emacs(+0x18a127)[0x60a127]
../src/bootstrap-emacs(+0x18b5ff)[0x60b5ff]
../src/bootstrap-emacs(+0x18a127)[0x60a127]
../src/bootstrap-emacs(+0x18a617)[0x60a617]
../src/bootstrap-emacs(+0x189cc2)[0x609cc2]
../src/bootstrap-emacs(+0x18a01d)[0x60a01d]
../src/bootstrap-emacs(+0x18aa15)[0x60aa15]
../src/bootstrap-emacs(+0x18a127)[0x60a127]
../src/bootstrap-emacs(+0x18b8a3)[0x60b8a3]
../src/bootstrap-emacs(+0x18a127)[0x60a127]
../src/bootstrap-emacs(+0x18b5ff)[0x60b5ff]
../src/bootstrap-emacs(+0x18a127)[0x60a127]
../src/bootstrap-emacs(+0x18a617)[0x60a617]
../src/bootstrap-emacs(+0x187f44)[0x607f44]
../src/bootstrap-emacs(+0x18a33e)[0x60a33e]
../src/bootstrap-emacs(+0x18aa15)[0x60aa15]
../src/bootstrap-emacs(+0x18a127)[0x60a127]
../src/bootstrap-emacs(+0x18a617)[0x60a617]
../src/bootstrap-emacs(+0x187f44)[0x607f44]
../src/bootstrap-emacs(+0x1880af)[0x6080af]
../src/bootstrap-emacs(+0x192026)[0x612026]
../src/bootstrap-emacs(+0x1939bc)[0x6139bc]
...
/bin/bash: line 1: 18378 Segmentation fault      EMACSLOADPATH= '../src/bootstrap-emacs' -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -l comp -f batch-byte-native-compile-for-bootstrap emacs-lisp/macroexp.el
make[2]: *** [Makefile:312: emacs-lisp/macroexp.elc] Error 139
make[2]: *** Waiting for unfinished jobs....
Backtrace:
../src/bootstrap-emacs(+0x125c8c)[0x5f0c8c]
../src/bootstrap-emacs(+0x26232)[0x4f1232]
../src/bootstrap-emacs(+0x2677e)[0x4f177e]
../src/bootstrap-emacs(+0x124378)[0x5ef378]
../src/bootstrap-emacs(+0x124401)[0x5ef401]
linux-gate.so.1(__kernel_rt_sigreturn+0x0)[0xb7eecd78]
/lib/i386-linux-gnu/libgccjit.so.0(+0xdcd7ba)[0xb148b7ba]
/lib/i386-linux-gnu/libgccjit.so.0(+0xdcd7ee)[0xb148b7ee]
/lib/i386-linux-gnu/libgccjit.so.0(+0xdcd8e8)[0xb148b8e8]
/lib/i386-linux-gnu/libgccjit.so.0(+0xdcd9ac)[0xb148b9ac]
/lib/i386-linux-gnu/libgccjit.so.0(+0x1094e4)[0xb07c74e4]
/lib/i386-linux-gnu/libgccjit.so.0(+0x10be9d)[0xb07c9e9d]
/lib/i386-linux-gnu/libgccjit.so.0(+0x10c8f9)[0xb07ca8f9]
/lib/i386-linux-gnu/libgccjit.so.0(+0x10b93d)[0xb07c993d]
/lib/i386-linux-gnu/libgccjit.so.0(+0x101a8b)[0xb07bfa8b]
/lib/i386-linux-gnu/libgccjit.so.0(gcc_jit_context_compile_to_file+0x94)[0xb07b36c4]
../src/bootstrap-emacs(+0x1c9c4e)[0x694c4e]
../src/bootstrap-emacs(+0x18a1b0)[0x6551b0]
../src/bootstrap-emacs(+0x18a89f)[0x65589f]
../src/bootstrap-emacs(+0x18a127)[0x655127]
../src/bootstrap-emacs(+0x18b5ff)[0x6565ff]
../src/bootstrap-emacs(+0x18a127)[0x655127]
../src/bootstrap-emacs(+0x18a617)[0x655617]
../src/bootstrap-emacs(+0x189cc2)[0x654cc2]
../src/bootstrap-emacs(+0x18a01d)[0x65501d]
../src/bootstrap-emacs(+0x18aa15)[0x655a15]
../src/bootstrap-emacs(+0x18a127)[0x655127]
../src/bootstrap-emacs(+0x18b8a3)[0x6568a3]
../src/bootstrap-emacs(+0x18a127)[0x655127]
../src/bootstrap-emacs(+0x18b5ff)[0x6565ff]
../src/bootstrap-emacs(+0x18a127)[0x655127]
../src/bootstrap-emacs(+0x18a617)[0x655617]
../src/bootstrap-emacs(+0x187f44)[0x652f44]
../src/bootstrap-emacs(+0x18a33e)[0x65533e]
../src/bootstrap-emacs(+0x18aa15)[0x655a15]
../src/bootstrap-emacs(+0x18a127)[0x655127]
../src/bootstrap-emacs(+0x18a617)[0x655617]
../src/bootstrap-emacs(+0x187f44)[0x652f44]
../src/bootstrap-emacs(+0x1880af)[0x6530af]
../src/bootstrap-emacs(+0x192026)[0x65d026]
../src/bootstrap-emacs(+0x1939bc)[0x65e9bc]
...
/bin/bash: line 1: 18379 Segmentation fault      EMACSLOADPATH= '../src/bootstrap-emacs' -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -l comp -f batch-byte-native-compile-for-bootstrap emacs-lisp/cconv.el
make[2]: *** [Makefile:312: emacs-lisp/cconv.elc] Error 139
make[2]: Leaving directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp'
make[1]: *** [Makefile:828: bootstrap-emacs.pdmp] Error 2
make[1]: Leaving directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/src'
make: *** [Makefile:424: src] Error 2

Compilation exited abnormally with code 2 at Mon May  4 15:53:55

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


[3]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: segfault2.log --]
[-- Type: text/x-log, Size: 9904 bytes --]

-*- mode: compilation; default-directory: "~/Downloads/sources/emacs-meta/feature/native-comp/" -*-
Compilation started at Mon May  4 16:26:29

emacs-build
++ nproc --all
+ make='make -j2'
+ configure_flags='--with-xwidgets --with-cairo --with-nativecomp'
+ test -f Makefile
+ check-config
+ test -f src/config.h
+ local 'pattern=#define EMACS_CONFIG_OPTIONS "--with-xwidgets --with-cairo --with-nativecomp"'
+ grep '#define EMACS_CONFIG_OPTIONS "--with-xwidgets --with-cairo --with-nativecomp"' src/config.h
#define EMACS_CONFIG_OPTIONS "--with-xwidgets --with-cairo --with-nativecomp"
+ make -j2
make -C lib all
make info-real info-dir
make[1]: Entering directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp'
make -C doc/lispref info
make[1]: Entering directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lib'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lib'
make -C lib-src all
make[2]: Entering directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/doc/lispref'
make[2]: Nothing to be done for 'info'.
make[2]: Leaving directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/doc/lispref'
make -C doc/lispintro info
make[1]: Entering directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lib-src'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lib-src'
make -C src VCSWITNESS='' BIN_DESTDIR='/usr/local/bin/' \
	 LISP_DESTDIR='/usr/local/share/emacs/28.0.50/lisp/' all
make[2]: Entering directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/doc/lispintro'
make[2]: Nothing to be done for 'info'.
make[2]: Leaving directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/doc/lispintro'
make -C doc/emacs info
make[2]: Entering directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/doc/emacs'
make[2]: Nothing to be done for 'info'.
make[2]: Leaving directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/doc/emacs'
make -C doc/misc info
make[1]: Nothing to be done for 'info-dir'.
make[2]: Entering directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/doc/misc'
make[2]: Nothing to be done for 'info'.
make[2]: Leaving directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/doc/misc'
make[1]: Leaving directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp'
make[1]: Entering directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/src'
make -C ../admin/charsets all
make -C ../admin/unidata charscript.el
make[2]: Entering directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/admin/unidata'
make[2]: Nothing to be done for 'charscript.el'.
make[2]: Leaving directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/admin/unidata'
make -C ../admin/charsets cp51932.el
make[2]: Entering directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/admin/charsets'
make[2]: Nothing to be done for 'cp51932.el'.
make[2]: Leaving directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/admin/charsets'
make -C ../admin/charsets eucjp-ms.el
make[2]: Entering directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/admin/charsets'
make[2]: Nothing to be done for 'eucjp-ms.el'.
make[2]: Leaving directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/admin/charsets'
make[2]: Entering directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/admin/charsets'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/admin/charsets'
make -C ../lisp autoloads EMACS="../src/bootstrap-emacs"
make[2]: Entering directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp'
 ELC+ELN   international/titdic-cnv.elc
 ELC+ELN   ../lisp/abbrev.elc
Backtrace:
../src/bootstrap-emacs(+0x125c8c)[0x5d5c8c]
../src/bootstrap-emacs(+0x26232)[0x4d6232]
../src/bootstrap-emacs(+0x2677e)[0x4d677e]
../src/bootstrap-emacs(+0x124378)[0x5d4378]
../src/bootstrap-emacs(+0x124401)[0x5d4401]
linux-gate.so.1(__kernel_rt_sigreturn+0x0)[0xb7f12d78]
/lib/i386-linux-gnu/libgccjit.so.0(+0xdcd7ba)[0xb14b17ba]
/lib/i386-linux-gnu/libgccjit.so.0(+0xdcd7ee)[0xb14b17ee]
/lib/i386-linux-gnu/libgccjit.so.0(+0xdcd8e8)[0xb14b18e8]
/lib/i386-linux-gnu/libgccjit.so.0(+0xdcd9ac)[0xb14b19ac]
/lib/i386-linux-gnu/libgccjit.so.0(+0x1094e4)[0xb07ed4e4]
/lib/i386-linux-gnu/libgccjit.so.0(+0x10be9d)[0xb07efe9d]
/lib/i386-linux-gnu/libgccjit.so.0(+0x10c8f9)[0xb07f08f9]
/lib/i386-linux-gnu/libgccjit.so.0(+0x10b93d)[0xb07ef93d]
/lib/i386-linux-gnu/libgccjit.so.0(+0x101a8b)[0xb07e5a8b]
/lib/i386-linux-gnu/libgccjit.so.0(gcc_jit_context_compile_to_file+0x94)[0xb07d96c4]
../src/bootstrap-emacs(+0x1c9c4e)[0x679c4e]
../src/bootstrap-emacs(+0x18a1b0)[0x63a1b0]
../src/bootstrap-emacs(+0x18a89f)[0x63a89f]
../src/bootstrap-emacs(+0x18a127)[0x63a127]
../src/bootstrap-emacs(+0x18b5ff)[0x63b5ff]
../src/bootstrap-emacs(+0x18a127)[0x63a127]
../src/bootstrap-emacs(+0x18a617)[0x63a617]
../src/bootstrap-emacs(+0x189cc2)[0x639cc2]
../src/bootstrap-emacs(+0x18a01d)[0x63a01d]
../src/bootstrap-emacs(+0x18aa15)[0x63aa15]
../src/bootstrap-emacs(+0x18a127)[0x63a127]
../src/bootstrap-emacs(+0x18b8a3)[0x63b8a3]
../src/bootstrap-emacs(+0x18a127)[0x63a127]
../src/bootstrap-emacs(+0x18b5ff)[0x63b5ff]
../src/bootstrap-emacs(+0x18a127)[0x63a127]
../src/bootstrap-emacs(+0x18a617)[0x63a617]
../src/bootstrap-emacs(+0x187f44)[0x637f44]
../src/bootstrap-emacs(+0x18a33e)[0x63a33e]
../src/bootstrap-emacs(+0x18aa15)[0x63aa15]
../src/bootstrap-emacs(+0x18a127)[0x63a127]
../src/bootstrap-emacs(+0x18a617)[0x63a617]
../src/bootstrap-emacs(+0x187f44)[0x637f44]
../src/bootstrap-emacs(+0x1880af)[0x6380af]
../src/bootstrap-emacs(+0x192026)[0x642026]
../src/bootstrap-emacs(+0x1939bc)[0x6439bc]
...
/bin/bash: line 2: 19285 Segmentation fault      EMACSLOADPATH= '../src/bootstrap-emacs' -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -l comp -f byte-compile-refresh-preloaded -f batch-byte-native-compile-for-bootstrap ../lisp/abbrev.el
make[2]: *** [Makefile:290: ../lisp/abbrev.elc] Error 139
make[1]: *** [Makefile:789: ../lisp/abbrev.elc] Error 2
make[1]: *** Waiting for unfinished jobs....
make -C ../admin/grammars all EMACS="../../src/bootstrap-emacs"
make[3]: Entering directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/admin/grammars'
  GEN      ../../lisp/cedet/semantic/bovine/c-by.el
Fatal error 11: Segmentation fault
Backtrace:
../src/bootstrap-emacs(+0x125c8c)[0x5e5c8c]
../src/bootstrap-emacs(+0x26232)[0x4e6232]
../src/bootstrap-emacs(+0x2677e)[0x4e677e]
../src/bootstrap-emacs(+0x124378)[0x5e4378]
../src/bootstrap-emacs(+0x124401)[0x5e4401]
linux-gate.so.1(__kernel_rt_sigreturn+0x0)[0xb7fadd78]
/lib/i386-linux-gnu/libgccjit.so.0(+0xdcd7ba)[0xb154c7ba]
/lib/i386-linux-gnu/libgccjit.so.0(+0xdcd7ee)[0xb154c7ee]
/lib/i386-linux-gnu/libgccjit.so.0(+0xdcd8e8)[0xb154c8e8]
/lib/i386-linux-gnu/libgccjit.so.0(+0xdcd9ac)[0xb154c9ac]
/lib/i386-linux-gnu/libgccjit.so.0(+0x1094e4)[0xb08884e4]
/lib/i386-linux-gnu/libgccjit.so.0(+0x10be9d)[0xb088ae9d]
/lib/i386-linux-gnu/libgccjit.so.0(+0x10c8f9)[0xb088b8f9]
/lib/i386-linux-gnu/libgccjit.so.0(+0x10b93d)[0xb088a93d]
/lib/i386-linux-gnu/libgccjit.so.0(+0x101a8b)[0xb0880a8b]
/lib/i386-linux-gnu/libgccjit.so.0(gcc_jit_context_compile_to_file+0x94)[0xb08746c4]
../src/bootstrap-emacs(+0x1c9c4e)[0x689c4e]
../src/bootstrap-emacs(+0x18a1b0)[0x64a1b0]
../src/bootstrap-emacs(+0x18a89f)[0x64a89f]
../src/bootstrap-emacs(+0x18a127)[0x64a127]
../src/bootstrap-emacs(+0x18b5ff)[0x64b5ff]
../src/bootstrap-emacs(+0x18a127)[0x64a127]
../src/bootstrap-emacs(+0x18a617)[0x64a617]
../src/bootstrap-emacs(+0x189cc2)[0x649cc2]
../src/bootstrap-emacs(+0x18a01d)[0x64a01d]
../src/bootstrap-emacs(+0x18aa15)[0x64aa15]
../src/bootstrap-emacs(+0x18a127)[0x64a127]
../src/bootstrap-emacs(+0x18b8a3)[0x64b8a3]
../src/bootstrap-emacs(+0x18a127)[0x64a127]
../src/bootstrap-emacs(+0x18b5ff)[0x64b5ff]
../src/bootstrap-emacs(+0x18a127)[0x64a127]
../src/bootstrap-emacs(+0x18a617)[0x64a617]
../src/bootstrap-emacs(+0x187f44)[0x647f44]
../src/bootstrap-emacs(+0x18a33e)[0x64a33e]
../src/bootstrap-emacs(+0x18aa15)[0x64aa15]
../src/bootstrap-emacs(+0x18a127)[0x64a127]
../src/bootstrap-emacs(+0x18a617)[0x64a617]
../src/bootstrap-emacs(+0x187f44)[0x647f44]
../src/bootstrap-emacs(+0x1880af)[0x6480af]
../src/bootstrap-emacs(+0x192026)[0x652026]
../src/bootstrap-emacs(+0x1939bc)[0x6539bc]
...
/bin/bash: line 1: 19283 Segmentation fault      EMACSLOADPATH= '../src/bootstrap-emacs' -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -l comp -f batch-byte-native-compile-for-bootstrap international/titdic-cnv.el
make[2]: *** [Makefile:312: international/titdic-cnv.elc] Error 139
make[2]: *** Waiting for unfinished jobs....
  GEN      ../../lisp/cedet/semantic/bovine/make-by.el
  GEN      ../../lisp/cedet/semantic/bovine/scm-by.el
  GEN      ../../lisp/cedet/semantic/wisent/javat-wy.el
  GEN      ../../lisp/cedet/semantic/wisent/js-wy.el
  GEN      ../../lisp/cedet/semantic/wisent/python-wy.el
  GEN      ../../lisp/cedet/srecode/srt-wy.el
make[3]: Leaving directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/admin/grammars'
make[2]: Leaving directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/lisp'
make[1]: *** [Makefile:803: ../lisp/loaddefs.el] Error 2
make[1]: Leaving directory '/home/peniblec/Downloads/sources/emacs-meta/feature/native-comp/src'
make: *** [Makefile:424: src] Error 2

Compilation exited abnormally with code 2 at Mon May  4 16:39:03

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

* bug#41077: [feature/native-comp] Segfaults when compiling ELC+ELN
  2020-05-04 15:08 bug#41077: [feature/native-comp] Segfaults when compiling ELC+ELN Kévin Le Gouguec
@ 2020-05-04 16:31 ` Andrea Corallo
  2020-05-04 20:57   ` Andrea Corallo
  2020-05-04 21:05   ` Kévin Le Gouguec
  0 siblings, 2 replies; 13+ messages in thread
From: Andrea Corallo @ 2020-05-04 16:31 UTC (permalink / raw)
  To: Kévin Le Gouguec; +Cc: 41077

Hi Kévin,

thanks for reporting.

please try compiling and running this:

https://gcc.gnu.org/onlinedocs/jit/intro/tutorial01.html

we'll know to begin with if this is an issue of the native-comp branch
or (as I suspect) of the libgccjit package of the distro.

Thanks

  Andrea

-- 
akrl@sdf.org





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

* bug#41077: [feature/native-comp] Segfaults when compiling ELC+ELN
  2020-05-04 16:31 ` Andrea Corallo
@ 2020-05-04 20:57   ` Andrea Corallo
  2020-05-04 21:05   ` Kévin Le Gouguec
  1 sibling, 0 replies; 13+ messages in thread
From: Andrea Corallo @ 2020-05-04 20:57 UTC (permalink / raw)
  To: Kévin Le Gouguec; +Cc: 41077

Andrea Corallo <akrl@sdf.org> writes:

> Hi Kévin,
>
> thanks for reporting.
>
> please try compiling and running this:
>
> https://gcc.gnu.org/onlinedocs/jit/intro/tutorial01.html
>
> we'll know to begin with if this is an issue of the native-comp branch
> or (as I suspect) of the libgccjit package of the distro.

For the record, I've just pushed a commit that embeds a simple libgccjit
smoke test directly into the configure.  So you should get the answer
also pulling regenerating and running the configure.

  Andrea

-- 
akrl@sdf.org





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

* bug#41077: [feature/native-comp] Segfaults when compiling ELC+ELN
  2020-05-04 16:31 ` Andrea Corallo
  2020-05-04 20:57   ` Andrea Corallo
@ 2020-05-04 21:05   ` Kévin Le Gouguec
  2020-05-04 21:15     ` Andrea Corallo
  1 sibling, 1 reply; 13+ messages in thread
From: Kévin Le Gouguec @ 2020-05-04 21:05 UTC (permalink / raw)
  To: Andrea Corallo; +Cc: 41077

Andrea Corallo <akrl@sdf.org> writes:

> please try compiling and running this:
>
> https://gcc.gnu.org/onlinedocs/jit/intro/tutorial01.html
>
> we'll know to begin with if this is an issue of the native-comp branch
> or (as I suspect) of the libgccjit package of the distro.

Good guess: that compiles without any warning, then segfaults too.

Should I follow the instructions from
https://gcc.gnu.org/wiki/JIT#Building_it_from_source to get a more
recent libgccjit.so?  Is there a minimal required version, or does the
problem come from something else?  (E.g. the way the distro compiled the
library.)

Feel free to close this report; I can open a new one if needed after I
get the tutorial you mentioned running correctly.

Thank you for taking a look at this.





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

* bug#41077: [feature/native-comp] Segfaults when compiling ELC+ELN
  2020-05-04 21:05   ` Kévin Le Gouguec
@ 2020-05-04 21:15     ` Andrea Corallo
  2020-05-06 14:15       ` bug#41077: [feature/native-comp] virtual memory exhausted (was: bug#41077: [feature/native-comp] Segfaults when compiling ELC+ELN) Kévin Le Gouguec
  0 siblings, 1 reply; 13+ messages in thread
From: Andrea Corallo @ 2020-05-04 21:15 UTC (permalink / raw)
  To: Kévin Le Gouguec; +Cc: 41077-done

Kévin Le Gouguec <kevin.legouguec@gmail.com> writes:

> Andrea Corallo <akrl@sdf.org> writes:
>
>> please try compiling and running this:
>>
>> https://gcc.gnu.org/onlinedocs/jit/intro/tutorial01.html
>>
>> we'll know to begin with if this is an issue of the native-comp branch
>> or (as I suspect) of the libgccjit package of the distro.
>
> Good guess: that compiles without any warning, then segfaults too.
>
> Should I follow the instructions from
> https://gcc.gnu.org/wiki/JIT#Building_it_from_source to get a more
> recent libgccjit.so?  Is there a minimal required version, or does the
> problem come from something else?  (E.g. the way the distro compiled the
> library.)

All versions should work but at this point I'd go for releases/gcc-10 or
releases/gcc-9.3.0

Yes that's the link to look at.

> Feel free to close this report; I can open a new one if needed after I
> get the tutorial you mentioned running correctly.
>
> Thank you for taking a look at this.

You are welcome, closing it.

  Andrea

-- 
akrl@sdf.org





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

* bug#41077: [feature/native-comp] virtual memory exhausted (was: bug#41077: [feature/native-comp] Segfaults when compiling ELC+ELN)
  2020-05-04 21:15     ` Andrea Corallo
@ 2020-05-06 14:15       ` Kévin Le Gouguec
       [not found]         ` <xjfftcd5chc.fsf@sdf.org>
  0 siblings, 1 reply; 13+ messages in thread
From: Kévin Le Gouguec @ 2020-05-06 14:15 UTC (permalink / raw)
  To: Andrea Corallo; +Cc: 41077-done

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

Andrea Corallo <akrl@sdf.org> writes:

> All versions should work but at this point I'd go for releases/gcc-10 or
> releases/gcc-9.3.0

Thanks, I went with 9.3.0.  Now the "ELC+ELN" steps start smoothly,
unfortunately I don't think the little buster can finish the job :(

I first ran a -j2 build which crashed after 14 hours while compiling
char-fold.elc.  I didn't get anything more precise than "virtual memory
exhausted: Cannot allocate memory" on the console.

Thinking it might help to compile only one file at a time, after
removing the temporary files related to char-fold.el[1], I started a -j1
build which picked up where the previous build left off, i.e. with
char-fold.elc.

Unfortunately that file alone seems to be too much for my system to
handle; compilation ended with the same "virtual memory exhausted" error
after less than an hour and a half.

I recorded some information related to memory usage during this second
run (cf. attached graph[2]).  My takeway is that at some point, the
compilation process's memory usage skyrockets, until the system's memory
(2GB RAM + 2GB swap) is completely exhausted.


I haven't reopened/created a new issue because I'm not sure there's a
way forward; let me know if you'd like me to perform some more in-depth
profiling.


[1] lisp/char-fold.elc… and lisp/eln-i686-pc-linux-gnu-…/char-fold….eln.

[2] The graph shows:
    - the VSZ of the process using the most virtual memory,
    - the RSS of the process using the most virtual memory,
    - the "available" column shown by free(1) on the "Mem:" line,
    - the "used" column shown by free(1) on the "Swap:" line,
    - the name of the process using the most virtual memory.

    Measurements were taken every minute.  I can upload the sources for
    this graph (measurement script, measurements, and plotting script)
    if that helps.


[-- Attachment #2: memory.png --]
[-- Type: image/png, Size: 81454 bytes --]

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

* bug#41077: [feature/native-comp] virtual memory exhausted
       [not found]         ` <xjfftcd5chc.fsf@sdf.org>
@ 2020-05-06 20:12           ` Andrea Corallo
  2020-05-10 14:26             ` Kévin Le Gouguec
  0 siblings, 1 reply; 13+ messages in thread
From: Andrea Corallo @ 2020-05-06 20:12 UTC (permalink / raw)
  To: Kévin Le Gouguec; +Cc: 41077-done

Andrea Corallo <akrl@sdf.org> writes:

> Kévin Le Gouguec <kevin.legouguec@gmail.com> writes:
>
>> Andrea Corallo <akrl@sdf.org> writes:
>>
>>> All versions should work but at this point I'd go for releases/gcc-10 or
>>> releases/gcc-9.3.0
>>
>> Thanks, I went with 9.3.0.  Now the "ELC+ELN" steps start smoothly,
>> unfortunately I don't think the little buster can finish the job :(
>>
>> I first ran a -j2 build which crashed after 14 hours while compiling
>> char-fold.elc.  I didn't get anything more precise than "virtual memory
>> exhausted: Cannot allocate memory" on the console.
>>
>> Thinking it might help to compile only one file at a time, after
>> removing the temporary files related to char-fold.el[1], I started a -j1
>> build which picked up where the previous build left off, i.e. with
>> char-fold.elc.
>>
>> Unfortunately that file alone seems to be too much for my system to
>> handle; compilation ended with the same "virtual memory exhausted" error
>> after less than an hour and a half.
>>
>> I recorded some information related to memory usage during this second
>> run (cf. attached graph[2]).  My takeway is that at some point, the
>> compilation process's memory usage skyrockets, until the system's memory
>> (2GB RAM + 2GB swap) is completely exhausted.
>>
>>
>> I haven't reopened/created a new issue because I'm not sure there's a
>> way forward; let me know if you'd like me to perform some more in-depth
>> profiling.
>>
>>
>> [1] lisp/char-fold.elc… and lisp/eln-i686-pc-linux-gnu-…/char-fold….eln.
>>
>> [2] The graph shows:
>>     - the VSZ of the process using the most virtual memory,
>>     - the RSS of the process using the most virtual memory,
>>     - the "available" column shown by free(1) on the "Mem:" line,
>>     - the "used" column shown by free(1) on the "Swap:" line,
>>     - the name of the process using the most virtual memory.
>>
>>     Measurements were taken every minute.  I can upload the sources for
>>     this graph (measurement script, measurements, and plotting script)
>>     if that helps.
>
> Hi Kévin,
>
> thanks for the great report.
>
> I suspect memory usage on certain few compilation units goes high
> correlated with compile time.
>
> At the time I've got some measures and these were my results on this.
>
>     48:32.21 leim/quail/ZIRANMA.el
>     19:52.61 leim/quail/ECDICT.el
>     19:47.17 leim/quail/ARRAY30.el
>     19:16.88 leim/quail/tsang-cns.el
>     19:07.88 leim/quail/tsang-b5.el
>     18:41.66 org/org.el
>     15:25.17 leim/quail/4Corner.el
>     14:34.79 leim/quail/PY-b5.el
>     14:18.76 char-fold.el
>     13:58.44 leim/quail/ZOZY.el
>     13:58.04 leim/quail/ETZY.el
>     13:10.27 gnus/gnus-sum.el
>     11:25.28 leim/quail/quick-cns.el
>     11:13.41 leim/quail/quick-b5.el
>     8:50.48 leim/quail/TONEPY.el
>
> I believe both measures suggests we should should black list manually
> some of these compilation units, at least the one in "leim/".  I'll push
> a patch for that.
>
> I'm not sure was mentioned in this thread but you can work around this
> now using by speed 0 or fast boot (or a combination of these).
>
> make BYTE_COMPILE_EXTRA_FLAGS='--eval "(setq comp-speed 0)"'
>
> Thanks!
>
>   Andrea
>
> --
> akrl@sdf.org

I must have replied privately to this so I'm quoting my previous mail.

That said I've just pushed a commit that exclude from native compilation
all the leim db files.

Overall compile time looks went down by a factor two!

Hope this helps.  If you could get a measure of the memory consumption as
well that would be great.

Thanks

  Andrea

-- 
akrl@sdf.org





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

* bug#41077: [feature/native-comp] virtual memory exhausted
  2020-05-06 20:12           ` bug#41077: [feature/native-comp] virtual memory exhausted Andrea Corallo
@ 2020-05-10 14:26             ` Kévin Le Gouguec
  2020-05-10 15:02               ` Andrea Corallo
  0 siblings, 1 reply; 13+ messages in thread
From: Kévin Le Gouguec @ 2020-05-10 14:26 UTC (permalink / raw)
  To: Andrea Corallo; +Cc: 41077-done

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

Hi Andrea!

Thank you for implementing this blacklist; it turns out that
char-fold.el was the only file my laptop could not handle[1], though as
you'll see org.el was a strong contender.

It took 3 days, but make -j1 successfully ran to completion on commit
92cf4bb.  In comparison, I've just compiled commit 9d8fc3a on master
from scratch, and it took exactly 1 hour 35 minutes.

As soon as I've figured out how to use the elisp-benchmarks package,
I'll post some figures; is there a specific place (bug number,
emacs-devel thread) where you usually collect such feedback?

I've attached some more graphs on the compilation process, as well as
the source material[2] (measurement script, measurements, and plotting
script).

The overall picture (only files which took more than 10 minutes to
compile are labeled):


[-- Attachment #2: monitor.pdf --]
[-- Type: application/pdf, Size: 239983 bytes --]

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


Some "areas of detail" (only files which took more than 5 minutes to
compile are labeled):


[-- Attachment #4: monitor-swap.pdf --]
[-- Type: application/pdf, Size: 37251 bytes --]

[-- Attachment #5: monitor-gnus.pdf --]
[-- Type: application/pdf, Size: 37737 bytes --]

[-- Attachment #6: monitor-org.pdf --]
[-- Type: application/pdf, Size: 33116 bytes --]

[-- Attachment #7: Type: text/plain, Size: 1292 bytes --]


Some comments:

- As could be predicted from your previous measurements, org.el was a
  beast, but unlike with char-fold.el the little guy pulled through 🙌

- It's hard to be sure since my measurements were so imprecise[3], but
  AFAICT the compilation process for a single file seems to follow a
  memory usage pattern of "slow rise - spike - drop - spike".  See
  e.g. files.el, isearch.el, simple.el, subr.el, window.el, info.el,
  package.el, erc.el, gnus-sum.el, org.el, python.el.


Thank you for taking the time to guide me through compiling this branch.
I know that reducing the memory footprint of native compilation is
probably not your main focus right now, but I figured it would be
interesting to provide some orders of magnitude.


[1] $ git diff
    diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
    index 60b41f95bd..ff3c42a178 100644
    --- a/lisp/emacs-lisp/comp.el
    +++ b/lisp/emacs-lisp/comp.el
    @@ -85,7 +85,7 @@ comp-always-compile
       :group 'comp)

     (defcustom comp-bootstrap-black-list
    -  '("^leim/")
    +  '("^leim/" "^char-fold")
       "List of regexps to exclude files from native compilation during bootstrap.
     Skip if any is matching."
       :type 'list

[2] Measurement script:


[-- Attachment #8: monitor.sh --]
[-- Type: application/x-shellscript, Size: 350 bytes --]

[-- Attachment #9: Type: text/plain, Size: 20 bytes --]


    Measurements:


[-- Attachment #10: monitor.log.tgz --]
[-- Type: application/x-compressed-tar, Size: 284423 bytes --]

[-- Attachment #11: Type: text/plain, Size: 45 bytes --]


    Plotting script (requires matplotlib):


[-- Attachment #12: plot.py --]
[-- Type: text/x-python, Size: 5057 bytes --]

#!/usr/bin/env python3

from datetime import datetime, timedelta
from pathlib import Path
import re

import matplotlib
from matplotlib import pyplot
from matplotlib.dates import DateFormatter, HourLocator#, MinuteLocator
from matplotlib.ticker import EngFormatter


MONITOR_RE = re.compile('\n'.join((
    '(?P<time>.+)',
    r' *(?P<seconds>\d+) +(?P<vsz>\d+) +(?P<rss>\d+) +(?P<args>.+)',
    ' *(?P<memheader>.+)',
    'Mem: *(?P<memvalues>.+)',
    'Swap: *(?P<swapvalues>.+)',
    ''
)), flags=re.MULTILINE)


def list_snapshots(monitor_log):
    snapshots = []

    for match in MONITOR_RE.finditer(monitor_log):
        md = match.groupdict()

        memkeys = md['memheader'].split()
        memvalues = md['memvalues'].split()
        swapvalues = md['swapvalues'].split()

        snapshot = {
            'time': datetime.strptime(md['time'], '%Y-%m-%d-%H:%M:%S'),
            'uptime': int(md['seconds']),
            'vsz': int(md['vsz'])*1024,
            'rss': int(md['rss'])*1024,
            'process': md['args'],
            'mem': {memkeys[i]: int(val)*1024 for i, val in enumerate(memvalues)},
            'swap': {memkeys[i]: int(val)*1024 for i, val in enumerate(swapvalues)}
        }

        snapshots.append(snapshot)

    return snapshots


LOADDEFS_RE = re.compile(
    r'--eval \(setq generated-autoload-file'
    r' \(expand-file-name \(unmsys--file-name "([^"]+)"\)\)\)'
    r' -f batch-update-autoloads'
)

SEMANTIC_RE = re.compile(
    r'-l semantic/(?:wisent|bovine)/grammar -f (?:wisent|bovine)-batch-make-parser'
    r' -o (.+) .+\.[wb]y'
)

ELCELN_RE = re.compile(
    r'\.\./src/(?:bootstrap-)?emacs -batch --no-site-file --no-site-lisp'
    r' --eval \(setq load-prefer-newer t\) -l comp'
    r'(?: -f byte-compile-refresh-preloaded)?'
    r' -f batch-byte-native-compile-for-bootstrap'
    r' (.+\.el)'
)

SHORTENED_NAMES = {
    LOADDEFS_RE: 'GEN',
    SEMANTIC_RE: 'GEN',
    ELCELN_RE: 'ELC+ELN'
}

QUAIL_TIT_RE = re.compile(
    r'-l titdic-cnv -f batch-titdic-convert'
    r' -dir \./\.\./lisp/leim/quail CXTERM-DIC/(.+)\.tit'
)

QUAIL_MISC_RE = re.compile(
    r'-l titdic-cnv -f batch-miscdic-convert'
    r' -dir \./\.\./lisp/leim/quail MISC-DIC/(.+\.(html|map|cin|cns|b5))'
)

QUAIL_JA_RE = re.compile(
    r'-l ja-dic-cnv -f batch-skkdic-convert'
)

TRANSFORMED_NAMES = {
    QUAIL_TIT_RE: lambda m: f'GEN ../lisp/leim/quail/{m.group(1)}.el',
    QUAIL_MISC_RE: lambda m: f'GEN from {m.group(1)}',
    QUAIL_JA_RE: lambda m: f'GEN ../lisp/leim/ja-dic/ja-dic.el'
}

def shorten(process):
    for r, name in SHORTENED_NAMES.items():
        match = r.search(process)
        if match is not None:
            return f'{name} {match.group(1)}'

    for r, transform in TRANSFORMED_NAMES.items():
        match = r.search(process)
        if match is not None:
            return transform(match)

    if len(process) > 40:
        return f'{process[:20]}…{process[-20:]}'
    return process


def list_processes(snapshots):
    t0 = snapshots[0]['time']
    current_process = snapshots[0]['process']
    current_process_start = t0

    processes = {}

    for s in snapshots[1:]:
        if s['process'] == current_process:
            continue

        s_start = s['time']
        processes[current_process] = (
            current_process_start, s_start-current_process_start
        )

        current_process = s['process']
        current_process_start = s_start

    processes[current_process] = (
        current_process_start,
        snapshots[-1]['time']-current_process_start
    )

    return processes


snapshots = list_snapshots(Path('monitor.log').read_text())

xs = tuple(s['time'] for s in snapshots)
vsz = tuple(s['vsz'] for s in snapshots)
rss = tuple(s['rss'] for s in snapshots)
memavail = tuple(s['mem']['available'] for s in snapshots)
swapused = tuple(s['swap']['used'] for s in snapshots)

matplotlib.use('TkAgg')
fig, axes = pyplot.subplots(figsize=(128, 9.6))
axes.plot(xs, vsz, label='VSZ (process)')
axes.plot(xs, rss, label='RSS (process)')
axes.plot(xs, memavail, label='available memory (system)', linewidth=0.5)
axes.plot(xs, swapused, label='used swap (system)')

axes.set_xlim(snapshots[0]['time'], snapshots[-1]['time'])
axes.xaxis.set_major_formatter(DateFormatter('%H:%M'))
axes.xaxis.set_major_locator(HourLocator())
# axes.xaxis.set_minor_locator(MinuteLocator(tuple(5*i for i in range(1, 12))))
axes.xaxis.set_label_text('Hours')
axes.set_ylim(0)
axes.yaxis.set_major_formatter(EngFormatter(unit='B'))
axes.legend()

for (p, (start, duration)) in list_processes(snapshots).items():
    if duration < timedelta(minutes=10):
        continue
    pyplot.text(start, 1e9, shorten(p), rotation=45)
    pyplot.plot(
        (start, start+duration), (1e9, 1e9),
        marker='|', linewidth=0.5, linestyle='--',
        color='black', alpha=0.8
    )

# pyplot.savefig('monitor.pdf')
pyplot.show()

[-- Attachment #13: Type: text/plain, Size: 491 bytes --]


[3] I didn't instrument the build process; as can be seen in the
    scripts, I just relied on:

        ps --sort=-vsz p $pids | head 1

    $pids include the emacs session in which I was running make; this
    session was masking basically everything other than the ELC+ELN
    processes.

    Also, the sampling step being 30 seconds, a lot of interesting
    patterns may not have been recorded.

    Overall these scripts are an exercise in How Not To Collect Data 😒.

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

* bug#41077: [feature/native-comp] virtual memory exhausted
  2020-05-10 14:26             ` Kévin Le Gouguec
@ 2020-05-10 15:02               ` Andrea Corallo
  2020-05-10 22:04                 ` Kévin Le Gouguec
  0 siblings, 1 reply; 13+ messages in thread
From: Andrea Corallo @ 2020-05-10 15:02 UTC (permalink / raw)
  To: Kévin Le Gouguec; +Cc: 41077-done

Kévin Le Gouguec <kevin.legouguec@gmail.com> writes:

> Hi Andrea!

Hi Kévin

> Thank you for implementing this blacklist; it turns out that
> char-fold.el was the only file my laptop could not handle[1], though as
> you'll see org.el was a strong contender.
>
> It took 3 days, but make -j1 successfully ran to completion on commit
> 92cf4bb.  In comparison, I've just compiled commit 9d8fc3a on master
> from scratch, and it took exactly 1 hour 35 minutes.

Wow thanks so much for the great report!  I'm glad it worked for you.

> As soon as I've figured out how to use the elisp-benchmarks package,
> I'll post some figures; is there a specific place (bug number,
> emacs-devel thread) where you usually collect such feedback?

Cool, we have no bug number for that.  I guess you can use the "On elisp
running native" thread or as you feel.

> Thank you for taking the time to guide me through compiling this branch.
> I know that reducing the memory footprint of native compilation is
> probably not your main focus right now, but I figured it would be
> interesting to provide some orders of magnitude.

It's very interesting thank you, your work will be usefull when we move
on the subject of compile-time/memory usage.  I've some idea on the code
generations side and we'll need to measure how it translates on the
compilation process.

Thanks

  Andrea

-- 
akrl@sdf.org





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

* bug#41077: [feature/native-comp] virtual memory exhausted
  2020-05-10 15:02               ` Andrea Corallo
@ 2020-05-10 22:04                 ` Kévin Le Gouguec
  2020-05-10 22:17                   ` Andrea Corallo
  0 siblings, 1 reply; 13+ messages in thread
From: Kévin Le Gouguec @ 2020-05-10 22:04 UTC (permalink / raw)
  To: Andrea Corallo; +Cc: 41077-done

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

Andrea Corallo <akrl@sdf.org> writes:

>> As soon as I've figured out how to use the elisp-benchmarks package,
>> I'll post some figures; is there a specific place (bug number,
>> emacs-devel thread) where you usually collect such feedback?
>
> Cool, we have no bug number for that.  I guess you can use the "On elisp
> running native" thread or as you feel.

Mmm, I've installed the elisp-benchmarks package, and I've run

    $SOURCEDIR/src/emacs -Q -batch -l ./elisp-benchmarks.el -f elisp-benchmarks-run

from ~/.emacs.d/elpa/elisp-benchmarks-1.1, once with SOURCEDIR pointing
to the master worktree and once again with SOURCEDIR pointing to the
feature/native-comp worktree, and I get more or less the exact same
performance[1].

I've run the feature/native-comp emacs under strace and AFAICT the
native libraries get loaded[2]; I suspect I'm making some very basic
mistake but I can't put my finger on it.  Is there anything else I
should be looking for to assert that things work as intended?

Thank you for your patience.


[1] With the master branch:


[-- Attachment #2: master.log --]
[-- Type: text/plain, Size: 2586 bytes --]

-*- mode: compilation; default-directory: "~/.emacs.d/elpa/elisp-benchmarks-1.1/" -*-
Compilation started at Sun May 10 17:06:01

~/Downloads/sources/emacs/src/emacs -Q -batch -l ./elisp-benchmarks.el -f elisp-benchmarks-run
Loading /home/peniblec/.emacs.d/elpa/elisp-benchmarks-1.1/benchmarks/bubble-no-cons...
Loading /home/peniblec/.emacs.d/elpa/elisp-benchmarks-1.1/benchmarks/bubble...
Loading /home/peniblec/.emacs.d/elpa/elisp-benchmarks-1.1/benchmarks/fibn-rec...
Loading /home/peniblec/.emacs.d/elpa/elisp-benchmarks-1.1/benchmarks/fibn-tc...
Loading /home/peniblec/.emacs.d/elpa/elisp-benchmarks-1.1/benchmarks/fibn...
Loading /home/peniblec/.emacs.d/elpa/elisp-benchmarks-1.1/benchmarks/inclist...
Loading /home/peniblec/.emacs.d/elpa/elisp-benchmarks-1.1/benchmarks/listlen-tc...
Loading /home/peniblec/.emacs.d/elpa/elisp-benchmarks-1.1/benchmarks/pidigits...
Iteration number: 1
Running bubble-no-cons...
Running bubble...
Running fibn-rec...
Running fibn-tc...
Running fibn...
Running inclist...
Running listlen-tc...
Running pidigits...
Iteration number: 2
Running bubble-no-cons...
Running bubble...
Running fibn-rec...
Running fibn-tc...
Running fibn...
Running inclist...
Running listlen-tc...
Running pidigits...
Iteration number: 3
Running bubble-no-cons...
Running bubble...
Running fibn-rec...
Running fibn-tc...
Running fibn...
Running inclist...
Running listlen-tc...
Running pidigits...
* Results

  | test           | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) |
  |----------------+----------------+------------+---------+-------------+-----------------|
  | bubble-no-cons |         122.06 |       0.22 |       4 |      122.28 |            0.43 |
  | bubble         |          49.22 |      26.59 |     491 |       75.81 |            0.18 |
  | fibn-rec       |          62.00 |       0.00 |       0 |       62.00 |            0.00 |
  | fibn-tc        |         133.97 |      87.95 |    1520 |      221.91 |            0.36 |
  | fibn           |         280.64 |     251.97 |    4425 |      532.61 |            0.14 |
  | inclist        |         174.41 |       0.06 |       1 |      174.47 |            0.00 |
  | listlen-tc     |          68.04 |       0.00 |       0 |       68.04 |            0.02 |
  | pidigits       |          56.97 |      36.60 |     605 |       93.57 |            0.53 |
  |----------------+----------------+------------+---------+-------------+-----------------|
  | total          |         947.30 |     403.39 |    7046 |     1350.69 |            0.80 |


Compilation finished at Sun May 10 18:13:36

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


    With the feature/native-comp branch:


[-- Attachment #4: native-comp.log --]
[-- Type: text/plain, Size: 2611 bytes --]

-*- mode: compilation; default-directory: "~/.emacs.d/elpa/elisp-benchmarks-1.1/" -*-
Compilation started at Sun May 10 18:18:56

~/Downloads/sources/emacs-meta/feature/native-comp/src/emacs -Q -batch -l ./elisp-benchmarks.el -f elisp-benchmarks-run
Loading /home/peniblec/.emacs.d/elpa/elisp-benchmarks-1.1/benchmarks/bubble-no-cons...
Loading /home/peniblec/.emacs.d/elpa/elisp-benchmarks-1.1/benchmarks/bubble...
Loading /home/peniblec/.emacs.d/elpa/elisp-benchmarks-1.1/benchmarks/fibn-rec...
Loading /home/peniblec/.emacs.d/elpa/elisp-benchmarks-1.1/benchmarks/fibn-tc...
Loading /home/peniblec/.emacs.d/elpa/elisp-benchmarks-1.1/benchmarks/fibn...
Loading /home/peniblec/.emacs.d/elpa/elisp-benchmarks-1.1/benchmarks/inclist...
Loading /home/peniblec/.emacs.d/elpa/elisp-benchmarks-1.1/benchmarks/listlen-tc...
Loading /home/peniblec/.emacs.d/elpa/elisp-benchmarks-1.1/benchmarks/pidigits...
Iteration number: 1
Running bubble-no-cons...
Running bubble...
Running fibn-rec...
Running fibn-tc...
Running fibn...
Running inclist...
Running listlen-tc...
Running pidigits...
Iteration number: 2
Running bubble-no-cons...
Running bubble...
Running fibn-rec...
Running fibn-tc...
Running fibn...
Running inclist...
Running listlen-tc...
Running pidigits...
Iteration number: 3
Running bubble-no-cons...
Running bubble...
Running fibn-rec...
Running fibn-tc...
Running fibn...
Running inclist...
Running listlen-tc...
Running pidigits...
* Results

  | test           | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) |
  |----------------+----------------+------------+---------+-------------+-----------------|
  | bubble-no-cons |         124.78 |       0.22 |       4 |      125.00 |            0.09 |
  | bubble         |          49.80 |      26.49 |     491 |       76.29 |            0.19 |
  | fibn-rec       |          63.12 |       0.00 |       0 |       63.12 |            0.00 |
  | fibn-tc        |         135.08 |      87.60 |    1520 |      222.68 |            0.26 |
  | fibn           |         279.26 |     251.12 |    4425 |      530.38 |            0.12 |
  | inclist        |         174.42 |       0.06 |       1 |      174.48 |            0.06 |
  | listlen-tc     |          64.84 |       0.00 |       0 |       64.84 |            0.00 |
  | pidigits       |          56.46 |      36.50 |     605 |       92.97 |            0.14 |
  |----------------+----------------+------------+---------+-------------+-----------------|
  | total          |         947.77 |     401.99 |    7046 |     1349.76 |            0.38 |


Compilation finished at Sun May 10 19:26:30

[-- Attachment #5: Type: text/plain, Size: 197 bytes --]


[2] I've attached traces for the first benchmark iteration; from what I
    can tell .eln files are "loaded" correctly (I can see successful
    calls to openat, read, fstat, mmap and mprotect).


[-- Attachment #6: native-comp.strace.gz --]
[-- Type: application/x-gzip, Size: 210341 bytes --]

[-- Attachment #7: Type: text/plain, Size: 111 bytes --]


    I've run emacs master under strace too, out of paranoia; no .eln
    file gets loaded there, as expected.

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

* bug#41077: [feature/native-comp] virtual memory exhausted
  2020-05-10 22:04                 ` Kévin Le Gouguec
@ 2020-05-10 22:17                   ` Andrea Corallo
  2020-05-11  9:12                     ` Kévin Le Gouguec
  0 siblings, 1 reply; 13+ messages in thread
From: Andrea Corallo @ 2020-05-10 22:17 UTC (permalink / raw)
  To: Kévin Le Gouguec; +Cc: 41077-done

Kévin Le Gouguec <kevin.legouguec@gmail.com> writes:

> Andrea Corallo <akrl@sdf.org> writes:
>
>>> As soon as I've figured out how to use the elisp-benchmarks package,
>>> I'll post some figures; is there a specific place (bug number,
>>> emacs-devel thread) where you usually collect such feedback?
>>
>> Cool, we have no bug number for that.  I guess you can use the "On elisp
>> running native" thread or as you feel.
>
> Mmm, I've installed the elisp-benchmarks package, and I've run
>
>     $SOURCEDIR/src/emacs -Q -batch -l ./elisp-benchmarks.el -f elisp-benchmarks-run
>
> from ~/.emacs.d/elpa/elisp-benchmarks-1.1, once with SOURCEDIR pointing
> to the master worktree and once again with SOURCEDIR pointing to the
> feature/native-comp worktree, and I get more or less the exact same
> performance[1].
>
> I've run the feature/native-comp emacs under strace and AFAICT the
> native libraries get loaded[2]; I suspect I'm making some very basic
> mistake but I can't put my finger on it.  Is there anything else I
> should be looking for to assert that things work as intended?
>
> Thank you for your patience.

Hi Kévin,

No issue, I think you need to hack a little bit elisp-benchmarks because
by default the package manager just byte compile the files during
installation and elisp-benchmarks does not support officialy this
feature branch.

That would translate into somenthing like changing the call to
`byte-compile-file' into `native-compile' and running it with recompile
t.

Other option maybe quicker: you can manually native compile the
benchmarcks and the native emacs instance should load them.

You will see that when a .eln is loaded the message is a little
different to indicate that.

Probably what you have observed tracing was the activity of all the
other .elns I guess.

Best

  Andrea

-- 
akrl@sdf.org





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

* bug#41077: [feature/native-comp] virtual memory exhausted
  2020-05-10 22:17                   ` Andrea Corallo
@ 2020-05-11  9:12                     ` Kévin Le Gouguec
  2020-05-11 10:00                       ` Andrea Corallo
  0 siblings, 1 reply; 13+ messages in thread
From: Kévin Le Gouguec @ 2020-05-11  9:12 UTC (permalink / raw)
  To: Andrea Corallo; +Cc: 41077-done

Ah, right; I don't know what I was thinking.  I guess I assumed that the
benchmarks covered Emacs subroutines, so not compiling the benchmark
sources would not have a big impact.  I got that completely backward 🤦

Andrea Corallo <akrl@sdf.org> writes:

> Other option maybe quicker: you can manually native compile the
> benchmarcks and the native emacs instance should load them.
>
> You will see that when a .eln is loaded the message is a little
> different to indicate that.

I went with this option, using M-: (native-compile "foo.el").  I had one
last surprise: the native-compiled fibn test exhausts the laptop's
memory (2GB RAM + 2GB swap).  I recompiled fibn.eln setting comp-speed
to 1 and 0, but the result was the same.

Here are the results: except for pidigits, the improvements are quite
noticeable :)  I'll post a write-up (giving my hardware specs and
computing the speedups) to emacs-devel when I find the time.

* Results

** master

  | test           | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) |
  |----------------+----------------+------------+---------+-------------+-----------------|
  | bubble-no-cons |         122.06 |       0.22 |       4 |      122.28 |            0.43 |
  | bubble         |          49.22 |      26.59 |     491 |       75.81 |            0.18 |
  | fibn-rec       |          62.00 |       0.00 |       0 |       62.00 |            0.00 |
  | fibn-tc        |         133.97 |      87.95 |    1520 |      221.91 |            0.36 |
  | inclist        |         174.41 |       0.06 |       1 |      174.47 |            0.00 |
  | listlen-tc     |          68.04 |       0.00 |       0 |       68.04 |            0.02 |
  | pidigits       |          56.97 |      36.60 |     605 |       93.57 |            0.53 |
  |----------------+----------------+------------+---------+-------------+-----------------|
  | total          |         666.67 |     151.42 |    2621 |      818.08 |            0.79 |

** feature/native-comp

  | test           | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) |
  |----------------+----------------+------------+---------+-------------+-----------------|
  | bubble-no-cons |          24.53 |       0.22 |       4 |       24.75 |            0.02 |
  | bubble         |          17.83 |       5.79 |     100 |       23.62 |            0.27 |
  | fibn-rec       |          18.63 |       0.00 |       0 |       18.63 |            0.01 |
  | fibn-tc        |          67.39 |      86.45 |    1519 |      153.84 |            0.07 |
  | inclist        |          10.99 |       0.06 |       1 |       11.05 |            0.04 |
  | listlen-tc     |           0.82 |       0.00 |       0 |        0.82 |            0.00 |
  | pidigits       |          54.03 |      36.84 |     605 |       90.87 |            0.69 |
  |----------------+----------------+------------+---------+-------------+-----------------|
  | total          |         194.22 |     129.35 |    2229 |      323.57 |            0.75 |

Again, thanks for your help!





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

* bug#41077: [feature/native-comp] virtual memory exhausted
  2020-05-11  9:12                     ` Kévin Le Gouguec
@ 2020-05-11 10:00                       ` Andrea Corallo
  0 siblings, 0 replies; 13+ messages in thread
From: Andrea Corallo @ 2020-05-11 10:00 UTC (permalink / raw)
  To: Kévin Le Gouguec; +Cc: 41077-done

Kévin Le Gouguec <kevin.legouguec@gmail.com> writes:

> I had one
> last surprise: the native-compiled fibn test exhausts the laptop's
> memory (2GB RAM + 2GB swap).  I recompiled fibn.eln setting comp-speed
> to 1 and 0, but the result was the same.

Hi Kévin,

If you could open a bug with that would be great so we can keep it under
the radar and handle it there.

  Andrea

-- 
akrl@sdf.org





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

end of thread, other threads:[~2020-05-11 10:00 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-04 15:08 bug#41077: [feature/native-comp] Segfaults when compiling ELC+ELN Kévin Le Gouguec
2020-05-04 16:31 ` Andrea Corallo
2020-05-04 20:57   ` Andrea Corallo
2020-05-04 21:05   ` Kévin Le Gouguec
2020-05-04 21:15     ` Andrea Corallo
2020-05-06 14:15       ` bug#41077: [feature/native-comp] virtual memory exhausted (was: bug#41077: [feature/native-comp] Segfaults when compiling ELC+ELN) Kévin Le Gouguec
     [not found]         ` <xjfftcd5chc.fsf@sdf.org>
2020-05-06 20:12           ` bug#41077: [feature/native-comp] virtual memory exhausted Andrea Corallo
2020-05-10 14:26             ` Kévin Le Gouguec
2020-05-10 15:02               ` Andrea Corallo
2020-05-10 22:04                 ` Kévin Le Gouguec
2020-05-10 22:17                   ` Andrea Corallo
2020-05-11  9:12                     ` Kévin Le Gouguec
2020-05-11 10:00                       ` Andrea Corallo

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).