🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99681

Re: emacs on SUN o/s 4.1 malloc bug

#99681
From: Erik K. Antonsson
Date: Wed, 04 Jul 1990 00:20
41 lines
2116 bytes
>From fmbutt@mrbt.sw.stratus.com Mon Jul  2 20:28:40 1990
>To: erik@design.caltech.edu, mcross@blublaze.sw.stratus.com
>Subject: Re: emacs on SUN o/s 4.1 malloc bug
>Newsgroups: gnu.emacs.bug
>Organization: Stratus Computer, Software Engineering.
>
>In article <9006270051.AA01989@design.caltech.edu> you write:
>We have found that emacs 18.55 won't run on a SUN Sparc machine,
>...
>please let me know when/if you figure out a good solution to the 
>malloc problem (i.e. get the GNU malloc to work). I also had to 
>#define SYSTEM_MALLOC to get gnuemacs to work....
>
>-thanks
> Farooq

I am including (below) a response that we previously got to our inquiry.
We have implemented this change on both SUN3 and SPARC systems
running sun o/s 4.1 (emacs 18.55) with success.
We NO LONGER define SYSTEM_MALLOC (and hence use the gnu malloc).
I created a new s-sunos4.1.h
(that I include instead of s-sunos4.h in ./src/config.h):
----- Beginning of s-sunos4.1.h -----
#include "s-bsd4-2.h"

/* Say that the text segment of a.out includes the header;
   the header actually occupies the first few bytes of the text segment
   and is counted in hdr.a_text.  */

#define O_NDELAY        FNDELAY /* Non-blocking I/O (4.2 style) */
#define LD_SWITCH_SYSTEM -e __start -Bstatic

/* Include this definition for sun o/s 4.1  E.Antonsson, Caltech, 26-Jun-90 */
/* #define SYSTEM_MALLOC */
#define SUNOS_LOCALTIME_BUG
----- End of s-sunof4.1.h -----
See below:

-erik

----- Begin Included Message -----
Technical Details
Message-ID: <9007040020.AA05716@design.caltech.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!DESIGN.CALTECH.EDU!erik

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,7a6cd06b3774d25b
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-07-03 21:05:26 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!DESIGN.CALTECH.EDU!erik
From: erik@DESIGN.CALTECH.EDU (Erik K. Antonsson)
Newsgroups: gnu.emacs.bug
Subject: Re: emacs on SUN o/s 4.1 malloc bug
Message-ID: <9007040020.AA05716@design.caltech.edu>
Date: 4 Jul 90 00:20:01 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 74
Posted: Wed Jul  4 01:20:01 1990