From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 972ED42CE9 for ; Wed, 9 Oct 2002 16:17:54 -0400 (EDT) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id g99KHsA05036 for axp-list@listman.redhat.com; Wed, 9 Oct 2002 16:17:54 -0400 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id g99KHsf05032 for ; Wed, 9 Oct 2002 16:17:54 -0400 Received: from mailserver.iplink.net (IDENT:root@smtp.iplink.net [192.139.81.186]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g99Jw6X06413 for ; Wed, 9 Oct 2002 15:58:06 -0400 Received: from mercutio.iplink.net ([192.139.81.54]:54148 "EHLO iplink.net") by mailserver.iplink.net with ESMTP id ; Wed, 9 Oct 2002 16:17:37 -0400 Message-ID: <3DA48EF8.2000606@iplink.net> Date: Wed, 09 Oct 2002 16:18:00 -0400 From: alvin User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830 X-Accept-Language: en-us, en MIME-Version: 1.0 To: George France Cc: axp-list@redhat.com Subject: Re: GCC problems.(may relate to raid problems also) References: <3DA382E7.10504@iplink.net> <3DA39C09.1000003@iplink.net> <02100910464901.28213@shadowfax.middleearth> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: 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 ||