Re: [ROOT] root on PPC systems

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri May 03 2002 - 15:20:49 MEST


Hi Damir,

The test reported by Stephen runs correctly on RH Linux with all
incarnations of gcc. It seems to be a problem with PPCLinux only
with the gcc2.9X versions.

Rene Brun

Damir Buskulic wrote:
> 
> Hi,
> 
> I see the same behaviour as Stephen. Since Jiri doesn't see it, I
> suppose it may be connected to a cint/gcc2.96 issue... I tried to look
> at the generation of the kTRUE variable, but didn't find anything
> obvious. Furthermore, if one replaces "kTRUE" by "true" everywhere in a
> script, everything seems to work. But if a variable was set with kTRUE,
> even resetting it with 1 or "true" doesn't work. Weird.
> 
> Stephen, is it a big problem for you to change in your scripts "kTRUE"
> to "true" or 1 ? At least until we all have gcc 3 ;-) If it is a
> problem, I must admit I'm stuck here unless a cint expert takes the case.
> 
> Cheers
> 
> Damir
> 
> P.S. I too do not want to give up on my Mac !
> 
> Jiri Masik wrote:
> > "Stephen J. Sanders" <ssanders@ku.edu> writes:
> >
> >
> >>Hi,
> >>Root in its latest version does not run correctly on the linux PPC
> >>platform.  The
> >>problem seems to be with the  new treatment of booleans:
> >>
> >>Using the binaries built for Suse7.3 on  a YellowDog Linux 2.2 system:
> >>root [0] Bool_t a = kTRUE;
> >>root [1] a
> >>(Bool_t)0
> >>root [2] kTRUE
> >>(const Bool_t)0
> >>root [3] true
> >>(const bool)1
> >>root [4] Bool_t a = true
> >>root [5] a
> >>(Bool_t)0
> >>
> >>Similar problems occur if I compile from source on the YDL system.
> >>I tried the simple minded approach of redefining the Bool_t back to the way
> >>it was in version 3.1 of root (where everything worked fine) but, of
> >>course, this
> >>results in numerous compilation complaints of redefined variables.
> >>
> >>Any suggestions (other than giving up on my Macintosh!)?
> >>
> >>Regards, Steve
> >
> >
> > Hi Steve,
> >
> > I cannot reproduce what you describe - I'm running
> >   *   Version   3.03/04     30 April 2002   *
> > on Linux/Debian/ppc, compiled from source with gcc-3.0.4,
> > configured with linuxdeb2ppc.
> >
> > What architecture did you use in ./configure?
> > cheers,
> >         Jiri
> >
> 
> --
> =====================================================================
> | Damir Buskulic                  | Universite de Savoie/LAPP       |
> |                                 | Chemin de Bellevue, B.P. 110    |
> | Tel : +33 (0)450091600          | F-74941 Annecy-le-Vieux Cedex   |
> | e-mail: buskulic@lapp.in2p3.fr  | FRANCE                          |
> =====================================================================
> mailto:buskulic@lapp.in2p3.fr



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:52 MET