[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: egcs on alpha

On Thu, Dec 10, 1998 at 11:02:53AM -0600, Lonnie Sauter wrote:
> I was not using any optimisation.  I did use gdb to track things down.  The
> program was segfaulting in malloc().  I will try the above flags your mentioned
> and see if that helps.

If you're segfaulting in malloc(), you probably wrote outside the
bounds of your allocation.  You might want to try using Electric Fence
or one of the other malloc debugging packages.  (Do they work on
Alpha?  I've never tried them.)  I'd be quite suprised if a compiler
bug resulted in a segfault in malloc().

Andy Isaacson adisaacs@mtu.edu adi@acm.org    Fight Spam, join CAUCE:
http://www.csl.mtu.edu/~adisaacs/              http://www.cauce.org/

Reply to: