GNU bug report logs - #26638
25.2; Fatal error 6: Abortmake[1]: *** [Makefile:737: bootstrap-emacs] Abort (core dumped)

Previous Next

Package: emacs;

Reported by: 白井彰 <okshirai <at> gmail.com>

Date: Mon, 24 Apr 2017 14:22:01 UTC

Severity: important

Tags: moreinfo

Found in version 25.2

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26638 in the body.
You can then email your comments to 26638 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#26638; Package emacs. (Mon, 24 Apr 2017 14:22:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to 白井彰 <okshirai <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 24 Apr 2017 14:22:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: 白井彰 <okshirai <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Cc: Akira Shirai <okshirai <at> gmail.com>
Subject: 25.2; Fatal error 6: Abortmake[1]: *** [Makefile:737:
 bootstrap-emacs] Abort (core dumped)
Date: Mon, 24 Apr 2017 23:20:49 +0900
While building emacs-25.2 on i386-pc-solaris2.10:
./temacs --batch --load loadup bootstrap
Fatal error 6: Abortmake[1]: *** [Makefile:737: bootstrap-emacs] Abort (core dumped)

% gzcat emacs-25.2.tar.gz | tar xfp -; cd emacs-25.2; ./configure --with-gif=no; make
checking for xcrun... no
checking for GNU Make... make
checking for a BSD-compatible install... /opt/sfw/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/sfw/bin/mkdir -p
checking for gawk... gawk
checking whether make supports nested variables... (cached) yes
checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
checking for gcc... no
checking for cc... cc
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... no
checking whether cc accepts -g... yes
checking whether cc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of cc... none
checking for cc option to accept ISO C99... -D_STDC_C99=
checking for cc -D_STDC_C99= option to accept ISO Standard C... (cached) -D_STDC_C99=
checking for putenv... yes
checking for tzset... yes
checking for fchmod... yes
checking for readlinkat... no
checking for faccessat... no
checking for fcntl... yes
checking for fdopendir... yes
checking for fstatat... yes
checking for fsync... yes
checking for gettimeofday... yes
checking for nanotime... no
checking for lstat... yes
checking for mkostemp... no
checking for pipe2... no
checking for pselect... yes
checking for readlink... yes
checking for strtoimax... yes
checking for strtoumax... yes
checking for symlink... yes
checking for localtime_r... yes
checking for timegm... no
checking for futimes... no
checking for futimesat... yes
checking for futimens... no
checking for utimensat... no
checking for lutimes... no
checking for getdtablesize... yes
checking for secure_getenv... no
checking how to run the C preprocessor... cc -D_STDC_C99= -E
checking for grep that handles long lines and -e... /usr/xpg4/bin/grep
checking for egrep... /usr/xpg4/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 the archiver (ar) interface... ar
checking for ar... (cached) 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 cc -D_STDC_C99= accepts -g3... no
checking whether cc -D_STDC_C99= accepts -O... yes
checking whether the compiler is clang... no
checking whether C compiler handles -Werror -Wunknown-warning-option... no
checking whether make supports nested variables... (cached) yes
checking whether ln -s works for files in the same directory... yes
checking for install-info... :
checking for gzip... /bin/gzip
checking for -znocombreloc... no
checking whether addresses are sanitized... no
checking for library containing sqrt... -lm
checking for pkg-config... /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... no
checking for soundcard.h... no
checking for mmsystem.h... no
checking for _oss_ioctl in -lossaudio... no
checking for ALSA... no
checking for sys/systeminfo.h... yes
checking for sys/sysinfo.h... yes
checking for coff.h... no
checking for pty.h... no
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 maillock.h... yes
checking for sys/un.h... yes
checking for dirent.h... yes
checking for execinfo.h... no
checking for stdio_ext.h... yes
checking for getopt.h... yes
checking for sys/time.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 utime.h... yes
checking if personality LINUX32 can be set... no
checking if Linux sysinfo may be used... no
checking for term.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether sys_siglist is declared... no
checking whether __sys_siglist is declared... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for net/if.h... yes
checking for ifaddrs.h... no
checking for net/if_dl.h... yes
checking for struct ifreq.ifr_flags... yes
checking for struct ifreq.ifr_hwaddr... no
checking for struct ifreq.ifr_netmask... no
checking for struct ifreq.ifr_broadaddr... yes
checking for struct ifreq.ifr_addr... yes
checking for struct ifreq.ifr_addr.sa_len... no
checking for long file names... yes
checking for X... libraries /usr/openwin/lib, headers /usr/openwin/include
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... none needed
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 RSVG... no
checking for IMAGEMAGICK... no
checking for GTK... no
checking for GTK... no
checking for DBUS... no
checking for GSETTINGS... no
checking for GCONF... no
checking for lgetfilecon in -lselinux... no
checking for LIBGNUTLS... no
checking sys/inotify.h usability... no
checking sys/inotify.h presence... no
checking for sys/inotify.h... no
checking for KQUEUE... no
checking for library containing kqueue... no
checking for GFILENOTIFY... no
checking for xaw3d... no
checking for libXaw... yes; using Lucid toolkit
checking X11 toolkit version... 6 or newer
checking for library containing XmuConvertStandardSelection... -lXmu
checking for FONTCONFIG... yes
checking for XFT... yes
checking for XRenderQueryExtension in -lXrender... no
checking for FREETYPE... yes
checking for LIBOTF... no
checking X11/Xlib-xcb.h usability... no
checking X11/Xlib-xcb.h presence... no
checking for X11/Xlib-xcb.h... no
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 library containing inflateEnd... -lz
checking for png... yes
checking whether png_longjmp is declared... no
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for TIFFGetVersion in -ltiff... yes
checking gpm.h usability... no
checking gpm.h presence... no
checking for gpm.h... no
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... no
checking for X11/extensions/Xrandr.h... no
checking for XINERAMA... no
checking X11/extensions/Xinerama.h usability... yes
checking X11/extensions/Xinerama.h presence... yes
checking for X11/extensions/Xinerama.h... yes
checking for XineramaQueryExtension in -lXinerama... yes
checking for XFIXES... no
checking X11/extensions/Xfixes.h usability... yes
checking X11/extensions/Xfixes.h presence... yes
checking for X11/extensions/Xfixes.h... yes
checking for XFixesHideCursor in -lXfixes... no
checking for LIBXML2... yes
checking for htmlReadMemory in -lxml2... yes
checking whether netdb declares h_errno... yes
checking for maillock in -lmail... yes
checking for touchlock... yes
checking for maillock in -llockfile... no
checking for liblockfile.so... no
checking for accept4... no
checking for fchdir... yes
checking for gethostname... yes
checking for getrusage... yes
checking for get_current_dir_name... no
checking for lrand48... yes
checking for random... yes
checking for rint... yes
checking for select... yes
checking for getpagesize... (cached) yes
checking for setlocale... yes
checking for newlocale... no
checking for getrlimit... yes
checking for setrlimit... yes
checking for shutdown... yes
checking for getaddrinfo... yes
checking for pthread_sigmask... (cached) yes
checking for strsignal... yes
checking for setitimer... yes
checking for sendto... yes
checking for recvfrom... yes
checking for getsockname... yes
checking for getpeername... yes
checking for getifaddrs... no
checking for freeifaddrs... no
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... no
checking for cfsetspeed... no
checking for copysign... yes
checking for __executable_start... no
checking for log2... yes
checking for aligned_alloc... no
checking for posix_memalign... no
checking for __builtin_unwind_init... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for grantpt... yes
checking for getpt... no
checking for posix_openpt... yes
checking for library containing tputs... -lncurses
checking for timerfd interface... no
checking whether signals can be handled on alternate stack... yes
checking for res_init with -lresolv... yes
checking valgrind/valgrind.h usability... no
checking valgrind/valgrind.h presence... no
checking for valgrind/valgrind.h... no
checking for struct unipair.unicode... no
checking for socket... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... 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... no
checking for nl_langinfo and CODESET... yes
checking for mbstate_t... yes
checking for _setjmp... yes
checking for sigsetjmp... yes
checking for usable FIONREAD... yes
checking for struct alignment... no
checking for working alloca.h... yes
checking for alloca... yes
checking for unsigned long long int... yes
checking whether byte ordering is bigendian... no
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking whether strtold conforms to C99... yes
checking if environ is properly declared... no
checking for complete errno.h... yes
checking for mode_t... yes
checking whether fdatasync is declared... yes
checking for st_dm_mode in struct stat... no
checking whether strmode is declared... no
checking whether lstat correctly handles trailing slash... yes
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... no
checking whether getenv is declared... yes
checking for C/C++ restrict keyword... __restrict__
checking for struct timeval... yes
checking for wide-enough struct timeval.tv_sec member... yes
checking for long long int... yes
checking whether stdint.h conforms to C99... no
checking sys/inttypes.h usability... yes
checking sys/inttypes.h presence... yes
checking for sys/inttypes.h... yes
checking sys/bitypes.h usability... no
checking sys/bitypes.h presence... no
checking for sys/bitypes.h... no
checking for bit size of ptrdiff_t... 32
checking for bit size of size_t... 32
checking for bit size of sig_atomic_t... 32
checking for bit size of wchar_t... 32
checking for bit size of wint_t... 32
checking whether sig_atomic_t is signed... yes
checking whether wchar_t is signed... yes
checking whether wint_t is signed... yes
checking for ptrdiff_t integer literal suffix... 
checking for size_t integer literal suffix... u
checking for sig_atomic_t integer literal suffix... 
checking for wchar_t integer literal suffix... l
checking for wint_t integer literal suffix... l
checking whether memrchr is declared... no
checking whether alarm is declared... yes
checking whether <sys/select.h> is self-contained... no
checking for sigset_t... yes
checking for wchar_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... no
checking whether tzname is declared... yes
checking for tzname... yes
checking for struct tm.tm_gmtoff... no
checking whether strtoimax is declared... yes
checking whether strtoumax is declared... yes
checking whether stat file-mode macros are broken... no
checking for struct timespec in <time.h>... yes
checking whether the utimes function works... yes
checking for struct utimbuf... yes
checking type of array argument to getgroups... gid_t
checking whether getdtablesize is declared... 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... no
checking for facl... yes
checking for library containing acl_trivial... -lsec
checking for acl_trivial... yes
checking for alloca as a compiler built-in... no
checking byteswap.h usability... no
checking byteswap.h presence... no
checking for byteswap.h... no
checking for library containing clock_gettime... -lrt
checking for clock_gettime... yes
checking for clock_settime... yes
checking whether dup2 works... yes
checking for access... yes
checking whether fcntl handles F_DUPFD correctly... yes
checking whether fcntl understands F_DUPFD_CLOEXEC... no
checking for library containing fdatasync... -lrt
checking whether fdopendir is declared... yes
checking whether fdopendir works... yes
checking for __fpending... yes
checking whether __fpending is declared... yes
checking whether fstatat (..., 0) works... yes
checking for getloadavg... yes
checking sys/loadavg.h usability... yes
checking sys/loadavg.h presence... yes
checking for sys/loadavg.h... yes
checking whether getloadavg is declared... yes
checking whether gettimeofday clobbers localtime buffer... no
checking for gettimeofday with POSIX signature... yes
checking for memrchr... no
checking for working mktime... yes
checking whether signature of pselect conforms to POSIX... yes
checking whether pselect detects invalid fds... yes
checking whether pthread_sigmask works without -lpthread... yes
checking whether pthread_sigmask returns error numbers... yes
checking whether pthread_sigmask unblocks signals correctly... guessing yes
checking whether readlink signature is correct... yes
checking whether readlink handles trailing slash correctly... yes
checking for sig2str... yes
checking for volatile sig_atomic_t... yes
checking for sighandler_t... no
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... no
checking for max_align_t... no
checking whether NULL can be used in arbitrary expressions... yes
checking which flavor of printf attribute matches inttypes macros... system
checking for stpcpy... no
checking whether strtoimax works... yes
checking whether symlink handles trailing slash correctly... yes
checking whether <sys/select.h> is self-contained... (cached) no
checking for nlink_t... yes
checking whether localtime_r is declared... yes
checking whether localtime_r is compatible with its POSIX signature... yes
checking for timezone_t... no
checking for library containing timer_settime... -lrt
checking for timer_settime... yes
checking whether futimesat handles NULL file... yes
checking for variable-length arrays... yes
checking for euidaccess... no
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking for getgroups... yes
checking for working getgroups... yes
checking for library containing eaccess... -lgen
checking for eaccess... yes
checking for group_member... no
checking for getgroups... (cached) yes
checking for working getgroups... (cached) yes
checking whether getgroups handles negative values... yes
checking whether stat handles trailing slashes on directories... yes
checking whether stat handles trailing slashes on files... yes
checking whether getdtablesize works... yes
checking for __secure_getenv... no
checking for issetugid... yes
checking for __mktime_internal... no
checking for cc -D_STDC_C99= option to disable position independent executables... no

Configured for 'i386-pc-solaris2.10'.

  Where should the build process find the source code?    .
  What compiler should emacs be built with?               cc -D_STDC_C99= -g -O
  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?                          LUCID
  Where do we find X Windows header files?                /usr/openwin/include
  Where do we find X Windows libraries?                   /usr/openwin/lib
  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?                           no 
  Does Emacs use a png library?                           yes -lpng12
  Does Emacs use -lrsvg-2?                                no
  Does Emacs use cairo?                                   no
  Does Emacs use imagemagick?                             no
  Does Emacs support sound?                               no
  Does Emacs use -lgpm?                                   no
  Does Emacs use -ldbus?                                  no
  Does Emacs use -lgconf?                                 no
  Does Emacs use GSettings?                               no
  Does Emacs use a file notification library?             no
  Does Emacs use access control lists?                    yes -lsec
  Does Emacs use -lselinux?                               no
  Does Emacs use -lgnutls?                                no
  Does Emacs use -lxml2?                                  yes
  Does Emacs use -lfreetype?                              yes
  Does Emacs use -lm17n-flt?                              no
  Does Emacs use -lotf?                                   no
  Does Emacs use -lxft?                                   yes
  Does Emacs directly use zlib?                           yes
  Does Emacs have dynamic modules support?                no
  Does Emacs use toolkit scroll bars?                     yes
  Does Emacs support Xwidgets (requires gtk3)?            no


checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating ./doc/man/emacs.1
config.status: creating Makefile
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 admin/charsets/Makefile
config.status: creating admin/unidata/Makefile
config.status: creating admin/grammars/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
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 -C lib all
make[1]: Entering directory '/tmp/emacs-25.2/lib'
  GEN      byteswap.h
  GEN      c++defs.h
  GEN      arg-nonnull.h
  GEN      warn-on-use.h
  GEN      dirent.h
  GEN      execinfo.h
  GEN      fcntl.h
  GEN      getopt.h
  GEN      inttypes.h
  GEN      signal.h
  GEN      stdalign.h
  GEN      stddef.h
  GEN      stdint.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
make  all-am
make[2]: Entering directory '/tmp/emacs-25.2/lib'
  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-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       gettime.o
  CC       pipe2.o
  CC       qcopy-acl.o
  CC       stat-time.o
  CC       strftime.o
  CC       tempname.o
  CC       timespec.o
  CC       timespec-add.o
  CC       timespec-sub.o
  CC       u64.o
  CC       unistd.o
  CC       utimens.o
  CC       openat-die.o
  CC       save-cwd.o
  CC       euidaccess.o
  CC       execinfo.o
  CC       faccessat.o
  CC       fcntl.o
  CC       getopt.o
  CC       getopt1.o
  CC       group-member.o
  CC       memrchr.o
  CC       mkostemp.o
  CC       mktime.o
  CC       openat-proc.o
  CC       readlinkat.o
  CC       secure_getenv.o
  CC       stpcpy.o
  CC       time_rz.o
  CC       timegm.o
  AR       libgnu.a
make[2]: Leaving directory '/tmp/emacs-25.2/lib'
make[1]: Leaving directory '/tmp/emacs-25.2/lib'
make -C lib-src all
make[1]: Entering directory '/tmp/emacs-25.2/lib-src'
  CC       regex.o
  CCLD     etags
  CCLD     ctags
  CCLD     emacsclient
  CCLD     ebrowse
  CCLD     profile
  CC       pop.o
  CCLD     movemail
  CCLD     hexl
  CCLD     update-game-score
  CCLD     make-docfile
make[1]: Leaving directory '/tmp/emacs-25.2/lib-src'
make -C src VCSWITNESS='' all
make[1]: Entering directory '/tmp/emacs-25.2/src'
  GEN      lisp.mk
  GEN      globals.h
make -C ../lwlib liblw.a
make[2]: Entering directory '/tmp/emacs-25.2/lwlib'
  CC       lwlib.o
  CC       lwlib-Xlw.o
  CC       xlwmenu.o
  CC       lwlib-Xaw.o
  CC       lwlib-utils.o
  GEN      liblw.a
make[2]: Leaving directory '/tmp/emacs-25.2/lwlib'
  CC       dispnew.o
"dispnew.c", line 6094: warning: dead part of constant expression is nonconstant
"dispnew.c", line 6098: warning: dead part of constant expression is nonconstant
  CC       frame.o
"frame.c", line 4399: warning: dead part of constant expression is nonconstant
  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
"xfaces.c", line 3330: warning: dead part of constant expression is nonconstant
"xfaces.c", line 3721: warning: dead part of constant expression is nonconstant
"xfaces.c", line 3728: warning: dead part of constant expression is nonconstant
"xfaces.c", line 3735: warning: dead part of constant expression is nonconstant
  CC       xterm.o
"xterm.c", line 9731: warning: assignment type mismatch:
	pointer to function(pointer to struct _XIC {}, pointer to char, pointer to char) returning void "=" pointer to function(pointer to struct _XIM {}, pointer to char, pointer to char) returning void
  CC       xfns.o
"xfns.c", line 1870: warning: dead part of constant expression is nonconstant
"xfns.c", line 3132: warning: dead part of constant expression is nonconstant
"xfns.c", line 5614: warning: dead part of constant expression is nonconstant
"xfns.c", line 5635: warning: dead part of constant expression is nonconstant
"xfns.c", line 5657: warning: dead part of constant expression is nonconstant
  CC       xselect.o
  CC       xrdb.o
  CC       xsmfns.o
  CC       xsettings.o
  CC       emacs.o
  CC       keyboard.o
"keyboard.c", line 3620: warning: initializer does not fit or is out of range: -536870912
  CC       macros.o
  CC       keymap.o
  CC       sysdep.o
  CC       buffer.o
  CC       filelock.o
  CC       insdel.o
  CC       marker.o
  CC       minibuf.o
  CC       fileio.o
  CC       dired.o
"dired.c", line 981: warning: dead part of constant expression is nonconstant
"dired.c", line 981: warning: dead part of constant expression is nonconstant
"dired.c", line 981: warning: dead part of constant expression is nonconstant
"dired.c", line 981: warning: dead part of constant expression is nonconstant
"dired.c", line 981: warning: dead part of constant expression is nonconstant
"dired.c", line 981: warning: dead part of constant expression is nonconstant
"dired.c", line 981: warning: dead part of constant expression is nonconstant
"dired.c", line 981: warning: dead part of constant expression is nonconstant
"dired.c", line 981: warning: dead part of constant expression is nonconstant
"dired.c", line 981: warning: dead part of constant expression is nonconstant
"dired.c", line 981: warning: dead part of constant expression is nonconstant
"dired.c", line 981: warning: dead part of constant expression is nonconstant
"dired.c", line 981: warning: dead part of constant expression is nonconstant
"dired.c", line 981: warning: dead part of constant expression is nonconstant
"dired.c", line 981: warning: dead part of constant expression is nonconstant
  CC       cmds.o
  CC       casetab.o
  CC       casefiddle.o
  CC       indent.o
  CC       search.o
  CC       regex.o
  CC       undo.o
  CC       alloc.o
"alloc.c", line 3722: warning: enum type mismatch: op "="
  CC       data.o
  GEN      buildobj.h
  CC       doc.o
  CC       editfns.o
"editfns.c", line 2154: warning: dead part of constant expression is nonconstant
"editfns.c", line 2154: warning: dead part of constant expression is nonconstant
"editfns.c", line 2154: warning: dead part of constant expression is nonconstant
  CC       callint.o
  CC       eval.o
  CC       floatfns.o
  CC       fns.o
  CC       font.o
  CC       print.o
  CC       lread.o
  CC       syntax.o
  CC       unexsol.o
  CC       bytecode.o
  CC       process.o
  CC       gnutls.o
  CC       callproc.o
  CC       region-cache.o
  CC       sound.o
  CC       atimer.o
  CC       doprnt.o
  CC       intervals.o
  CC       textprop.o
  CC       composite.o
  CC       xml.o
  CC       profiler.o
  CC       decompress.o
  CC       xfont.o
  CC       ftfont.o
  CC       xftfont.o
  CC       ftxfont.o
  CC       fontset.o
"fontset.c", line 1612: warning: dead part of constant expression is nonconstant
  CC       fringe.o
  CC       image.o
  CC       terminfo.o
  CC       lastfile.o
  CC       widget.o
make -C ../admin/charsets all
make[2]: Entering directory '/tmp/emacs-25.2/admin/charsets'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/tmp/emacs-25.2/admin/charsets'
make -C ../admin/unidata charscript.el
make[2]: Entering directory '/tmp/emacs-25.2/admin/unidata'
make[2]: Nothing to be done for 'charscript.el'.
make[2]: Leaving directory '/tmp/emacs-25.2/admin/unidata'
  CCLD     temacs
/opt/sfw/bin/mkdir -p ../etc
make -C ../lisp update-subdirs
make[2]: Entering directory '/tmp/emacs-25.2/lisp'
make[2]: Leaving directory '/tmp/emacs-25.2/lisp'
./temacs --batch --load loadup bootstrap
Fatal error 6: Abortmake[1]: *** [Makefile:737: bootstrap-emacs] Abort (core dumped)
make[1]: Leaving directory '/tmp/emacs-25.2/src'
make: *** [Makefile:398: src] Error 2





Severity set to 'important' from 'normal' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 24 Apr 2017 15:38:02 GMT) Full text and rfc822 format available.

Added indication that bug 26638 blocks24655 Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 24 Apr 2017 15:38:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26638; Package emacs. (Tue, 25 Apr 2017 00:58:02 GMT) Full text and rfc822 format available.

Message #12 received at 26638 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 白井彰 <okshirai <at> gmail.com>
Cc: 26638 <at> debbugs.gnu.org
Subject: Re: 25.2; Fatal error 6: Abortmake[1]: *** [Makefile:737:
 bootstrap-emacs] Abort (core dumped)
Date: Mon, 24 Apr 2017 17:57:16 -0700
Thanks for reporting the bug. I reproduced the problem with the 
following configuration:

* sparc-sun-solaris2.10, X toolkit, Xaw scroll bars, configured using 
"./configure CC=cc --with-jpeg=no --with-png=no --with-gif=no 
--with-tiff=no". 'cc -V' reports 'cc: Studio 12.5 Sun C 5.14 SunOS_sparc 
2016/05/31' and src/Makefile says CFLAGS is '-g3 -O'. '/bin/uname -a' 
reports 'SunOS kiwi.cs.ucla.edu 5.10 Generic_150400-34 sun4u sparc 
SUNW,Sun-Fire-280R'.

However, I could not reproduce the problem again, despite trying several 
times; Emacs built and ran fine in these other times. Perhaps it's some 
address-randomization thing, though it's odd that it's so hard to reproduce.

If you run 'make' again, on the directory where 'make' failed, does 
'make' work the second time?

Can you reproduce the problem easily?

Can you reproduce it with CFLAGS='-g' instead of '-g -O'?

Can you give us a debugging backtrace with dbx and/or GDB, preferably 
without -O?

Also, would you please let us know the following information?

* The output of 'cc -V', 'uname -a', 'ulimit -a'.

* The values of CC and CFLAGS in src/Makefile.

Thanks.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26638; Package emacs. (Tue, 25 Apr 2017 15:51:01 GMT) Full text and rfc822 format available.

Message #15 received at 26638 <at> debbugs.gnu.org (full text, mbox):

From: 白井彰 <okshirai <at> gmail.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: Akira Shirai <okshirai <at> gmail.com>, 26638 <at> debbugs.gnu.org
Subject: Re: 25.2; Fatal error 6: Abortmake[1]: *** [Makefile:737:
 bootstrap-emacs] Abort (core dumped)
Date: Wed, 26 Apr 2017 00:50:21 +0900
Thanks for reading the report.

> If you run 'make' again, on the directory where 'make' failed, does 'make' work the second time?
'make' does not work the second time:
% gzcat emacs-25.2.tar.gz | tar xfp -; cd emacs-25.2; ./configure --with-gif=no; make; make
checking for xcrun... no
    :
./temacs --batch --load loadup bootstrap
Fatal error 6: Abortmake[1]: *** [Makefile:737: bootstrap-emacs] Abort (core dumped)
make[1]: Leaving directory '/tmp/emacs-25.2/src'
make: *** [Makefile:398: src] Error 2
make -C lib all
    :
./temacs --batch --load loadup bootstrap
Fatal error 6: Abortmake[1]: *** [Makefile:737: bootstrap-emacs] Abort (core dumped)
make[1]: Leaving directory '/tmp/emacs-25.2/src'
make: *** [Makefile:398: src] Error 2

> Can you reproduce the problem easily?
Yes, I can reproduce the problem every time:
% gzcat emacs-25.2.tar.gz | tar xfp -; cd emacs-25.2; ./configure --with-gif=no; make
checking for xcrun... no
    :
./temacs --batch --load loadup bootstrap
Fatal error 6: Abortmake[1]: *** [Makefile:737: bootstrap-emacs] Abort (core dumped)
make[1]: Leaving directory '/tmp/emacs-25.2/src'
make: *** [Makefile:398: src] Error 2
% cd ..; rm -rf emacs-25.2
% gzcat emacs-25.2.tar.gz | tar xfp -; cd emacs-25.2; ./configure --with-gif=no; make
checking for xcrun... no
    :
./temacs --batch --load loadup bootstrap
Fatal error 6: Abortmake[1]: *** [Makefile:737: bootstrap-emacs] Abort (core dumped)
make[1]: Leaving directory '/tmp/emacs-25.2/src'
make: *** [Makefile:398: src] Error 2

> Can you reproduce it with CFLAGS='-g' instead of '-g -O'?
No, I cannot reproduce it with CFLAGS='-g':
% gzcat emacs-25.2.tar.gz | tar xfp -; cd emacs-25.2; ./configure --with-gif=no CFLAGS='-g'; make
checking for xcrun... no
    :
checking for cc -D_STDC_C99= option to disable position independent executables... no

Configured for 'i386-pc-solaris2.10'.

  Where should the build process find the source code?    .
  What compiler should emacs be built with?               cc -D_STDC_C99= -g
    :
  Does Emacs support Xwidgets (requires gtk3)?            no


checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating ./doc/man/emacs.1
    :
config.status: executing etc-refcards-emacsver.tex commands
make -C lib all
make[1]: Entering directory '/tmp/emacs-25.2/lib'
  GEN      byteswap.h
    :
make[2]: Leaving directory '/tmp/emacs-25.2/lisp'
./temacs --batch --load loadup bootstrap
Loading loadup.el (source)...
Using load-path (/tmp/emacs-25.2/lisp /tmp/emacs-25.2/lisp/emacs-lisp /tmp/emacs-25.2/lisp/language /tmp/emacs-25.2/lisp/international /tmp/emacs-25.2/lisp/textmodes /tmp/emacs-25.2/lisp/vc)
Loading emacs-lisp/byte-run...
    :
Loading /tmp/emacs-25.2/lisp/leim/leim-list.el (source)...
Finding pointers to doc strings...
Finding pointers to doc strings...done
Dumping under the name emacs
44539 pure bytes used
mv -f emacs bootstrap-emacs
make -C ../lisp compile-first EMACS="../src/bootstrap-emacs"
    :
LC_ALL=C ./temacs -batch -l loadup dump
Loading loadup.el (source)...
Using load-path (/tmp/emacs-25.2/lisp)
Loading emacs-lisp/byte-run...
    :
Loading leim/leim-list.el (source)...
Finding pointers to doc strings...
Finding pointers to doc strings...done
Pure-hashed: 24148 strings, 3793 vectors, 38652 conses, 3700 bytecodes, 102 others
Dumping under the name emacs
1782190 pure bytes used
Adding name emacs-25.2.1
ln -f emacs bootstrap-emacs
make[1]: Leaving directory '/tmp/emacs-25.2/src'
make -C lisp all
    :
make[1]: Leaving directory '/tmp/emacs-25.2'
%

> Can you give us a debugging backtrace with dbx and/or GDB, preferably without -O?
The debugging backtrace with pstack and GDB, with -O:
% pstack /tmp/emacs-25.2/src/core
core '/tmp/emacs-25.2/src/core' of 20343:       ./temacs --batch --load loadup bootstrap
 fe6dab25 _lwp_kill (1, 6) + 15
 fe681ee3 raise    (6) + 1f
 081c888a terminate_due_to_signal (6, 28, 80470b8, 8294416) + a2
 081f5167 emacs_abort (3240, 0, 80470e8, 81d13f5, 3240, 5298) + f
 082945c8 specbind (3240, 5298, 80470e8, 81d13cd) + 1cc
 081d13f5 safe_run_hooks (1cdc8) + 35
 08228707 Fdo_auto_save (5298, 0, 5, 81ca48e) + c7
 081ca52b shut_down_emacs (6) + eb
 081c884a terminate_due_to_signal (6, 28, 8047228, 826e05d) + 62
 081f5167 emacs_abort (83be594, 85cd64d, 8047228, 0, 85bbd68, 0) + f
 0826e36e set_internal (1cdb0, 85d454b, 0, 0) + 3b6
 0826dfa4 Fset     (1cdb0, 85d454b, 2, 82cbecb) + 20
 081efb4a syms_of_keymap (feffb818, 0, 1, feffdd68, 1, 0) + ae
 081c957f main     (5, 8047340, 8047358, feffb818) + 69f
 0809b12d _start   (5, 8047474, 804747d, 8047485, 804748c, 8047493) + 7d
% gdb /tmp/emacs-25.2/src/temacs /tmp/emacs-25.2/src/core
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
    :
Loaded symbols for /lib/ld.so.1
Core was generated by `./temacs --batch --load loadup bootstrap'.
Program terminated with signal 6, Aborted.
#0  0xfe6dab25 in _lwp_kill () from /usr/lib/libc.so.1
Die: DW_TAG_restrict_type (abbrev = 52, offset = 2004061)
        has children: FALSE
        attributes:
                DW_AT_type (DW_FORM_ref4) constant ref: 2004056 (adjusted)
/tmp/emacs-25.2/src/.gdbinit:19: Error in sourced command file:
Dwarf Error: Cannot find type of die [in module /tmp/emacs-25.2/src/temacs]
(gdb) backtrace
#0  0xfe6dab25 in _lwp_kill () from /usr/lib/libc.so.1
#1  0xfe6d599f in thr_kill () from /usr/lib/libc.so.1
#2  0xfe681ee3 in raise () from /usr/lib/libc.so.1
Die: DW_TAG_restrict_type (abbrev = 52, offset = 2004061)
        has children: FALSE
        attributes:
                DW_AT_type (DW_FORM_ref4) constant ref: 2004056 (adjusted)
Dwarf Error: Cannot find type of die [in module /tmp/emacs-25.2/src/temacs]
(gdb) quit
%

> Also, would you please let us know the following information?
> * The output of 'cc -V', 'uname -a', 'ulimit -a'.
> * The values of CC and CFLAGS in src/Makefile.
Please see the following information:
% cc -V
cc: Sun C 5.9 SunOS_i386 Patch 124868-01 2007/07/12
usage: cc [ options] files.  Use 'cc -flags' for details
% uname -a
SunOS tokyo 5.10 Generic_141445-09 i86pc i386 i86pc
% ulimit -a
time(seconds)        unlimited
file(blocks)         unlimited
data(kbytes)         unlimited
stack(kbytes)        10240
coredump(blocks)     unlimited
nofiles(descriptors) 1024
vmemory(kbytes)      unlimited
% gzcat emacs-25.2.tar.gz | tar xfp -; cd emacs-25.2; ./configure --with-gif=no
% egrep '^CC =|^CFLAGS =' /tmp/emacs-25.2/src/Makefile
CC = cc -D_STDC_C99=
CFLAGS = -g -O
% cd ..; rm -rf emacs-25.2
% gzcat emacs-25.2.tar.gz | tar xfp -; cd emacs-25.2; ./configure --with-gif=no CFLAGS='-g'
% egrep '^CC =|^CFLAGS =' /tmp/emacs-25.2/src/Makefile
CC = cc -D_STDC_C99=
CFLAGS = -g

Thanks.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26638; Package emacs. (Sat, 29 Apr 2017 19:22:02 GMT) Full text and rfc822 format available.

Message #18 received at 26638 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 白井彰 <okshirai <at> gmail.com>
Cc: 26638 <at> debbugs.gnu.org
Subject: Re: 25.2; Fatal error 6: Abortmake[1]: *** [Makefile:737:
 bootstrap-emacs] Abort (core dumped)
Date: Sat, 29 Apr 2017 12:21:49 -0700
For what it's worth I could not reproduce the problem on i386-pc-solaris2.11 
with Sun C 5.12. Emacs did not crash at all.

My guess is that it's a bug in how unexec works in your environment. It's also 
possible that it's a bug in your C compiler, though I think this less likely. 
Unfortunately, it is hard to debug this sort of thing without access to the 
failing system.

Is it easy for you to try the latest C compiler from Oracle instead? The current 
stable version is Sun C 5.14 (Oracle Developer Studio 12.5), which you can get here:

https://www.oracle.com/tools/developerstudio/index.html




Added tag(s) moreinfo. Request was from Paul Eggert <eggert <at> cs.ucla.edu> to control <at> debbugs.gnu.org. (Thu, 25 May 2017 07:49:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26638; Package emacs. (Sat, 02 Sep 2017 12:32:02 GMT) Full text and rfc822 format available.

Message #23 received at 26638 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: okshirai <at> gmail.com, 26638 <at> debbugs.gnu.org
Subject: Re: 25.2; Fatal error 6: Abortmake[1]: *** [Makefile:737:
 bootstrap-emacs] Abort (core dumped)
Date: Sat, 02 Sep 2017 15:31:10 +0300
unblock 24655 by 26638
thanks

> From: Paul Eggert <eggert <at> cs.ucla.edu>
> Date: Sat, 29 Apr 2017 12:21:49 -0700
> Cc: 26638 <at> debbugs.gnu.org
> 
> For what it's worth I could not reproduce the problem on i386-pc-solaris2.11 
> with Sun C 5.12. Emacs did not crash at all.
> 
> My guess is that it's a bug in how unexec works in your environment. It's also 
> possible that it's a bug in your C compiler, though I think this less likely. 
> Unfortunately, it is hard to debug this sort of thing without access to the 
> failing system.
> 
> Is it easy for you to try the latest C compiler from Oracle instead? The current 
> stable version is Sun C 5.14 (Oracle Developer Studio 12.5), which you can get here:
> 
> https://www.oracle.com/tools/developerstudio/index.html

Any news on this one?

In any case, given the time since the last communication, and no
similar reports from anyone else, it doesn't seem right to block the
release of Emacs 26.1 due to this problem.

Thanks.




Removed indication that bug 26638 blocks Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 02 Sep 2017 12:32:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26638; Package emacs. (Sat, 02 Sep 2017 13:04:03 GMT) Full text and rfc822 format available.

Message #28 received at 26638 <at> debbugs.gnu.org (full text, mbox):

From: 白井彰 <okshirai <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Akira Shirai <okshirai <at> gmail.com>, Paul Eggert <eggert <at> cs.ucla.edu>,
 26638 <at> debbugs.gnu.org
Subject: Re: 25.2; Fatal error 6: Abortmake[1]: *** [Makefile:737:
 bootstrap-emacs] Abort (core dumped)
Date: Sat, 2 Sep 2017 22:03:23 +0900
[Message part 1 (text/plain, inline)]
Hello,

I'm sorry that I can not report any news on this one, except I've
downloaded Sun C 5.14 (Oracle Developer Studio 12.5) but I've not
installed the compiler on my site yet.  I agree that it isn't right to
block the release of Emacs 26.1 due to this problem.

Thanks.

> 2017/09/02 21:31、Eli Zaretskii <eliz <at> gnu.org>のメール:
> 
> unblock 24655 by 26638
> thanks
> 
>> From: Paul Eggert <eggert <at> cs.ucla.edu <mailto:eggert <at> cs.ucla.edu>>
>> Date: Sat, 29 Apr 2017 12:21:49 -0700
>> Cc: 26638 <at> debbugs.gnu.org <mailto:26638 <at> debbugs.gnu.org>
>> 
>> For what it's worth I could not reproduce the problem on i386-pc-solaris2.11 
>> with Sun C 5.12. Emacs did not crash at all.
>> 
>> My guess is that it's a bug in how unexec works in your environment. It's also 
>> possible that it's a bug in your C compiler, though I think this less likely. 
>> Unfortunately, it is hard to debug this sort of thing without access to the 
>> failing system.
>> 
>> Is it easy for you to try the latest C compiler from Oracle instead? The current 
>> stable version is Sun C 5.14 (Oracle Developer Studio 12.5), which you can get here:
>> 
>> https://www.oracle.com/tools/developerstudio/index.html <https://www.oracle.com/tools/developerstudio/index.html>
> 
> Any news on this one?
> 
> In any case, given the time since the last communication, and no
> similar reports from anyone else, it doesn't seem right to block the
> release of Emacs 26.1 due to this problem.
> 
> Thanks.

[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26638; Package emacs. (Sat, 02 Sep 2017 18:19:01 GMT) Full text and rfc822 format available.

Message #31 received at 26638 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 白井彰 <okshirai <at> gmail.com>, Eli Zaretskii <eliz <at> gnu.org>
Cc: 26638 <at> debbugs.gnu.org
Subject: Re: 25.2; Fatal error 6: Abortmake[1]: *** [Makefile:737:
 bootstrap-emacs] Abort (core dumped)
Date: Sat, 2 Sep 2017 11:18:09 -0700
白井彰 wrote:
> I'm sorry that I can not report any news on this one, except I've
> downloaded Sun C 5.14 (Oracle Developer Studio 12.5) but I've not
> installed the compiler on my site yet.  I agree that it isn't right to
> block the release of Emacs 26.1 due to this problem.

Thanks. Since we last wrote, Oracle has released Oracle Developer Studio 12.6 
(Sun C 5.15) so I suggest trying that instead of the previous release.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26638; Package emacs. (Wed, 13 Sep 2017 13:18:01 GMT) Full text and rfc822 format available.

Message #34 received at 26638 <at> debbugs.gnu.org (full text, mbox):

From: 白井彰 <okshirai <at> gmail.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: Akira Shirai <okshirai <at> gmail.com>, Eli Zaretskii <eliz <at> gnu.org>,
 26638 <at> debbugs.gnu.org
Subject: Re: 25.2; Fatal error 6: Abortmake[1]: *** [Makefile:737:
 bootstrap-emacs] Abort (core dumped)
Date: Wed, 13 Sep 2017 22:17:06 +0900
Hello,

I've installed Sun C 5.15 (Oracle Developer Studio 12.6) on my new
site and tried to build emacs-25.2 on the site (i386-pc-solaris2.10).
temacs also dumped core but the stack of the core was different from
the stack of the core of temacs compiled with Sun C 5.9:

./temacs --batch --load loadup bootstrap
    :
Dumping under the name emacs
make[1]: *** [Makefile:737: bootstrap-emacs] Segmentation Fault (core dumped)
make[1]: Leaving directory '/tmp/emacs-25.2/src'
make: *** [Makefile:398: src] Error 2

% pstack /tmp/emacs-25.2/src/core
core '/tmp/emacs-25.2/src/core' of 6154:    ./temacs --batch --load loadup bootstrap
 fe5a17ea rt_dldump (feffdd88, 8c0c21c, 1000, 0) + 7a6
 fefd9fe9 dldump_core (feffb28c, 0, 8c0c21c, 1000) + 175
 fefda036 dldump   (0, 8c0c21c, 1000, 8bd1b58) + 42
 0834b719 unexec   (8c0c21c, 8c0c250, 8046ac8, 8215a4d) + 19
 08215aa2 Fdump_emacs (8bd1b5c, 8bd19ec, 2, 82f1646) + 1c2
 082f20b3 eval_sub (8683cab, 0, 8046d68, 8216d34) + e13
 082ec2ce Fprogn   (8683c93, 8046dbc, 8046fc8, 82f1646) + 4e
 082f177b eval_sub (863827b, 8046f00, 8047008, 8216d34) + 4db
 082ec0f4 Fif      (8638293, 804705c, 8047268, 82f1646) + 74
 082f177b eval_sub (863ab4b, 0, 80473b8, 8330595) + 4db
 08330b2c readevalloop (2ca0, 8621340, 8649a74, 0, 0, 0) + a6c
 0832ea7d Fload    (86499f4, 0, 0, 0, 0, 804772c) + f9d
 082f219f eval_sub (8639b8b, 0, 8047998, 82f102b) + eff
 082f10c1 Feval    (8639b8b, 0, 865f358, 865f358) + a1
 082219e9 top_level_2 (86248b0, 0, feda0868, 865f358, 809bba0, feffb104) + 29
 082ef064 internal_condition_case (82219c0, 2208, 8221320, 888) + 64
 08221a6c top_level_1 (0, 0, 8047a68, 8216fdb) + 4c
 082ee6a1 internal_catch (5550, 8221a20, 0, 8216fdb) + 41
 082218a1 command_loop (84010c0, 8047d50, 1, 0, 8639b8b, 83f6691) + e1
 08220d46 recursive_edit_1 (86226a8, 39d8, 0, 82bbffc, 0, 8639b83) + 106
 08220fb4 Frecursive_edit (ffffffff, fee70b30, ffffffff, 1a, fffffffd, ffffffff) + 154
 0821502b main     (5, 8047ce0, 8047cf8) + 10eb
 0809ecb2 _start   (5, 8047db8, 8047dc1, 8047dc9, 8047dd0, 8047dd7) + 72

----------------------------------------------------------------------
% cc -V
cc: Studio 12.6 Sun C 5.15 SunOS_i386 2017/05/30
% uname -a
SunOS yokohama 5.10 Generic_142901-03 i86pc i386 i86pc
% ulimit -a
time(seconds)        unlimited
file(blocks)         unlimited
data(kbytes)         unlimited
stack(kbytes)        10240
coredump(blocks)     unlimited
nofiles(descriptors) 1024
vmemory(kbytes)      unlimited

% gzcat emacs-25.2.tar.gz | tar xfp -; cd emacs-25.2; ./configure --with-gif=no
checking for xcrun... no
checking for GNU Make... make
checking for a BSD-compatible install... build-aux/install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make supports nested variables... (cached) yes
checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
checking for gcc... no
checking for cc... cc
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... no
checking whether cc accepts -g... yes
checking whether cc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of cc... none
checking for cc option to accept ISO C99... none needed
checking for cc option to accept ISO Standard C... (cached) none needed
checking for putenv... yes
checking for tzset... yes
checking for fchmod... yes
checking for readlinkat... no
checking for faccessat... no
checking for fcntl... yes
checking for fdopendir... yes
checking for fstatat... yes
checking for fsync... yes
checking for gettimeofday... yes
checking for nanotime... no
checking for lstat... yes
checking for mkostemp... no
checking for pipe2... no
checking for pselect... yes
checking for readlink... yes
checking for strtoimax... yes
checking for strtoumax... yes
checking for symlink... yes
checking for localtime_r... yes
checking for timegm... no
checking for futimes... no
checking for futimesat... yes
checking for futimens... no
checking for utimensat... no
checking for lutimes... no
checking for getdtablesize... yes
checking for secure_getenv... no
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /usr/xpg4/bin/grep
checking for egrep... /usr/xpg4/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 the archiver (ar) interface... ar
checking for ar... (cached) 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 cc accepts -g3... yes
checking whether cc accepts -O... no
checking whether the compiler is clang... no
checking whether C compiler handles -Werror -Wunknown-warning-option... yes
checking whether make supports nested variables... (cached) yes
checking whether ln -s works for files in the same directory... yes
checking for install-info... :
checking for gzip... /usr/bin/gzip
checking for -znocombreloc... no
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... no
checking for soundcard.h... no
checking for mmsystem.h... no
checking for _oss_ioctl in -lossaudio... no
checking for ALSA... no
checking for sys/systeminfo.h... yes
checking for sys/sysinfo.h... yes
checking for coff.h... no
checking for pty.h... no
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 maillock.h... yes
checking for sys/un.h... yes
checking for dirent.h... yes
checking for execinfo.h... no
checking for stdio_ext.h... yes
checking for getopt.h... yes
checking for sys/time.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 utime.h... yes
checking if personality LINUX32 can be set... no
checking if Linux sysinfo may be used... no
checking for term.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether sys_siglist is declared... no
checking whether __sys_siglist is declared... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for net/if.h... yes
checking for ifaddrs.h... no
checking for net/if_dl.h... yes
checking for struct ifreq.ifr_flags... yes
checking for struct ifreq.ifr_hwaddr... no
checking for struct ifreq.ifr_netmask... no
checking for struct ifreq.ifr_broadaddr... yes
checking for struct ifreq.ifr_addr... yes
checking for struct ifreq.ifr_addr.sa_len... no
checking for long file names... 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... none needed
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 RSVG... no
checking for IMAGEMAGICK... no
checking for GTK... no
checking for GTK... no
checking for DBUS... no
checking for GSETTINGS... no
checking for GCONF... no
checking for lgetfilecon in -lselinux... no
checking for LIBGNUTLS... no
checking sys/inotify.h usability... no
checking sys/inotify.h presence... no
checking for sys/inotify.h... no
checking for KQUEUE... no
checking for library containing kqueue... no
checking for GFILENOTIFY... no
checking for xaw3d... no
checking for libXaw... yes; using Lucid toolkit
checking X11 toolkit version... 6 or newer
checking for library containing XmuConvertStandardSelection... -lXmu
checking for FONTCONFIG... yes
checking for XFT... yes
checking for XRenderQueryExtension in -lXrender... no
checking for FREETYPE... yes
checking for LIBOTF... no
checking X11/Xlib-xcb.h usability... no
checking X11/Xlib-xcb.h presence... no
checking for X11/Xlib-xcb.h... no
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 library containing inflateEnd... -lz
checking for png... yes
checking whether png_longjmp is declared... no
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for TIFFGetVersion in -ltiff... yes
checking gpm.h usability... no
checking gpm.h presence... no
checking for gpm.h... no
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... no
checking for X11/extensions/Xrandr.h... no
checking for XINERAMA... no
checking X11/extensions/Xinerama.h usability... yes
checking X11/extensions/Xinerama.h presence... yes
checking for X11/extensions/Xinerama.h... yes
checking for XineramaQueryExtension in -lXinerama... yes
checking for XFIXES... no
checking X11/extensions/Xfixes.h usability... yes
checking X11/extensions/Xfixes.h presence... yes
checking for X11/extensions/Xfixes.h... yes
checking for XFixesHideCursor in -lXfixes... no
checking for LIBXML2... yes
checking for htmlReadMemory in -lxml2... yes
checking whether netdb declares h_errno... yes
checking for maillock in -lmail... yes
checking for touchlock... yes
checking for maillock in -llockfile... no
checking for liblockfile.so... no
checking for accept4... no
checking for fchdir... yes
checking for gethostname... yes
checking for getrusage... yes
checking for get_current_dir_name... no
checking for lrand48... yes
checking for random... yes
checking for rint... yes
checking for select... yes
checking for getpagesize... (cached) yes
checking for setlocale... yes
checking for newlocale... no
checking for getrlimit... yes
checking for setrlimit... yes
checking for shutdown... yes
checking for getaddrinfo... yes
checking for pthread_sigmask... (cached) yes
checking for strsignal... yes
checking for setitimer... yes
checking for sendto... yes
checking for recvfrom... yes
checking for getsockname... yes
checking for getpeername... yes
checking for getifaddrs... no
checking for freeifaddrs... no
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... no
checking for cfsetspeed... no
checking for copysign... yes
checking for __executable_start... no
checking for log2... yes
checking for aligned_alloc... no
checking for posix_memalign... no
checking for __builtin_unwind_init... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for grantpt... yes
checking for getpt... no
checking for posix_openpt... yes
checking for library containing tputs... -ltermcap
checking for timerfd interface... no
checking whether signals can be handled on alternate stack... yes
checking for res_init with -lresolv... yes
checking valgrind/valgrind.h usability... no
checking valgrind/valgrind.h presence... no
checking for valgrind/valgrind.h... no
checking for struct unipair.unicode... no
checking for socket... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... 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... no
checking for nl_langinfo and CODESET... yes
checking for mbstate_t... yes
checking for _setjmp... yes
checking for sigsetjmp... yes
checking for usable FIONREAD... yes
checking for struct alignment... no
checking for working alloca.h... yes
checking for alloca... yes
checking for unsigned long long int... yes
checking whether byte ordering is bigendian... no
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking whether strtold conforms to C99... yes
checking if environ is properly declared... no
checking for complete errno.h... yes
checking for mode_t... yes
checking whether fdatasync is declared... yes
checking for st_dm_mode in struct stat... no
checking whether strmode is declared... no
checking whether lstat correctly handles trailing slash... yes
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... no
checking whether getenv is declared... yes
checking for C/C++ restrict keyword... __restrict
checking for struct timeval... yes
checking for wide-enough struct timeval.tv_sec member... yes
checking for long long int... yes
checking whether stdint.h conforms to C99... no
checking sys/inttypes.h usability... yes
checking sys/inttypes.h presence... yes
checking for sys/inttypes.h... yes
checking sys/bitypes.h usability... no
checking sys/bitypes.h presence... no
checking for sys/bitypes.h... no
checking for bit size of ptrdiff_t... 32
checking for bit size of size_t... 32
checking for bit size of sig_atomic_t... 32
checking for bit size of wchar_t... 32
checking for bit size of wint_t... 32
checking whether sig_atomic_t is signed... yes
checking whether wchar_t is signed... yes
checking whether wint_t is signed... yes
checking for ptrdiff_t integer literal suffix...
checking for size_t integer literal suffix... u
checking for sig_atomic_t integer literal suffix...
checking for wchar_t integer literal suffix... l
checking for wint_t integer literal suffix... l
checking whether memrchr is declared... no
checking whether alarm is declared... yes
checking whether <sys/select.h> is self-contained... no
checking for sigset_t... yes
checking for wchar_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... no
checking whether tzname is declared... yes
checking for tzname... yes
checking for struct tm.tm_gmtoff... no
checking whether strtoimax is declared... yes
checking whether strtoumax is declared... yes
checking whether stat file-mode macros are broken... no
checking for struct timespec in <time.h>... yes
checking whether the utimes function works... yes
checking for struct utimbuf... yes
checking type of array argument to getgroups... gid_t
checking whether getdtablesize is declared... 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... no
checking for facl... yes
checking for library containing acl_trivial... -lsec
checking for acl_trivial... yes
checking for alloca as a compiler built-in... no
checking byteswap.h usability... no
checking byteswap.h presence... no
checking for byteswap.h... no
checking for library containing clock_gettime... -lrt
checking for clock_gettime... yes
checking for clock_settime... yes
checking whether dup2 works... yes
checking for access... yes
checking whether fcntl handles F_DUPFD correctly... yes
checking whether fcntl understands F_DUPFD_CLOEXEC... no
checking for library containing fdatasync... -lrt
checking whether fdopendir is declared... yes
checking whether fdopendir works... yes
checking for __fpending... yes
checking whether __fpending is declared... yes
checking whether fstatat (..., 0) works... yes
checking for getloadavg... yes
checking sys/loadavg.h usability... yes
checking sys/loadavg.h presence... yes
checking for sys/loadavg.h... yes
checking whether getloadavg is declared... yes
checking whether gettimeofday clobbers localtime buffer... no
checking for gettimeofday with POSIX signature... yes
checking for memrchr... no
checking for working mktime... yes
checking whether signature of pselect conforms to POSIX... yes
checking whether pselect detects invalid fds... yes
checking whether pthread_sigmask works without -lpthread... yes
checking whether pthread_sigmask returns error numbers... yes
checking whether pthread_sigmask unblocks signals correctly... guessing yes
checking whether readlink signature is correct... yes
checking whether readlink handles trailing slash correctly... yes
checking for sig2str... yes
checking for volatile sig_atomic_t... yes
checking for sighandler_t... no
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... no
checking for max_align_t... no
checking whether NULL can be used in arbitrary expressions... yes
checking which flavor of printf attribute matches inttypes macros... system
checking for stpcpy... no
checking whether strtoimax works... yes
checking whether symlink handles trailing slash correctly... yes
checking whether <sys/select.h> is self-contained... (cached) no
checking for nlink_t... yes
checking whether localtime_r is declared... yes
checking whether localtime_r is compatible with its POSIX signature... yes
checking for timezone_t... no
checking for library containing timer_settime... -lrt
checking for timer_settime... yes
checking whether futimesat handles NULL file... yes
checking for variable-length arrays... yes
checking for euidaccess... no
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking for getgroups... yes
checking for working getgroups... yes
checking for library containing eaccess... -lgen
checking for eaccess... yes
checking for group_member... no
checking for getgroups... (cached) yes
checking for working getgroups... (cached) yes
checking whether getgroups handles negative values... yes
checking whether stat handles trailing slashes on directories... yes
checking whether stat handles trailing slashes on files... yes
checking whether getdtablesize works... yes
checking for __secure_getenv... no
checking for issetugid... yes
checking for __mktime_internal... no
checking for cc option to disable position independent executables... no

Configured for 'i386-pc-solaris2.10'.

  Where should the build process find the source code?    .
  What compiler should emacs be built with?               cc -g3
  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?                          LUCID
  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?                           no
  Does Emacs use a png library?                           yes -lpng12
  Does Emacs use -lrsvg-2?                                no
  Does Emacs use cairo?                                   no
  Does Emacs use imagemagick?                             no
  Does Emacs support sound?                               no
  Does Emacs use -lgpm?                                   no
  Does Emacs use -ldbus?                                  no
  Does Emacs use -lgconf?                                 no
  Does Emacs use GSettings?                               no
  Does Emacs use a file notification library?             no
  Does Emacs use access control lists?                    yes -lsec
  Does Emacs use -lselinux?                               no
  Does Emacs use -lgnutls?                                no
  Does Emacs use -lxml2?                                  yes
  Does Emacs use -lfreetype?                              yes
  Does Emacs use -lm17n-flt?                              no
  Does Emacs use -lotf?                                   no
  Does Emacs use -lxft?                                   yes
  Does Emacs directly use zlib?                           yes
  Does Emacs have dynamic modules support?                no
  Does Emacs use toolkit scroll bars?                     yes
  Does Emacs support Xwidgets (requires gtk3)?            no


checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating ./doc/man/emacs.1
config.status: creating Makefile
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 admin/charsets/Makefile
config.status: creating admin/unidata/Makefile
config.status: creating admin/grammars/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
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

% egrep '^CC =|^CFLAGS =' /tmp/emacs-25.2/src/Makefile
CC = cc
CFLAGS = -g3

% make
make -C lib all
make[1]: Entering directory '/tmp/emacs-25.2/lib'
  GEN      byteswap.h
  GEN      c++defs.h
  GEN      arg-nonnull.h
  GEN      warn-on-use.h
  GEN      dirent.h
  GEN      execinfo.h
  GEN      fcntl.h
  GEN      getopt.h
  GEN      inttypes.h
  GEN      signal.h
  GEN      stdalign.h
  GEN      stddef.h
  GEN      stdint.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
make  all-am
make[2]: Entering directory '/tmp/emacs-25.2/lib'
  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-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       gettime.o
  CC       pipe2.o
  CC       qcopy-acl.o
  CC       stat-time.o
  CC       strftime.o
  CC       tempname.o
  CC       timespec.o
  CC       timespec-add.o
  CC       timespec-sub.o
  CC       u64.o
  CC       unistd.o
  CC       utimens.o
  CC       openat-die.o
  CC       save-cwd.o
  CC       euidaccess.o
  CC       execinfo.o
  CC       faccessat.o
  CC       fcntl.o
  CC       getopt.o
  CC       getopt1.o
  CC       group-member.o
  CC       memrchr.o
  CC       mkostemp.o
  CC       mktime.o
  CC       openat-proc.o
  CC       readlinkat.o
  CC       secure_getenv.o
  CC       stpcpy.o
  CC       time_rz.o
  CC       timegm.o
  AR       libgnu.a
make[2]: Leaving directory '/tmp/emacs-25.2/lib'
make[1]: Leaving directory '/tmp/emacs-25.2/lib'
make -C lib-src all
make[1]: Entering directory '/tmp/emacs-25.2/lib-src'
  CC       regex.o
  CCLD     etags
  CCLD     ctags
  CCLD     emacsclient
  CCLD     ebrowse
  CCLD     profile
  CC       pop.o
  CCLD     movemail
  CCLD     hexl
  CCLD     update-game-score
  CCLD     make-docfile
make[1]: Leaving directory '/tmp/emacs-25.2/lib-src'
make -C src VCSWITNESS='' all
make[1]: Entering directory '/tmp/emacs-25.2/src'
  GEN      lisp.mk
  GEN      globals.h
make -C ../lwlib liblw.a
make[2]: Entering directory '/tmp/emacs-25.2/lwlib'
  CC       lwlib.o
  CC       lwlib-Xlw.o
  CC       xlwmenu.o
  CC       lwlib-Xaw.o
  CC       lwlib-utils.o
  GEN      liblw.a
make[2]: Leaving directory '/tmp/emacs-25.2/lwlib'
  CC       dispnew.o
  CC       frame.o
  CC       scroll.o
  CC       xdisp.o
  CC       menu.o
  CC       xmenu.o
  CC       window.o
  CC       charset.o
  CC       coding.o
  CC       category.o
  CC       ccl.o
  CC       character.o
  CC       chartab.o
  CC       bidi.o
  CC       cm.o
  CC       term.o
  CC       terminal.o
  CC       xfaces.o
  CC       xterm.o
"xterm.c", line 9731: warning: assignment type mismatch:
        pointer to function(pointer to struct _XIC {}, pointer to char, pointer to char) returning void "=" pointer to function(pointer to struct _XIM {}, pointer to char, pointer to char) returning void
  CC       xfns.o
  CC       xselect.o
  CC       xrdb.o
  CC       xsmfns.o
  CC       xsettings.o
  CC       emacs.o
  CC       keyboard.o
"keyboard.c", line 3620: warning: initializer will be sign-extended: -536870912
  CC       macros.o
  CC       keymap.o
  CC       sysdep.o
  CC       buffer.o
  CC       filelock.o
  CC       insdel.o
  CC       marker.o
  CC       minibuf.o
  CC       fileio.o
  CC       dired.o
  CC       cmds.o
  CC       casetab.o
  CC       casefiddle.o
  CC       indent.o
  CC       search.o
  CC       regex.o
  CC       undo.o
  CC       alloc.o
  CC       data.o
  GEN      buildobj.h
  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       syntax.o
  CC       unexsol.o
  CC       bytecode.o
  CC       process.o
  CC       gnutls.o
  CC       callproc.o
  CC       region-cache.o
  CC       sound.o
  CC       atimer.o
  CC       doprnt.o
  CC       intervals.o
  CC       textprop.o
  CC       composite.o
  CC       xml.o
  CC       profiler.o
  CC       decompress.o
  CC       xfont.o
  CC       ftfont.o
  CC       xftfont.o
  CC       ftxfont.o
  CC       fontset.o
  CC       fringe.o
  CC       image.o
  CC       terminfo.o
  CC       lastfile.o
  CC       widget.o
make -C ../admin/charsets all
make[2]: Entering directory '/tmp/emacs-25.2/admin/charsets'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/tmp/emacs-25.2/admin/charsets'
make -C ../admin/unidata charscript.el
make[2]: Entering directory '/tmp/emacs-25.2/admin/unidata'
make[2]: Nothing to be done for 'charscript.el'.
make[2]: Leaving directory '/tmp/emacs-25.2/admin/unidata'
  CCLD     temacs
../build-aux/install-sh -c -d ../etc
make -C ../lisp update-subdirs
make[2]: Entering directory '/tmp/emacs-25.2/lisp'
make[2]: Leaving directory '/tmp/emacs-25.2/lisp'
./temacs --batch --load loadup bootstrap
Loading loadup.el (source)...
Using load-path (/tmp/emacs-25.2/lisp /tmp/emacs-25.2/lisp/emacs-lisp /tmp/emacs-25.2/lisp/language /tmp/emacs-25.2/lisp/international /tmp/emacs-25.2/lisp/textmodes /tmp/emacs-25.2/lisp/vc)
Loading emacs-lisp/byte-run...
Loading emacs-lisp/backquote...
Loading subr...
Loading version...
Loading widget...
Loading custom...
Loading emacs-lisp/map-ynp...
Loading international/mule...
Loading international/mule-conf...
Loading env...
Loading format...
Loading bindings...
Loading window...
Loading files...
Loading emacs-lisp/macroexp...
Loading cus-face...
Loading faces...
Loading button...
Loading /tmp/emacs-25.2/lisp/loaddefs.el (source)...
Loading emacs-lisp/nadvice...
Loading emacs-lisp/cl-preloaded...
Loading minibuffer...
Loading abbrev...
Loading simple...
Loading help...
Loading jka-cmpr-hook...
Loading epa-hook...
Loading international/mule-cmds...
Loading case-table...
Loading /tmp/emacs-25.2/lisp/international/charprop.el (source)...
Loading international/characters...
Loading composite...
Loading language/chinese...
Loading language/cyrillic...
Loading language/indian...
Loading language/sinhala...
Loading language/english...
Loading language/ethiopic...
Loading language/european...
Loading language/czech...
Loading language/slovak...
Loading language/romanian...
Loading language/greek...
Loading language/hebrew...
Loading international/cp51932...
Loading international/eucjp-ms...
Loading language/japanese...
Loading language/korean...
Loading language/lao...
Loading language/tai-viet...
Loading language/thai...
Loading language/tibetan...
Loading language/vietnamese...
Loading language/misc-lang...
Loading language/utf-8-lang...
Loading language/georgian...
Loading language/khmer...
Loading language/burmese...
Loading language/cham...
Loading indent...
Loading emacs-lisp/cl-generic...
Loading frame...
Loading startup...
Loading term/tty-colors...
Loading font-core...
Loading facemenu...
Loading emacs-lisp/syntax...
Loading font-lock...
Loading jit-lock...
Loading mouse...
Loading scroll-bar...
Loading select...
Loading emacs-lisp/timer...
Loading isearch...
Loading rfn-eshadow...
Loading menu-bar...
Loading emacs-lisp/lisp...
Loading textmodes/page...
Loading register...
Loading textmodes/paragraphs...
Loading progmodes/prog-mode...
Loading emacs-lisp/lisp-mode...
Loading progmodes/elisp-mode...
Loading textmodes/text-mode...
Loading textmodes/fill...
Loading newcomment...
Loading replace...
Loading emacs-lisp/tabulated-list...
Loading buff-menu...
Loading fringe...
Loading emacs-lisp/regexp-opt...
Loading image...
Loading international/fontset...
Loading dnd...
Loading tool-bar...
Loading dynamic-setting...
Loading x-dnd...
Loading term/common-win...
Loading term/x-win...
Loading mwheel...
Loading emacs-lisp/float-sup...
Loading vc/vc-hooks...
Loading vc/ediff-hook...
Loading uniquify...
Loading electric...
Loading emacs-lisp/eldoc...
Loading cus-start...
Loading tooltip...
Loading /tmp/emacs-25.2/lisp/leim/leim-list.el (source)...
Finding pointers to doc strings...
Finding pointers to doc strings...done
Dumping under the name emacs
make[1]: *** [Makefile:737: bootstrap-emacs] Segmentation Fault (core dumped)
make[1]: Leaving directory '/tmp/emacs-25.2/src'
make: *** [Makefile:398: src] Error 2

% pstack /tmp/emacs-25.2/src/core
core '/tmp/emacs-25.2/src/core' of 6154:    ./temacs --batch --load loadup bootstrap
 fe5a17ea rt_dldump (feffdd88, 8c0c21c, 1000, 0) + 7a6
 fefd9fe9 dldump_core (feffb28c, 0, 8c0c21c, 1000) + 175
 fefda036 dldump   (0, 8c0c21c, 1000, 8bd1b58) + 42
 0834b719 unexec   (8c0c21c, 8c0c250, 8046ac8, 8215a4d) + 19
 08215aa2 Fdump_emacs (8bd1b5c, 8bd19ec, 2, 82f1646) + 1c2
 082f20b3 eval_sub (8683cab, 0, 8046d68, 8216d34) + e13
 082ec2ce Fprogn   (8683c93, 8046dbc, 8046fc8, 82f1646) + 4e
 082f177b eval_sub (863827b, 8046f00, 8047008, 8216d34) + 4db
 082ec0f4 Fif      (8638293, 804705c, 8047268, 82f1646) + 74
 082f177b eval_sub (863ab4b, 0, 80473b8, 8330595) + 4db
 08330b2c readevalloop (2ca0, 8621340, 8649a74, 0, 0, 0) + a6c
 0832ea7d Fload    (86499f4, 0, 0, 0, 0, 804772c) + f9d
 082f219f eval_sub (8639b8b, 0, 8047998, 82f102b) + eff
 082f10c1 Feval    (8639b8b, 0, 865f358, 865f358) + a1
 082219e9 top_level_2 (86248b0, 0, feda0868, 865f358, 809bba0, feffb104) + 29
 082ef064 internal_condition_case (82219c0, 2208, 8221320, 888) + 64
 08221a6c top_level_1 (0, 0, 8047a68, 8216fdb) + 4c
 082ee6a1 internal_catch (5550, 8221a20, 0, 8216fdb) + 41
 082218a1 command_loop (84010c0, 8047d50, 1, 0, 8639b8b, 83f6691) + e1
 08220d46 recursive_edit_1 (86226a8, 39d8, 0, 82bbffc, 0, 8639b83) + 106
 08220fb4 Frecursive_edit (ffffffff, fee70b30, ffffffff, 1a, fffffffd, ffffffff) + 154
 0821502b main     (5, 8047ce0, 8047cf8) + 10eb
 0809ecb2 _start   (5, 8047db8, 8047dc1, 8047dc9, 8047dd0, 8047dd7) + 72

> 2017/09/03 3:18、Paul Eggert <eggert <at> cs.ucla.edu>のメール:
> 
> 白井彰 wrote:
>> I'm sorry that I can not report any news on this one, except I've
>> downloaded Sun C 5.14 (Oracle Developer Studio 12.5) but I've not
>> installed the compiler on my site yet.  I agree that it isn't right to
>> block the release of Emacs 26.1 due to this problem.
> 
> Thanks. Since we last wrote, Oracle has released Oracle Developer Studio 12.6 (Sun C 5.15) so I suggest trying that instead of the previous release.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26638; Package emacs. (Wed, 13 Sep 2017 15:27:02 GMT) Full text and rfc822 format available.

Message #37 received at 26638 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 白井彰 <okshirai <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 26638 <at> debbugs.gnu.org
Subject: Re: 25.2; Fatal error 6: Abortmake[1]: *** [Makefile:737:
 bootstrap-emacs] Abort (core dumped)
Date: Wed, 13 Sep 2017 08:26:12 -0700
Do you have the same problem when you build it for a 64-bit executable? Try 
'./configure --with-gif=no CFLAGS="-m64 -g3"'.  If that doesn't work, try adding 
-O to CFLAGS.

At this point I'm just trying to get Emacs working for you, as opposed to fixing 
the bug, which is probably in the combination of unexec and malloc. If we can't 
get it working for 25.2 the next thing to try will be to get it working for master.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26638; Package emacs. (Thu, 14 Sep 2017 15:12:01 GMT) Full text and rfc822 format available.

Message #40 received at 26638 <at> debbugs.gnu.org (full text, mbox):

From: 白井彰 <okshirai <at> gmail.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: Akira Shirai <okshirai <at> gmail.com>, Eli Zaretskii <eliz <at> gnu.org>,
 26638 <at> debbugs.gnu.org
Subject: Re: 25.2; Fatal error 6: Abortmake[1]: *** [Makefile:737:
 bootstrap-emacs] Abort (core dumped)
Date: Fri, 15 Sep 2017 00:11:41 +0900
[Message part 1 (text/plain, inline)]
> At this point I'm just trying to get Emacs working for you
Thanks, for now I can use emacs-25.2 built with Sun C 5.9 and
'./configure --with-gif=no CFLAGS="-g"' on my Solaris 10 machine
(i386-pc-solaris2.10).

> Do you have the same problem when you build it for a 64-bit
> executable? Try './configure --with-gif=no CFLAGS="-m64 -g3"'.
'./configure --with-gif=no CFLAGS="-m64 -g3"' with Sun C 5.15,
'CCLD temacs' failed on my site:

make[2]: Leaving directory '/tmp/emacs-25.2/admin/unidata'
  CCLD     temacs
ld: fatal: file /usr/sfw/lib/libfreetype.so: wrong ELF class: ELFCLASS32
ld: fatal: file /usr/sfw/lib/libXrender.so: wrong ELF class: ELFCLASS32
ld: fatal: file /usr/sfw/lib/libfreetype.so: wrong ELF class: ELFCLASS32
ld: fatal: File processing errors. No output written to temacs
make[1]: *** [Makefile:596: temacs] Error 2
make[1]: Leaving directory '/tmp/emacs-25.2/src'
make: *** [Makefile:398: src] Error 2


Now I can recreate the segmentation fault of temacs every time with
Sun C 5.15 on my site, and the backtrace of temacs seems very alike
for each build of emacs-25.2:

% cc -V
cc: Studio 12.6 Sun C 5.15 SunOS_i386 2017/05/30

% rm -rf emacs-25.2; (gzcat emacs-25.2.tar.gz | tar xfp -; cd emacs-25.2; ./configure --with-gif=no; make)
    :
Dumping under the name emacs
make[1]: *** [Makefile:737: bootstrap-emacs] Segmentation Fault (core dumped)
make[1]: Leaving directory '/tmp/emacs-25.2/src'
make: *** [Makefile:398: src] Error 2
% pstack /tmp/emacs-25.2/src/core > /tmp/aaa.txt

% rm -rf emacs-25.2; (gzcat emacs-25.2.tar.gz | tar xfp -; cd emacs-25.2; ./configure --with-gif=no; make)
    :
Dumping under the name emacs
make[1]: *** [Makefile:737: bootstrap-emacs] Segmentation Fault (core dumped)
make[1]: Leaving directory '/tmp/emacs-25.2/src'
make: *** [Makefile:398: src] Error 2
% pstack /tmp/emacs-25.2/src/core > /tmp/bbb.txt

% rm -rf emacs-25.2; (gzcat emacs-25.2.tar.gz | tar xfp -; cd emacs-25.2; ./configure --with-gif=no CFLAGS='-g'; make)
    :
Dumping under the name emacs
make[1]: *** [Makefile:737: bootstrap-emacs] Segmentation Fault (core dumped)
make[1]: Leaving directory '/tmp/emacs-25.2/src'
make: *** [Makefile:398: src] Error 2
% pstack /tmp/emacs-25.2/src/core > /tmp/ccc.txt

% rm -rf emacs-25.2; (gzcat emacs-25.3.tar.gz | tar xfp -; cd emacs-25.3; ./configure --with-gif=no; make)
    :
Dumping under the name emacs
make[1]: *** [Makefile:737: bootstrap-emacs] Segmentation Fault (core dumped)
make[1]: Leaving directory '/tmp/emacs-25.3/src'
make: *** [Makefile:398: src] Error 2
% pstack /tmp/emacs-25.3/src/core > /tmp/ddd.txt

% cat /tmp/aaa.txt
core '/tmp/emacs-25.2/src/core' of 24956:     ./temacs --batch --load loadup bootstrap
 fe5a17ea rt_dldump (feffdd88, 8c0c21c, 1000, 0) + 7a6
 fefd9fe9 dldump_core (feffb28c, 0, 8c0c21c, 1000) + 175
 fefda036 dldump   (0, 8c0c21c, 1000, 8bd1b58) + 42
 0834b719 unexec   (8c0c21c, 8c0c250, 8046ac8, 8215a4d) + 19
 08215aa2 Fdump_emacs (8bd1b5c, 8bd19ec, 2, 82f1646) + 1c2
 082f20b3 eval_sub (8683cab, 0, 8046d68, 8216d34) + e13
 082ec2ce Fprogn   (8683c93, 8046dbc, 8046fc8, 82f1646) + 4e
 082f177b eval_sub (863827b, 8046f00, 8047008, 8216d34) + 4db
 082ec0f4 Fif      (8638293, 804705c, 8047268, 82f1646) + 74
 082f177b eval_sub (863ab4b, 0, 80473b8, 8330595) + 4db
 08330b2c readevalloop (2ca0, 8621340, 8649a74, 0, 0, 0) + a6c
 0832ea7d Fload    (86499f4, 0, 0, 0, 0, 804772c) + f9d
 082f219f eval_sub (8639b8b, 0, 8047998, 82f102b) + eff
 082f10c1 Feval    (8639b8b, 0, 865f358, 865f358) + a1
 082219e9 top_level_2 (86248b0, 0, feda0868, 865f358, 809bba0, feffb104) + 29
 082ef064 internal_condition_case (82219c0, 2208, 8221320, 888) + 64
 08221a6c top_level_1 (0, 0, 8047a68, 8216fdb) + 4c
 082ee6a1 internal_catch (5550, 8221a20, 0, 8216fdb) + 41
 082218a1 command_loop (84010c0, 8047d50, 1, 0, 8639b8b, 83f6691) + e1
 08220d46 recursive_edit_1 (86226a8, 39d8, 0, 82bbffc, 0, 8639b83) + 106
 08220fb4 Frecursive_edit (ffffffff, fee70b30, ffffffff, 1a, fffffffd, ffffffff) + 154
 0821502b main     (5, 8047ce0, 8047cf8) + 10eb
 0809ecb2 _start   (5, 8047db8, 8047dc1, 8047dc9, 8047dd0, 8047dd7) + 72

% diff /tmp/aaa.txt /tmp/bbb.txt
1c1
< core '/tmp/emacs-25.2/src/core' of 24956:     ./temacs --batch --load loadup bootstrap
---
> core '/tmp/emacs-25.2/src/core' of 27945:     ./temacs --batch --load loadup bootstrap

% diff /tmp/aaa.txt /tmp/ccc.txt
1c1
< core '/tmp/emacs-25.2/src/core' of 24956:     ./temacs --batch --load loadup bootstrap
---
> core '/tmp/emacs-25.2/src/core' of 17527:     ./temacs --batch --load loadup bootstrap
20c20
<  082218a1 command_loop (84010c0, 8047d50, 1, 0, 8639b8b, 83f6691) + e1
---
>  082218a1 command_loop (84010d0, 8047d50, 1, 0, 8639b8b, 83f66a1) + e1

% diff /tmp/aaa.txt /tmp/ddd.txt
1,6c1,6
< core '/tmp/emacs-25.2/src/core' of 24956:     ./temacs --batch --load loadup bootstrap
<  fe5a17ea rt_dldump (feffdd88, 8c0c21c, 1000, 0) + 7a6
<  fefd9fe9 dldump_core (feffb28c, 0, 8c0c21c, 1000) + 175
<  fefda036 dldump   (0, 8c0c21c, 1000, 8bd1b58) + 42
<  0834b719 unexec   (8c0c21c, 8c0c250, 8046ac8, 8215a4d) + 19
<  08215aa2 Fdump_emacs (8bd1b5c, 8bd19ec, 2, 82f1646) + 1c2
---
> core '/tmp/emacs-25.3/src/core' of 10679:     ./temacs --batch --load loadup bootstrap
>  fe5a17ea rt_dldump (feffdd88, 8c0b180, 1000, 0) + 7a6
>  fefd9fe9 dldump_core (feffb28c, 0, 8c0b180, 1000) + 175
>  fefda036 dldump   (0, 8c0b180, 1000, 8bd1a90) + 42
>  0834b719 unexec   (8c0b180, 8c0b1b4, 8046ac8, 8215a4d) + 19
>  08215aa2 Fdump_emacs (8bd1a94, 8bd1904, 2, 82f1646) + 1c2

> 2017/09/14 0:26、Paul Eggert <eggert <at> cs.ucla.edu>のメール:
> 
> Do you have the same problem when you build it for a 64-bit executable? Try './configure --with-gif=no CFLAGS="-m64 -g3"'.  If that doesn't work, try adding -O to CFLAGS.

[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26638; Package emacs. (Thu, 14 Sep 2017 19:15:02 GMT) Full text and rfc822 format available.

Message #43 received at 26638 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 白井彰 <okshirai <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 26638 <at> debbugs.gnu.org
Subject: Re: 25.2; Fatal error 6: Abortmake[1]: *** [Makefile:737:
 bootstrap-emacs] Abort (core dumped)
Date: Thu, 14 Sep 2017 12:14:49 -0700
白井彰 wrote:

> './configure --with-gif=no CFLAGS="-m64 -g3"' with Sun C 5.15,
> 'CCLD temacs' failed on my site:
> 
> make[2]: Leaving directory '/tmp/emacs-25.2/admin/unidata'
>    CCLD     temacs
> ld: fatal: file /usr/sfw/lib/libfreetype.so: wrong ELF class: ELFCLASS32
> ld: fatal: file /usr/sfw/lib/libXrender.so: wrong ELF class: ELFCLASS32
> ld: fatal: file /usr/sfw/lib/libfreetype.so: wrong ELF class: ELFCLASS32
> ld: fatal: File processing errors. No output written to temacs

You'd need to link to 64-bit libraries. If you can't find them, then please 
disable the the troublesome 32-bitlibraries. E.g.,

./configure --with-gif=no --with-xft=no CFLAGS="-m64 -g3"

should build without the abovementioned libraries.

> Now I can recreate the segmentation fault of temacs every time with
> Sun C 5.15 on my site, and the backtrace of temacs seems very alike
> for each build of emacs-25.2:

That's "encouraging", in some sense. At least you can reproduce the bug.

> % cat /tmp/aaa.txt
> core '/tmp/emacs-25.2/src/core' of 24956:     ./temacs --batch --load loadup bootstrap
>   fe5a17ea rt_dldump (feffdd88, 8c0c21c, 1000, 0) + 7a6
>   fefd9fe9 dldump_core (feffb28c, 0, 8c0c21c, 1000) + 175
>   fefda036 dldump   (0, 8c0c21c, 1000, 8bd1b58) + 42
>   0834b719 unexec   (8c0c21c, 8c0c250, 8046ac8, 8215a4d) + 19

This sounds promising. Can you use a debugger to find out what is going wrong 
inside rt_dldump?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26638; Package emacs. (Wed, 27 Sep 2017 15:17:02 GMT) Full text and rfc822 format available.

Message #46 received at 26638 <at> debbugs.gnu.org (full text, mbox):

From: 白井彰 <okshirai <at> gmail.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: Akira Shirai <okshirai <at> gmail.com>, Eli Zaretskii <eliz <at> gnu.org>,
 26638 <at> debbugs.gnu.org
Subject: Re: 25.2; Fatal error 6: Abortmake[1]: *** [Makefile:737:
 bootstrap-emacs] Abort (core dumped)
Date: Thu, 28 Sep 2017 00:16:47 +0900
I cannot build emacs-25.2 on Solaris 10 Update 7 and Update 10 with Sun C 5.15,
but on Solaris 10 Update 11 I can build emacs-25.2 with Sun C 5.15 successfully.

Below is the debugger's output for temacs on Solaris 10 Update 7:
t <at> 1 (l <at> 1) program terminated by signal SEGV (no mapping at the fault address)
0xfe5a17ea: rt_dldump+0x07a6:   cmpl     $0x00000009,0x00000004(%eax)
Current function is unexec
   18     if (! dldump (0, new_name, RTLD_MEMORY))
(dbx) down
(dbx) down
(dbx) down
0xfe5a17ea: rt_dldump+0x07a6:   cmpl     $0x00000009,0x00000004(%eax)
(dbx) where
current thread: t <at> 1
=>[1] rt_dldump(0xfeffdd88, 0x8c0c21c, 0x1000, 0x0), at 0xfe5a17ea
  [2] dldump_core(0xfeffb28c, 0x0, 0x8c0c21c, 0x1000), at 0xfefd9fe9
  [3] _dldump(0x0, 0x8c0c21c, 0x1000, 0x8bd1b58), at 0xfefda036
  [4] unexec(new_name = 0x8c0c21c "/tmp/emacs-25.2/src/emacs", old_name = 0x8c0c250 "/tmp/emacs-25.2/src/temacs"), line 18 in "unexsol.c"
  [5] Fdump_emacs(filename = 146611036, symfile = 146610668), line 2115 in "emacs.c"
  [6] eval_sub(form = 141049003), line 2175 in "eval.c"
  [7] Fprogn(body = 141048979), line 431 in "eval.c"
  [8] eval_sub(form = 140739195), line 2125 in "eval.c"
  [9] Fif(args = 140739219), line 388 in "eval.c"
  [10] eval_sub(form = 140749643), line 2125 in "eval.c"
  [11] readevalloop(readcharfun = 11424, stream = 0x8621340, sourcename = 140810868, printflag = 0, unibyte = 0, readfun = 0, start = 0, end = 0), line 1927 in "lread.c"
  [12] Fload(file = 140810740, noerror = 0, nomessage = 0, nosuffix = 0, must_suffix = 0), line 1336 in "lread.c"
  [13] eval_sub(form = 140745611), line 2188 in "eval.c"
  [14] Feval(form = 140745611, lexical = 0), line 1994 in "eval.c"
  [15] top_level_2(), line 1121 in "keyboard.c"
  [16] internal_condition_case(bfun = 0x82219c0 = &`temacs`keyboard.c`top_level_2(), handlers = 8712, hfun = 0x8221320 = &`temacs`keyboard.c`cmd_error(Lisp_Object data)), line 1315 in "eval.c"
  [17] top_level_1(ignore = 0), line 1129 in "keyboard.c"
  [18] internal_catch(tag = 21840, func = 0x8221a20 = &`temacs`keyboard.c`top_level_1(Lisp_Object ignore), arg = 0), line 1080 in "eval.c"
  [19] command_loop(), line 1090 in "keyboard.c"
  [20] recursive_edit_1(), line 697 in "keyboard.c"
  [21] Frecursive_edit(), line 768 in "keyboard.c"
  [22] main(argc = 5, argv = 0x8047ce0), line 1629 in "emacs.c"
(dbx) regs
current thread: t <at> 1
current frame:  [1]
eax      0x00000001
ebx      0xfe5b3000
ecx      0x00001741
edx      0x00000000
esi      0x08047ff2
edi      0xfed61730
ebp      0x080469c4
esp      0x08046794
trapno   0x0000000e 0x00000000
err      0x00000004 0x00000000
eflags   0x00010202 0x00000000
eip      0xfe5a17ea:rt_dldump+0x7a6    cmpl     $0x00000009,0x00000004(%eax)
gs       0x000001c3 0x00000000
fs       0x00000043 0x00000000
es       0x00000000 0x00000000
ds       0x00000043 0x00000000
ss       0x00000043 0x00000000
cs       0x0000003b 0x00000000
(dbx) dis 0xfe5a17dc
0xfe5a17dc: rt_dldump+0x0798:   cmpl     $0x00000005,(%eax)
0xfe5a17df: rt_dldump+0x079b:   je       rt_dldump+0x812        [ 0xfe5a1856, .+0x77 ]
0xfe5a17e1: rt_dldump+0x079d:   movl     %eax,%edi
0xfe5a17e3: rt_dldump+0x079f:   movl     0x00000008(%edi),%eax
0xfe5a17e6: rt_dldump+0x07a2:   testl    %eax,%eax
0xfe5a17e8: rt_dldump+0x07a4:   je       rt_dldump+0x809        [ 0xfe5a184d, .+0x65 ]
0xfe5a17ea: rt_dldump+0x07a6:   cmpl     $0x00000009,0x00000004(%eax)
0xfe5a17ee: rt_dldump+0x07aa:   jne      rt_dldump+0x809        [ 0xfe5a184d, .+0x5f ]
0xfe5a17f0: rt_dldump+0x07ac:   cmpl     $0x00000000,0x0000000c(%eax)
0xfe5a17f4: rt_dldump+0x07b0:   je       rt_dldump+0x809        [ 0xfe5a184d, .+0x59 ]

Below is librtld.so.1 for each Solaris 10:
Solaris 10 Update  7    -rwxr-xr-x   1 root     bin        33884 Sep 14  2009 /lib/librtld.so.1
Solaris 10 Update  8    -rwxr-xr-x   1 root     bin        33884 Sep 14  2009 /lib/librtld.so.1
Solaris 10 Update  9    -rwxr-xr-x   1 root     bin        33884 Sep 14  2009 /lib/librtld.so.1
Solaris 10 Update 10    -rwxr-xr-x   1 root     bin        41720 Jul  5  2011 /lib/librtld.so.1
Solaris 10 Update 11    -rwxr-xr-x   1 root     bin        42036 Jan 14  2013 /lib/librtld.so.1

> 2017/09/15 4:14、Paul Eggert <eggert <at> cs.ucla.edu>のメール:
> 
> 白井彰 wrote:
> 
>> './configure --with-gif=no CFLAGS="-m64 -g3"' with Sun C 5.15,
>> 'CCLD temacs' failed on my site:
>> make[2]: Leaving directory '/tmp/emacs-25.2/admin/unidata'
>>   CCLD     temacs
>> ld: fatal: file /usr/sfw/lib/libfreetype.so: wrong ELF class: ELFCLASS32
>> ld: fatal: file /usr/sfw/lib/libXrender.so: wrong ELF class: ELFCLASS32
>> ld: fatal: file /usr/sfw/lib/libfreetype.so: wrong ELF class: ELFCLASS32
>> ld: fatal: File processing errors. No output written to temacs
> 
> You'd need to link to 64-bit libraries. If you can't find them, then please disable the the troublesome 32-bitlibraries. E.g.,
> 
> ./configure --with-gif=no --with-xft=no CFLAGS="-m64 -g3"
> 
> should build without the abovementioned libraries.
> 
>> Now I can recreate the segmentation fault of temacs every time with
>> Sun C 5.15 on my site, and the backtrace of temacs seems very alike
>> for each build of emacs-25.2:
> 
> That's "encouraging", in some sense. At least you can reproduce the bug.
> 
>> % cat /tmp/aaa.txt
>> core '/tmp/emacs-25.2/src/core' of 24956:     ./temacs --batch --load loadup bootstrap
>>  fe5a17ea rt_dldump (feffdd88, 8c0c21c, 1000, 0) + 7a6
>>  fefd9fe9 dldump_core (feffb28c, 0, 8c0c21c, 1000) + 175
>>  fefda036 dldump   (0, 8c0c21c, 1000, 8bd1b58) + 42
>>  0834b719 unexec   (8c0c21c, 8c0c250, 8046ac8, 8215a4d) + 19
> 
> This sounds promising. Can you use a debugger to find out what is going wrong inside rt_dldump?





Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Mon, 02 Oct 2017 06:20:01 GMT) Full text and rfc822 format available.

Notification sent to 白井彰 <okshirai <at> gmail.com>:
bug acknowledged by developer. (Mon, 02 Oct 2017 06:20:02 GMT) Full text and rfc822 format available.

Message #51 received at 26638-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 白井彰 <okshirai <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 26638-done <at> debbugs.gnu.org
Subject: Re: 25.2; Fatal error 6: Abortmake[1]: *** [Makefile:737:
 bootstrap-emacs] Abort (core dumped)
Date: Sun, 1 Oct 2017 23:18:54 -0700
[Message part 1 (text/plain, inline)]
白井彰 wrote:
> I cannot build emacs-25.2 on Solaris 10 Update 7 and Update 10 with Sun C 5.15,
> but on Solaris 10 Update 11 I can build emacs-25.2 with Sun C 5.15 successfully.

Thanks. I assume we can declare victory now, since you got it working. I 
installed the attached into emacs-26 to let others know about the situation. 
Please let me know if you see any inaccuracies in this.
[0001-etc-PROBLEMS-Document-Bug-26638.patch (text/x-patch, attachment)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 30 Oct 2017 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 172 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.