Article View: gnu.emacs.bug
Article #98350Re: Problem building latest GNU Emacs (18.57)
From: Simon Marshall
Date: Thu, 22 Aug 1991 10:41
Date: Thu, 22 Aug 1991 10:41
42 lines
2485 bytes
2485 bytes
Meissner@org.osf writes:
[ The building of emacs on a Sequent (i386) was failing, when built with
ld from binutils-1.9, gcc-1.40 & gas-1.38.1 ]
| Simon Marshall writes:
| | ./temacs -batch -l inc-vers
| | Loading inc-vers...
| | New Emacs version will be 18.57.21
| | ./temacs -batch -l loadup.el dump
| | Loading loadup.el...
| | Loading subr...
| | *** Illegal instruction - core dumped
| | `all' not remade because of errors
| | I traced the "error" to mark_object() which was calling abort(),
| | this is some of the code starting at 1015 in that function (file
| | alloc.c), the switch is on (XGCTYPE (obj)), obj being the Lisp_Object
| | mark_object's single arg points to:
[ The cause was obj being odd, when it was assumed by emacs to be even.
It appeared that the problem was with GNU-ld, since linking with the host's
ld resulted in emacs-18.57 building without a hitch. ]
| I have seen this before, on machines like the 386 which do not align
| bss items to word boundaries. Emacs GC assumes that all objects are
| at least 16-bit aligned.
| I use the following shell script, hacking the Makefile to call it
| instead of 'ld' (you may have to tweak it to suit):
Can anyone confirm this? I was using all GNU stuff to build emacs
(so it's not really our 386 machine at fault?), but GNU-ld was not
putting BSS items on word boundaries, which GNU-emacs expects? Is
there a fix to GNU-ld for this, if not (IMHO) maybe there should be!
Is this the problem? Simon.
_______________________________________________________________________________
Simon Marshall, Dept. of Computer Science, University of Hull, Hull HU6 7RX, UK
"``La la la la la la la la la'' means I love you."
Email: S.Marshall@Hull.ac.uk Phone: +44 482 465951 (office) Fax: 466666
Technical Details
Message-ID:
<9108220953.AA23137@life.ai.mit.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!sequent.cc.HUll.ac.UK!S.MarshallShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,559f31b1b0e56aa4,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1991-08-22 03:41:51 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!sequent.cc.HUll.ac.UK!S.Marshall From: S.Marshall@sequent.cc.HUll.ac.UK (Simon Marshall) Newsgroups: gnu.emacs.bug Subject: Re: Problem building latest GNU Emacs (18.57) Message-ID: <9108220953.AA23137@life.ai.mit.edu> Date: 22 Aug 91 10:41:51 GMT Sender: gnulists@ai.mit.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 42 Approved: bug-gnu-emacs@prep.ai.mit.edu