Path: 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 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