Re: 2.23.12 startup error

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Feb 23 2000 - 09:47:03 MET


Hi Bruce,
When compiling root2.23/12 with the newest Solaris CC5.0 compiler,
you get two compiler errors (one in TView, the other one in TGX11).
These are compiler bugs reported to SUN.
We have modified the code in our development version to circumvent 
these compiler bugs.

As you know, Masa is currently working in making changes in the CINT
dictionary generator to avoid a long list of warning messages with the
CC5 compiler. We expect to have the next version 2.24 fully operational
and without any compiler warnings with this compiler.

Rene Brun

O'NEEL Bruce wrote:
> 
> Hi,
>   On solaris 2.6 with the newest source
> 
> -rw-r--r--   1 1119     1021      3443092   Feb 21 17:59
> root_v2.23.12.source.tar.gz
> 
> and Sun CC 5.0 at some patch level or another I get the following
> error on startup:
> 
> isdcul3:root 58> root
> ld.so.1: /home/isdc/oneel/tmp/root/bin/root.exe: fatal: relocation error: file /home/isdc/oneel/tmp/root/lib/libGX11.so: symbol __1cFTGX112t6Mpkc2_v_: referenced symbol not found
> 
> That symbol truns out to be:
> 
> dem __1cFTGX112t6Mpkc2_v_
> 
> __1cFTGX112t6Mpkc2_v_ == TGX11::TGX11(const char*,const char*)
> 
> This is fixed with the following change:
> 
> isdcul7:src 74> diff TGX11.h ~/tmp/root/src/TGX11.h
> 131c131
> <    TGX11(const char *name, const char *title);
> ---
> >    TGX11(const Text_t *name, const Text_t *title);
> Exit 1
> 
> Why?  Why ask Why?  Who knows.  Seems like a compiler glitch to me.
> Works fine with gcc.
> 
> cheers
> 
> bruce
> 
> --
> Teleportation is very confusing, even to experts - Matt Conway.
> Bruce O'Neel                       phone:  +41 22 950 91 22 (direct)
> INTEGRAL Science Data Centre               +41 22 950 91 00 (switchb.)
> Chemin d'Ecogia 16                 fax:    +41 22 950 91 33
> CH-1290 VERSOIX                    e-mail: Bruce.Oneel@obs.unige.ch
> Switzerland                        WWW:    http://isdc.unige.ch/



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:19 MET