From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 12D032EFA1 for ; Fri, 1 Dec 2000 04:01:33 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id eB191WD20877 for axp-list@listman.redhat.com; Fri, 1 Dec 2000 04:01:32 -0500 Received: from server1.software-ag.de (server1.software-ag.de [193.26.194.2]) by mail.redhat.com (8.11.0/8.8.7) with SMTP id eB191TD20867 for ; Fri, 1 Dec 2000 04:01:30 -0500 Message-ID: <3A2768E4.8EB24F1A@sql.de> Date: Fri, 01 Dec 2000 10:01:24 +0100 From: Joerg Bruehe Organization: SQL Datenbanksysteme GmbH X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: who is responsible for egcs/gcc on alpha nowadays References: <61FC074AB601D411B7970050046089BA047F520E@softwareag.com> Content-Type: text/plain; charset=us-ascii 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.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors Hi ! "Hankinson, Jeremy" wrote: > > I think I'm hitting this problem with egcs-2.91.66. > I'm porting Ingres to run on Alpha Linux and twice now, at different parts in the code I've had a > SEGV similar to the one below which as been resolved by compiling with -O0. Not ideal for a > database. > > Has there been any further development with this issue? > Is there a fix? > Any help would be greatly appreciated. > > [...] In my experience, similar problems may occur with all compilers as soon as the code gets too complicated (holds true for any DBMS) - I have similar effects ("core dumps and/or execution taking wrong paths) on Tru64 (with Compaq's compiler) and on AIX (with IBM's). All you can do is keep track of the options you use in building and the results of your tests, and maybe have a separate "noopt" build version in parallel to do regression tests. My most disturbing experience was that in one case on Tru64, a module that worked fine with "-O1" suddenly misbehaved when it got trace output (in "#ifdef" sections) activated, and I had to switch to "-O0" ("minus oh zero") for the trace case. So upgrading the compiler might help, but even the most rigorous testing with one compiler (machine, OS version, compiler version) will not guarantee it still works after one of these variables (or some other ...) was changed. Regards, Joerg Bruehe -- Joerg Bruehe, SQL Datenbanksysteme GmbH, Berlin, Germany (speaking only for himself) mailto: joerg@sql.de