Re: [ROOT] GCC Optimisation and SIGSEGV from TTree::Scan

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Mon Jul 16 2001 - 14:55:21 MEST


Hi Fons, 

On Mon, 16 Jul 2001 12:40:47 +0000
Fons Rademakers <Fons.Rademakers@cern.ch> wrote
concerning ": Re: [ROOT] GCC Optimisation and SIGSEGV from TTree::Scan":
> Hi Christian,
> 
>   did you recompile ROOT yourself with -O2 or is in all cases ROOT compiled
> with -O and only your app with -O2?

It's only my libraries that is compiled with -O2.  ROOT is compiled
with the default setup, that is -O and no -g. 

> My main development platform has been for the last year and a half a
> dual CPU with RH6.1 and egcs 2.91.66. But then again I only use -O. 

When I compile both ROOT and our libraries with -O (in fact -O1, but
it's the same), everythings fine. 

I'm trying to put a small example together rignt now.  I'll get back
to you ASAP. 

Yours, 

Christian  -----------------------------------------------------------
Holm Christensen                             Phone:  (+45) 35 35 96 91 
  Sankt Hansgade 23, 1. th.                  Office: (+45) 353  25 305 
  DK-2200 Copenhagen N                       Web:    www.nbi.dk/~cholm    
  Denmark                                    Email:       cholm@nbi.dk



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:52 MET