Article View: gnu.gcc.bug
Article #2266problem with gnu malloc and gcc 1.33 on sparc
From: Tom Quinn
Date: Fri, 10 Feb 1989 14:48
Date: Fri, 10 Feb 1989 14:48
14 lines
1173 bytes
1173 bytes
The malloc.c included with the emacs 18.52 distribution does not, in general, return an 8 byte aligned pointer. This causes problems when gcc uses a "std" instruction, which requires an 8 byte aligned byte: a "Bus error" results. This was demonstrated by compiling emacs version 18.52 with the X11 and XMenu options with gcc 1.33 on a Sun 4/110 running SunOS 4.0. (The X and XMenu libraries were also compiled with gcc 1.33) The editor would die in XMenuCreate(). The malloc that Sun provides appears to work. Tom Quinn Canadian Institute for Theoretical Astrophysics trq@moose.cita.utoronto.ca UUCP - decvax!utgpu!moose!trq BITNET - quinn@utorphys.bitnet ARPA - trq%moose.cita.toronto.edu@relay.cs.net
Technical Details
Message-ID:
<8902101448.AA09709@moose.cita.utoronto.ca>Path:
arc1-ca.pugleaf.net!utzoo!telly!attcan!dptcdc!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!MOOSE.CITA.UTORONTO.CA!trqShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!dptcdc!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!MOOSE.CITA.UTORONTO.CA!trq From: trq@MOOSE.CITA.UTORONTO.CA (Tom Quinn) Newsgroups: gnu.gcc.bug Subject: problem with gnu malloc and gcc 1.33 on sparc Message-ID: <8902101448.AA09709@moose.cita.utoronto.ca> Date: 10 Feb 89 14:48:53 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 14