Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* ELF xpilot crash probably because of gcc-2.7.2 bug
@ 1996-09-03  7:39 Martin Ostermann
  0 siblings, 0 replies; only message in thread
From: Martin Ostermann @ 1996-09-03  7:39 UTC (permalink / raw)


Now that I got a working gdb, I was able to debug the important
stuff. xpilot (any version 3.[2345].x I tried, and the RedHat ELF-rpm)
crashes when compiled with gcc-2.7.2 with segmentation fault. 

The oops location is in paint.c:1027, a very simple loop within a very
large function (teribble coding). Seems like the condition of the
if-loop doesn't get tested when compiled with -O2. Compiling paint.c
with just -O yields a working xpilot binary. 

Martin

-- 
Martin Ostermann                | mailto:ost@comnets.rwth-aachen.de
Communication Networks          | http://www.comnets.rwth-aachen.de/~ost
Aachen University of Technology | phoneto:++49/241/807917
Germany                         | faxto:++49/241/8890378

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-09-03  7:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-09-03  7:39 ELF xpilot crash probably because of gcc-2.7.2 bug Martin Ostermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox