$ make [ -r "src/config.in" ] || ( cd . && autoheader ) cd lib && make all \ CC='gcc' CFLAGS='-g3 -O2' CPPFLAGS='' \ LDFLAGS='' MAKE='make' make[1]: Entering directory '/home/phil/emacs/24.4/emacs-24.4/lib' make all-am make[2]: Entering directory '/home/phil/emacs/24.4/emacs-24.4/lib' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/home/phil/emacs/24.4/emacs-24.4/lib' make[1]: Leaving directory '/home/phil/emacs/24.4/emacs-24.4/lib' cd lib-src && make all \ CC='gcc' CFLAGS='-g3 -O2' CPPFLAGS='' \ LDFLAGS='' MAKE='make' make[1]: Entering directory '/home/phil/emacs/24.4/emacs-24.4/lib-src' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/phil/emacs/24.4/emacs-24.4/lib-src' dirstate='.bzr/checkout/dirstate'; \ vcswitness='$(srcdir)/../'$dirstate; \ [ -r "./$dirstate" ] || vcswitness=''; \ cd src || exit; \ boot=bootstrap-emacs; \ [ ! -x "$boot" ] || boot=''; \ make all \ CC='gcc' CFLAGS='-g3 -O2' CPPFLAGS='' \ LDFLAGS='' MAKE='make' BOOTSTRAPEMACS="$boot" \ VCSWITNESS="$vcswitness" make[1]: Entering directory '/home/phil/emacs/24.4/emacs-24.4/src' cd ../lisp; make -w update-subdirs make[2]: Entering directory '/home/phil/emacs/24.4/emacs-24.4/lisp' for file in `find . -type d -print`; do case $file in .*/cedet* | .*/leim* ) ;; *) wins="$wins${wins:+ }$file" ;; esac; done; \ for file in $wins; do \ ./../build-aux/update-subdirs $file; \ done; make[2]: Leaving directory '/home/phil/emacs/24.4/emacs-24.4/lisp' if test "no" = "yes"; then \ rm -f bootstrap-emacs; \ ln temacs bootstrap-emacs; \ else \ ./temacs --batch --load loadup bootstrap || exit 1; \ test "X" = X || -zex emacs; \ mv -f emacs bootstrap-emacs; \ fi /bin/bash: line 7: 26704 Segmentation fault (core dumped) ./temacs --batch --load loadup bootstrap Makefile:815: recipe for target 'bootstrap-emacs' failed make[1]: *** [bootstrap-emacs] Error 1 make[1]: Leaving directory '/home/phil/emacs/24.4/emacs-24.4/src' Makefile:382: recipe for target 'src' failed make: *** [src] Error 2 $ gdb ./src/temacs GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./src/temacs...done. (gdb) run --batch --load loadup bootstrap Starting program: /home/phil/emacs/24.4/emacs-24.4/src/temacs --batch --load loadup bootstrap [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". process 26881 is executing new program: /home/phil/emacs/24.4/emacs-24.4/src/temacs [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x00005555556c1925 in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 1529 result = malloc (bytes); (gdb) bt #0 0x00005555556c1925 in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #1 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #2 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #3 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #4 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #5 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #6 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #7 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #8 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #9 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #10 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #11 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #12 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #13 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #14 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #15 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #16 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #17 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #18 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #19 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #20 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #21 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #22 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #23 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #24 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #25 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #26 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #27 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #28 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #29 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #30 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #31 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #32 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #33 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #34 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #35 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #36 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #37 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #38 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #39 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #40 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #41 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #42 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #43 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #44 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #45 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #46 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #47 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #48 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #49 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #50 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #51 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #52 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 #53 0x00005555556c192a in calloc (nmemb=, size=size@entry=1) at gmalloc.c:1529 ---Type to continue, or q to quit---q Quit (gdb) quit A debugging session is active. Inferior 1 [process 26881] will be killed. Quit anyway? (y or n) y