From xemacs-m  Tue Apr 22 15:00:26 1997
Received: from ee.duke.edu (ece.ee.duke.edu [152.3.17.193])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id PAA17941
	for <xemacs-beta@xemacs.org>; Tue, 22 Apr 1997 15:00:25 -0500 (CDT)
Received: from shannon.ee.duke.edu (shannon.ee.duke.edu [152.3.17.203]) 
	by ee.duke.edu (8.8.4/Duke-2.0) with SMTP id PAA19874; 
	Tue, 22 Apr 1997 15:59:16 -0400 (EDT)
Date: Tue, 22 Apr 1997 15:57:23 -0400 (EDT)
From: "William T. Rankin" <wrankin@ee.duke.edu>
To: XEmacs Beta List <xemacs-beta@xemacs.org>
Subject: Newbie Q:
Message-ID: <Pine.A32.3.94.970422153540.17160D-100000@shannon.ee.duke.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


First post, guys, so be gentle.


Summary: Clean compiles of both 20.2-b1 and 19.15-p2 with GCC under
AIX 4.2 core dump right at startup with a SIGSEGV, leaving little
information in the resulting 23k core dump.

======

I have been having problems running 20.2b1 under AIX 4.2 w/ gcc 2.7.2.1.
(we don't have our IBM compiler licenses yet, so I'm using GCC downloaded
from www-frec.bull.com)

With the stock AIX 4.2 configureation, the build goes fine,
running temacs and producing a 'src/xemacs' file whichI then
install via 'make install'.

However, running 'xemacs' results in an immediate SIGSEGV and coredump.
The core file is only about ~24K.  Setting the debugging output on does
not give me anything.


======

Configuration (for this case) is:

./configure powerpc-ibm-aix4.2 --x-includes=/usr/include
--x-libraries=/lib --prefix=/usr/local/xemacs-beta --cflags="-g
-mno-fp-in-toc" --debug=yes --use-system-malloc=yes --rel_alloc=no
--with-x=no

Configured for `powerpc-ibm-aix4.2'.

  Where should the build process find the source code?
/usr/local/xemacs-beta
/src/xemacs-20.2-b1
  What installation prefix should install use?
/usr/local/xemacs-beta
  What operating system and machine description files should XEmacs use?
        `s/aix4-2.h' and `m/ibmrs6000.h'
  What compiler should XEmacs be built with?              gcc -g
-mno-fp-in-toc
  Should XEmacs use the GNU version of malloc?            no
  (User chose not to use GNU allocators.)
  Should XEmacs use the relocating allocator for buffers? no
  What window system should XEmacs use?                   none
  Where do we find X Windows header files?                /usr/include
  Where do we find X Windows libraries?                   /lib
  Compiling in support for DBM.
  Compiling in extra code for debugging.
  Compiling in code for checking XEmacs memory usage.

======


So, has anyone seen this behavior before and know the (probably very
simple) solution?


Note that I have had no problems compiling and running under Solaris 2.5.

Thank much for any help,

-bill rankin
wrankin@ee.duke.edu


