From xemacs-m  Fri Mar 28 12:30:06 1997
Received: from pallas.spacetec.no (pallas.spacetec.no [192.51.5.92])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id MAA14659
	for <xemacs-beta@xemacs.org>; Fri, 28 Mar 1997 12:30:00 -0600 (CST)
Received: (from tor@localhost) by pallas.spacetec.no (8.7.1/8.7.1) id TAA12262 for xemacs-beta@xemacs.org; Fri, 28 Mar 1997 19:29:42 +0100
Message-Id: <199703281829.TAA12262@pallas.spacetec.no>
From: tor@spacetec.no (Tor Arntsen)
Date: Fri, 28 Mar 1997 19:29:42 +0100
In-Reply-To: Heiko Muenkel <muenkel@tnt.uni-hannover.de>
       "Re: Binary Kit Builders" (Mar 27, 10:51)
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
To: xemacs-beta@xemacs.org
Subject: Re: Binary Kit Builders

On Mar 27, 10:51, Heiko Muenkel wrote:
>I don't know very much about the IRIX systems, but we have some SGI's
>at our site. One of it has R10000 processors. uname -a returns IRIX64
>bach 6.2 03131016 IP25. It is a 64 bit machine and I think that it is
>not compatible with the other 32 bit machines of SGI. If this is true,
>we will need also a binary kit for this machine. I'll try it, if no
>one else can do it better (at the moment there's no additional
>Freeware installed on it, no gcc, no pgm, no jpeg and so on :-().

The problem isn't the difference between the 32 and 64 bit versions of
Irix, IRIX64 has a (default) 32-bit mode which is exactly the same
as the one of 32-bit IRIX, back to 5.2/5.3.  If you build XEmacs out of 
the box it will be a 32-bit executable (try 'file' on it).

What matters are differences between the libc.so files, and I believe
they use exactly the same one also for the R10000 processors.  At least
I have exececuted an XEmacs on such a machine which was built on an
R4400 machine. 

Here we run the same binary on all the boxes, 32-bit IRIX 6.2 on the
Indys and 64-bit IRIX64 on the Challenges.  We just have to make sure
that we have the same patches installed on all the systems (really just
the patches that messes with libc.so).
(Note that static linking with libc is not an option for 
Irix.)

The problem is really that during the dumping of xemacs some of libc
seems to 'leak' into it, and you have to redump it when libc changes.
'temacs' built on IRIX 5.3 (or even 5.2) will execute just fine on *all*
the systems, probably even 6.4 but I haven't tried that one yet.

If xemacs executes on your system or not you'll never know, the 5.3
version of 19.14 would *not* run on 6.2, but it *did* run on a 6.2 with
later patches.. (and the original 6.2 XEmacs did not) and then it didn't 
run again when the latest patches after that were installed.

If someone could find and fix the Irix unexelf problem then we wouldn't
have these problems, unfortunately I know next to nothing about how
that's done.  As it is know we'll just have to live with an occasional
redump when IRIX patches etc. are installed.

Tor

