Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: alvin <alvin@iplink.net>
To: George France <france@handhelds.org>
Cc: axp-list@redhat.com
Subject: Re: GCC problems.(may relate to raid problems also)
Date: Wed, 09 Oct 2002 16:18:00 -0400	[thread overview]
Message-ID: <3DA48EF8.2000606@iplink.net> (raw)
In-Reply-To: 02100910464901.28213@shadowfax.middleearth

George France wrote:
> On Tuesday 08 October 2002 23:01, Alvin Starr wrote:
> 
>>Alvin Starr wrote:
>>
>>>I got gcc 3.2 up and running on my system and have been able to rebuild
>>>a kernel with it but have not yet had a chance to test it.
>>>
>>>Although I have been seeing ifconfig crash on a couple of our systems.
>>>it occured to me that the problem may be related to the kernel problem
>>>so I did a simple compile with the "-O2" removed(no optimization) and
>>>amazingly the ifconfig crash went away. This was with the old 2.96.xxx
>>>compiler. I then tried to build ifconfig with my new gcc 3.2 and -O2. No
>>>luck ifconfig still crashes. I then tried to build it again with my
>>>2.96.xxx and using "-O2 -fno-strength-reduce" and low and behold. Things
>>>work again.
>>
>>Oops. the -fno-strength-reduce did not actually make the problem go away
>>  but the  removing of the -O2 did.
> 
> 
> try, -fno-sched-interblock

still segfaults. With both 2.96 and 3.2.

trying to work with gdb on a optimized program can be a bit of a pain.
My best guess now is that the stack is getting clobbered by a buffer 
overflow that not caught by an unoptimized program because ther are some 
dead variables that are left hanging around.




-- 
Alvin Starr                   ||   voice: (416)785-4051
Interlink Connectivity        ||   fax:   (416)785-3668
alvin@iplink.net              ||




      reply	other threads:[~2002-10-09 20:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-09  1:14 GCC problems.(may relate to raid problems also) Alvin Starr
2002-10-09  3:01 ` Alvin Starr
2002-10-09 14:46   ` George France
2002-10-09 20:18     ` alvin [this message]
read-only archive

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