[gnu.emacs.bug] installation of GNU Emacs, version 18.55

tsilva%aaec1.UUCP@DSPVAX.MIT.EDU (Tony Silva) (01/19/90)

First, let me say that your software is absolutely fantastic.

I have been installing GNU software (bison, emacs, g++, gas, gawk,
gcc, gdb, libg++, make, and scheme) on our machines for several years,
so I don't exactly consider myself a novice. Nonetheless, I'm having
difficulty getting the latest Emacs built on a Sun 3/160 running SunOS
Release 4.0.3. 

After tar'ing the distribution into /loc/new/emacs, I did the following

	cd /loc/new/emacs
	set noclobber
	unsetenv FLOAT_OPTION
	rm -r gdb		# (I already have GDB 3.4)
	sed -e 's@/\* #define HIGHPRI \*/@#define HIGHPRI -5@g' \
	  -e 's@m-vax\.h@m-sun3.h@g' < src/config.h-dist > src/config.h
	alias Make make LIBDIR=/loc/lib/emacs BINDIR=/loc/bin \
	  MANDIR=/loc/man/man1 CC='"gcc -traditional -O"'
	Make

Everything compiles and links o.k., until:

	./temacs -batch -l inc-vers
	*** Segmentation fault
	make: Fatal error: Command failed for target `xemacs'

I got exactly the same result using the Sun C compiler, omitting

	CC='"gcc -traditional -O"'

above.

Any clues? I checked my swap space with

	/usr/etc/pstat -s
	4168k allocated + 472k reserved = 4640k used, 81144k available

Should I use alloca.c instead of alloca.s?

I'd greatly appreciate any help, whether this is a bug or a screw-up
on my part. I've included the complete make output below:

-----------------------------------------------------------------------------

/bin/sed 's;/usr/local/emacs;/loc/lib/emacs;' < src/paths.h-dist > src/paths.h
cd etc; make  all
gcc -traditional -O -o test-distrib test-distrib.c
./test-distrib
gcc -traditional -O -o etags -g -DETAGS etags.c 
gcc -traditional -O -o ctags -g -DCTAGS etags.c 
gcc -traditional -O -o loadst -g loadst.c 
gcc -traditional -O -o make-docfile -g make-docfile.c 
gcc -traditional -O -o digest-doc -g digest-doc.c 
gcc -traditional -O -o sorted-doc -g sorted-doc.c 
gcc -traditional -O -o movemail -g movemail.c 
gcc -traditional -O -o cvtmail -g cvtmail.c 
gcc -traditional -O -o fakemail -g fakemail.c 
gcc -traditional -O -o yow -g yow.c 
gcc -traditional -O -o env -DEMACS -g env.c 
gcc -traditional -O -o server -g server.c 
gcc -traditional -O -o emacsclient -g emacsclient.c 
cd src; make  all
rm -f xmakefile
cp ymakefile junk.c
cc -E junk.c | sed -e 's/^#.*//' -e 's/^[ \f\t][ \f\t]*$//' -e 's/^ /	/' | \
sed -n -e '/^..*$/p' > xmakefile
rm -f junk.c
make    -f xmakefile  all
gcc -traditional -O -c -g -Demacs     crt0.c
gcc -traditional -O -g -Demacs     -sun3 -c  dispnew.c
gcc -traditional -O -g -Demacs     -sun3 -c  scroll.c
gcc -traditional -O -g -Demacs     -sun3 -c  xdisp.c
gcc -traditional -O -g -Demacs     -sun3 -c  window.c
gcc -traditional -O -g -Demacs     -sun3 -c  term.c
gcc -traditional -O -g -Demacs     -sun3 -c  cm.c
gcc -traditional -O -g -Demacs     -sun3 -c  emacs.c
gcc -traditional -O -g -Demacs     -sun3 -c  keyboard.c
gcc -traditional -O -g -Demacs     -sun3 -c  macros.c
gcc -traditional -O -g -Demacs     -sun3 -c  keymap.c
gcc -traditional -O -g -Demacs     -sun3 -c  sysdep.c
gcc -traditional -O -g -Demacs     -sun3 -c  buffer.c
gcc -traditional -O -g -Demacs     -sun3 -c  filelock.c
gcc -traditional -O -g -Demacs     -sun3 -c  insdel.c
gcc -traditional -O -g -Demacs     -sun3 -c  marker.c
gcc -traditional -O -g -Demacs     -sun3 -c  minibuf.c
gcc -traditional -O -g -Demacs     -sun3 -c  fileio.c
gcc -traditional -O -g -Demacs     -sun3 -c  dired.c
gcc -traditional -O -g -Demacs     -sun3 -c  filemode.c
gcc -traditional -O -g -Demacs     -sun3 -c  cmds.c
gcc -traditional -O -g -Demacs     -sun3 -c  casefiddle.c
gcc -traditional -O -g -Demacs     -sun3 -c  indent.c
gcc -traditional -O -g -Demacs     -sun3 -c  search.c
gcc -traditional -O -g -Demacs     -sun3 -c  regex.c
gcc -traditional -O -g -Demacs     -sun3 -c  undo.c
gcc -traditional -O -g -Demacs     -sun3 -c  alloc.c
gcc -traditional -O -g -Demacs     -sun3 -c  data.c
gcc -traditional -O -g -Demacs     -sun3 -c  doc.c
gcc -traditional -O -g -Demacs     -sun3 -c  editfns.c
gcc -traditional -O -g -Demacs     -sun3 -c  callint.c
gcc -traditional -O -g -Demacs     -sun3 -c  eval.c
gcc -traditional -O -g -Demacs     -sun3 -c  fns.c
gcc -traditional -O -g -Demacs     -sun3 -c  print.c
gcc -traditional -O -g -Demacs     -sun3 -c  lread.c
gcc -traditional -O -g -Demacs     -sun3 -c  abbrev.c
gcc -traditional -O -g -Demacs     -sun3 -c  syntax.c
gcc -traditional -O -g -Demacs     -sun3 -c  unexec.c
gcc -traditional -O -g -Demacs     -sun3 -c  mocklisp.c
gcc -traditional -O -g -Demacs     -sun3 -c  bytecode.c
gcc -traditional -O -g -Demacs     -sun3 -c  process.c
gcc -traditional -O -g -Demacs     -sun3 -c  callproc.c
gcc -traditional -O -g -Demacs     -sun3 -c  doprnt.c
gcc -traditional -O -g -Demacs     -sun3 -c  tparam.c
gcc -traditional -O -g -Demacs     -sun3 -c  lastfile.c
cp alloca.s allocatem.c
gcc -traditional -O -E allocatem.c | \
sed -e 's///' -e 's/^#.*//' | \
sed -n -e '/^..*$/p' > allocatem.s
rm -f alloca.o
cc -c allocatem.s
mv allocatem.o alloca.o
rm allocatem.s allocatem.c
gcc -traditional -O -g -Demacs     -sun3 -c  malloc.c
ld  -X  -o temacs crt0.o dispnew.o scroll.o xdisp.o window.o  term.o cm.o   emacs.o keyboard.o macros.o keymap.o sysdep.o  buffer.o filelock.o insdel.o marker.o  minibuf.o fileio.o dired.o filemode.o  cmds.o casefiddle.o indent.o search.o regex.o undo.o  alloc.o data.o doc.o editfns.o callint.o  eval.o fns.o print.o lread.o  abbrev.o syntax.o unexec.o mocklisp.o bytecode.o  process.o callproc.o   doprnt.o tparam.o lastfile.o alloca.o malloc.o   -ltermcap  -lg -lc
rm -f ../etc/DOC
../etc/make-docfile dispnew.o scroll.o xdisp.o window.o  term.o cm.o   emacs.o keyboard.o macros.o keymap.o sysdep.o  buffer.o filelock.o insdel.o marker.o  minibuf.o fileio.o dired.o filemode.o  cmds.o casefiddle.o indent.o search.o regex.o undo.o  alloc.o data.o doc.o editfns.o callint.o  eval.o fns.o print.o lread.o  abbrev.o syntax.o unexec.o mocklisp.o bytecode.o  process.o callproc.o   doprnt.o ../lisp/simple.elc ../lisp/help.elc  ../lisp/files.elc ../lisp/window.elc  ../lisp/indent.elc ../lisp/load


defs.el ../lisp/paths.el  ../lisp/startup.elc ../lisp/lisp.elc  ../lisp/page.elc ../lisp/register.elc  ../lisp/paragraphs.elc ../lisp/lisp-mode.elc  ../lisp/text-mode.elc ../lisp/fill.elc  ../lisp/c-mode.elc ../lisp/isearch.elc  ../lisp/replace.elc ../lisp/abbrev.elc  ../lisp/buff-menu.elc ../lisp/subr.elc ../lisp/version.el > ../etc/DOC
./temacs -batch -l inc-vers
*** Segmentation fault
make: Fatal error: Command failed for target `xemacs'
Current working directory /loc/new/emacs/src
*** Error code 1
make: Fatal error: Command failed for target `doall'
Current working directory /loc/new/emacs/src
*** Error code 1
make: Fatal error: Command failed for target `src'
-------------------------------------------------------------------------------

Tony Silva

Atlantic Aerospace Electronics Corp.	ARPA: tsilva%aaec1.UUCP@dspvax.MIT.EDU
470 Totten Pond Road			UUCP: ...!seismo!dspvax!aaec1!tsilva
Waltham, MA 02154
(617)890-4200