From xemacs-m  Wed Sep 17 12:27:21 1997
Received: from concmp.com (concmp.com [206.243.170.234])
	by xemacs.org (8.8.5/8.8.5) with SMTP id MAA12798
	for <xemacs-beta@xemacs.org>; Wed, 17 Sep 1997 12:27:19 -0500 (CDT)
Received: (qmail 24821 invoked by uid 500); 17 Sep 1997 17:32:30 -0000
Date: 17 Sep 1997 17:32:30 -0000
Message-ID: <19970917173230.24820.qmail@concmp.com>
From: Cotton Seed <cottons@concmp.com>
To: xemacs-beta@xemacs.org
Subject: Bern: 1/2 Success on linux-alpha
X-Mailer: VM 6.31 under 20.2 XEmacs Lucid

It didn't (obviously) build out of the box on linux-alpha.  I merged
in the emacs-19.34b unexelf1.c which supports Elf64, and hacked up
m/alpha.h and s/linux.h a little.  Had to configure with
`--with-system-malloc'.

The resulting temacs works fine (I'm using it now).  The resulting
dumped xemacs fails.

I'll debug the invalid executable when I find the time.  How do I
print a lisp object from gdb?  Anyone else tried XEmacs on
linux-alpha?

        - Cotton

Lisp backtrace follows:

  intern("paths-el-original-news-inews-program")
  (let ((origsym ...)) (if (running-temacs-p) (progn ... ...) (and ... ...)))
)
  # bind (value var)
  (lambda (var value) (let (...) (if ... ... ...)))(news-inews-program "inews")
  funcall((lambda (var value) (let (...) (if ... ... ...))) news-inews-program "inews")
  # bind (l)
  (let ((l ...)) (funcall l (quote news-inews-program) (cond ... ... ... ... ...)) (funcall l (quote mh-progs) (cond ... ... ... ... ...)) (funcall l (quote mh-libs) (cond ... ... ... ...)) (funcall l (quote rmail-spool-directory) (cond ... ... ... ... ... ...)) (funcall l (quote sendmail-program) (cond ... ... ... ...)) (funcall l (quote remote-shell-program) (cond ... ... ... ... ... ... ... ... ... ... ... ... ...)) (funcall l (quote manual-program) (if ... "/usr/ucb/man" "/usr/bin/man")))
)
  initialize-xemacs-paths()
  normal-top-level()
  # (condition-case ... . error)
  # (catch top-level ...)
Segmentation fault (core dumped)

(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/src/xemacs-20.3-b21/src/./xemacs 

Program received signal SIGSEGV, Segmentation fault.
check_obarray () at symbols.c:139
139       while (!VECTORP (obarray) || XVECTOR_LENGTH (obarray) == 0)
(gdb) bt
#0  check_obarray () at symbols.c:139
#1  0x120178130 in Fintern () at symbols.c:179
#2  0x12005f380 in primitive_funcall () at eval.c:3440
#3  0x12005f6ac in funcall_subr () at eval.c:3464
#4  0x12005e070 in Feval () at eval.c:3033
#5  0x120058a00 in Flet () at eval.c:936
warning: Hit beginning of text section without finding
warning: enclosing function for address 0x11fffe278

