🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #1087

Compiling Emacs 18.52 with gcc (V. 1.29)

#1087
From: Greg Earle
Date: Mon, 24 Oct 1988 01:14
25 lines
1397 bytes
Hasn't anyone compiled 18.52 with a gcc of recent vintage?  When I do so (on
a Sun-3/160, SunOS 4.0, gcc v. 1.29), trying to run the dumped xemacs yields
almost instant core dumps with SIGSEGV.  My first compilation was with

	gcc -v -W -traditional -g -finline-functions -fstrength-reduce

and I eventually removed the inline functions and strength reduction, but that
had no effect.  When I run Emacs with `-nw' it dies at the end of the function

	display_text_line (w, start, vpos, hpos, taboffset)

and dbx claims that the stack is overwritten.  If I run it normally under X,
I get a similar quick SIGSEGV in one of the functions inside x11fns.c (it
might have been x-get-default or x-set-font, don't remember which).

The standard Sun PCC-based C compiler produces an xemacs that does not have
this problem.

Does this sound familiar to anyone?

	- Greg Earle
	  Sun Los Angeles Consulting
	  earle@Sun.COM
	  earle@mahendo.JPL.NASA.GOV	(Guest account; forwarded)
Technical Details
Message-ID: <8810240114.AA29280@mahendo.Jpl.Nasa.Gov>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!uunet!tut.cis.ohio-state.edu!MAHENDO.JPL.NASA.GOV!earle

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!uunet!tut.cis.ohio-state.edu!MAHENDO.JPL.NASA.GOV!earle
From: earle@MAHENDO.JPL.NASA.GOV (Greg Earle)
Newsgroups: gnu.emacs.bug
Subject: Compiling Emacs 18.52 with gcc (V. 1.29)
Message-ID: <8810240114.AA29280@mahendo.Jpl.Nasa.Gov>
Date: 24 Oct 88 01:14:58 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 25