Article View: gnu.emacs.bug
Article #1762Re: Emacs 18.55 can't run on 386 (SysV.3.2), help!
From: Piercarlo Grandi
Date: Wed, 20 Dec 1989 21:16
Date: Wed, 20 Dec 1989 21:16
27 lines
1871 bytes
1871 bytes
In article <PINKAS.89Dec19174826@joker.intel.com> pinkas@joker.intel.com
(Israel Pinkas) writes:
[ problems installing emacs 18.55 on a 386 ]
I found that I could not compile fns.c with the -O flag. I don't know
why, but when I did, Emacs died in concat() with Error 11 whenever it
tried to access things from the DOC file. (It appeared to read in the
file without problems, but died looking up the string.) When compiled
without the -O flag, everything is fine.
More or less once a month I have to repeat: the 386 optimizer is fairly
good, but it does by default *inline* bits of assembler code here and there,
most notably concat. Unfortunately this breaks alloca(), so the solution is
to turn off inlining on any source that uses alloca(). In other words you
can use the following options:
-O -W2,'-y 0'
and you will have optimization without inlining, and alloca() will work. If
you want to have an idea of which fancy optimization the 386 optimizer does,
add -z to -y. Now, if only AT&T documented the zillion options for the
optimizer, it would be nicer.
--
Piercarlo "Peter" Grandi | ARPA: pcg%cs.aber.ac.uk@nsfnet-relay.ac.uk
Dept of CS, UCW Aberystwyth | UUCP: ...!mcvax!ukc!aber-cs!pcg
Penglais, Aberystwyth SY23 3BZ, UK | INET: pcg@cs.aber.ac.uk
Technical Details
Message-ID:
<1548@aber-cs.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!mcgill-vision!bloom-beacon!eru!luth!sunic!mcsun!ukc!dcl-cs!aber-cs!pcgShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!mcgill-vision!bloom-beacon!eru!luth!sunic!mcsun!ukc!dcl-cs!aber-cs!pcg From: pcg@aber-cs.UUCP (Piercarlo Grandi) Newsgroups: gnu.emacs.bug,comp.unix.i386 Subject: Re: Emacs 18.55 can't run on 386 (SysV.3.2), help! Summary: the inliner must be disabled... Message-ID: <1548@aber-cs.UUCP> Date: 20 Dec 89 21:16:19 GMT Reply-To: pcg@cs.aber.ac.uk (Piercarlo Grandi) Organization: Dept of CS, UCW Aberystwyth (Disclaimer: my statements are purely personal) Lines: 27