[comp.emacs] GNU emacs on a Sun-4??

paul@cacilj.UUCP (Paul Close) (01/21/88)

I just tried compiling GNU emacs (18.48) on a Sun-4/260.  I had to use the
provided alloca.c, since Sun's didn't seem to be around (BTW, the SUN-4 is NOT
68xxx based, so the alloca.s is a no-go).  Everything seemed to work ok, but at
the very end, the "./temacs -batch -l inc-vers" ends up dumping core.  The core
file is 16MB!!! (which happens to be the amount of real memory available).  If
it matters, I'm using the s-bsd4-2.h and m-sun3.h files, since I'm still using
SunOS 3.2.

Has anyone gotten GNU emacs running on the Sun-4???

Here's some output from adb (didn't bother with the -g option...):

SIGSEGV 11: segmentation violation
$c
_make_uninit_string(0x6,0x0,0xfefff5b8,0x3000008,0xc,0xfefff5a8) + 174
_make_string(0xfefff628,0x6,0x38370000,0x7efefeff,0x81010100,0xff00) + 8
_build_string(0xfefff628,0x79865,0x5a2eb,0x7eb69,0xfffa5d15,0x5a2eb) + 10
_Fint_to_string(0x5a2eb,0x1089830,0x1,0x0,0xff110f38,0xfefff628) + 44
_wrong_type_argument(0x0,0x5a2eb,0x2,0xd820,0x1089808,0x0) + 70
_Fcar(0x5a2eb,0x48,0x1fbc,0x10000,0x1ff0,0x1) + 50
_Fassoc(0x3087444,0x5a2eb,0xffffffff,0x0,0x662d302a,0x5a2eb) + 2c
_Fget_buffer(0x3087444,0x8a004,0x0,0x7efefeff,0x81010100,0x3) + 48
_Fget_buffer_create(0x3087444,0x5a933,0x0,0x1,0x0,0x5089428) + 18
_get_minibuffer(0x0,0x7086504,0x864b0,0xfefff8e8,0x5089428,0x1089808) + 70
_init_window_once(0xffffff,0x1000,0x9,0x8c404,0x1089808,0x14086484) + 94
_main(0xffffefb4,0xfefffaa4,0xfeffb978,0x10000,0x0,0x1) + 24c
_start1(0x10001,0xffffefb4,0x2020,0x80,0xff110f38,0xfefffaa4) + 50
$map
? map       `temacs'
b1 = 0x2000          e1 = 0x58000         f1 = 0x0
b2 = 0x58000         e2 = 0x80000         f2 = 0x56000
/ map       `core'
b1 = 0x58000         e1 = 0x1002000       f1 = 0x138
b2 = 0xfeffc000      e2 = 0xff000000      f2 = 0xfaa138
newline expected

-- 
Paul Close		paul@cacilj.CTS.COM 	...!{uunet, crash}!cacilj!paul

Shaw's Principle:
  Build a system that even a fool can use, and only a fool will want to use it.