Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Joerg Bruehe <joerg@sql.de>
To: axp-list@redhat.com
Subject: Re: who is responsible for egcs/gcc on alpha nowadays
Date: Fri, 01 Dec 2000 10:01:24 +0100	[thread overview]
Message-ID: <3A2768E4.8EB24F1A@sql.de> (raw)
In-Reply-To: 61FC074AB601D411B7970050046089BA047F520E@softwareag.com

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




       reply	other threads:[~2000-12-01  9:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <61FC074AB601D411B7970050046089BA047F520E@softwareag.com>
2000-12-01  9:01 ` Joerg Bruehe [this message]
2000-11-30 23:12 who is responsible for egcs/gcc on alpha nowadays Hankinson, Jeremy
2000-12-01  8:12 ` Christian Iseli
  -- strict thread matches above, loose matches on Subject: below --
2000-10-04 13:10 Uncle George
2000-10-04 15:49 ` Michal Jaegermann
2000-10-04 18:32   ` Matt Wilson
2000-10-04 19:06   ` Uncle George
2000-10-04 21:44   ` Uncle George
2000-10-04 17:05 ` Nathan Paul Simons
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