Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!strath-cs!cs.glasgow.ac.uk!memex!peter From: peter@memex.co.uk (Peter Ilieve) Newsgroups: comp.windows.x Subject: Re: xps dumps core on sparcstation Summary: Just remove -O from x11.c Message-ID: <340@memex.co.uk> Date: 8 Dec 89 10:33:12 GMT References: <1989Dec6.163746.20598@relay.nswc.navy.mil> Reply-To: peter@memex.co.uk (Peter Ilieve) Organization: Memex Ltd., East Kilbride, Scotland Lines: 19 In article <1989Dec6.163746.20598@relay.nswc.navy.mil> Dave Sill writes: >Here's what I get when I try to run xps: >% adb xps >core file = core -- program ``xps'' >SIGBUS 10: bus error >$c >_HardwareExtent(0x4f537,0x1fb40,0x4,0x0,0x0,0x0) + 1c > ... >(Compiled with GCC 1.36 on SPARCstation-1 running 4.0.3c and MIT >sample server) It dies in the same place with cc as well. The problem is something to do with returning structures. It works here, using cc, if you compile just x11.x without -O. I don't know enough about gcc to know if you would need -fpcc_struct_return as well. Peter Ilieve peter@memex.co.uk