This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

i386-pc-solaris2.5.1: recent snapshots can't build emacs-20.2


I can build emacs-20.2 using egcs-980531, but more recent snapshots
(starting a week or two ago) can no longer build it.  Here's the
failure I get using a recent snapshot (I updated last night):

  ./configure && make

  ...

  Dumping under names emacs and emacs-20.2.1
  414008 pure bytes used
  ./emacs -q -batch -f list-load-path-shadows
  make[1]: *** [emacs] Segmentation Fault
  make[1]: Leaving directory `/d/pd/emacs/stable/emacs-20.2/src'
  cd leim; make -j2 all -j 1 \
    CC='gcc' CFLAGS='-g -O ' CPPFLAGS='' \
    LDFLAGS='' MAKE='make -j2'
  make[1]: Entering directory `/d/pd/emacs/stable/emacs-20.2/leim'
  make[1]: Nothing to be done for `all'.
  make[1]: Leaving directory `/d/pd/emacs/stable/emacs-20.2/leim'

  $ gcc -v
  Reading specs from /p/p/egcs-980619-21h10/lib/gcc-lib/i386-pc-solaris2.5.1/egcs-2.91.41/specs
  gcc version egcs-2.91.41 19980619 (gcc2 ss-980502 experimental)

  $ as -v
  GNU assembler version 2.9.1 (i386-pc-solaris2.5.1), using BFD version 2.9.1

Building with the official snapshot, egcs-980531, worked fine.

Running the failing command under the debugger didn't help me:

  $ gdb emacs
  DISPLAY = :0.0
  TERM = xterm
  Breakpoint 1 at 0x8071a4c
  Breakpoint 2 at 0x80a4e0a: file xterm.c, line 5241.
  (gdb) r -q -batch -f list-load-path-shadows
  Starting program: /d/pd/emacs/stable/emacs-20.2/src/emacs -q -batch -f list-load-path-shadows
  Breakpoint 1 at 0x801f57f0

  Program received signal SIGSEGV, Segmentation fault.
  0x0 in ?? ()
  (gdb) bt
  #0  0x0 in ?? ()
  #1  0x812f72c in __do_global_ctors_aux ()
  #2  0x812f775 in _init ()
  (gdb)

Any suggestions?

BTW, if I had more disk space (or if I'd been omitting symbols :-)
I'd be keeping around lots more snapshots and would have been able to
determine (conveniently) more precisely when gcc stopped being able to
build emacs-20.2.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]