Print

Print


Dear xrootd experts,

I need help to understand why this error happens with ROOT 6.08.06 in LCG_88 for gcc62 but not for gcc49 versions.  As you can see in my attached files, there is an undefined symbol for the gcc62 version when the rpm version of xrootd is used:
/cvmfs/sft.cern.ch/lcg/releases/ROOT/6.08.06-c8fb4/x86_64-slc6-gcc62-opt/bin/root.exe: <http://sft.cern.ch/lcg/releases/ROOT/6.08.06-c8fb4/x86_64-slc6-gcc62-opt/bin/root.exe:> symbol lookup error: /cvmfs/sft.cern.ch/lcg/releases/ROOT/6.08.06-c8fb4/x86_64-slc6-gcc62-opt/lib/libNetxNG.so: <http://sft.cern.ch/lcg/releases/ROOT/6.08.06-c8fb4/x86_64-slc6-gcc62-opt/lib/libNetxNG.so:> undefined symbol: _ZN5XrdCl3URLC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE


This is how to reproduce it, on lxplus, with the rpm installed root version (it does not matter if it is xrootd 4.5.0 or 4.6.1); the recipe below minimizes what is setup without the rest of the LCG software:

first define:
(fails) myCMT="x86_64-slc6-gcc62-opt"
(works) myCMT="x86_64-slc6-gcc49-opt"

export ATLAS_LOCAL_ROOT_BASE=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase <http://atlas.cern.ch/repo/ATLASLocalRootBase>
alias setupATLAS='source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh'
setupATLAS -q
# setup standalone gcc and python
lsetup "lcgenv -p LCG_88 $myCMT gcc" "lcgenv -p LCG_88 $myCMT Python"
gcc --version
python -V
# setup standalone root
lsetup "sft --cmtConfig=$myCMT  releases/LCG_88/ROOT/6.08.06"
which root
# setup proxy
voms-proxy-init -voms atlas
# check which xrootd version used as installed by system
which xrdcp
xrdcp --version
# run, will fail for gcc62 but will work for gcc49
root -b
# f=TFile::Open("root://lcgse0.shef.ac.uk:1094//atlas/rucio/mc15_13TeV:ESD.08355655._000001.pool.root.1 <root://lcgse0.shef.ac.uk:1094//atlas/rucio/mc15_13TeV:ESD.08355655._000001.pool.root.1>")
# but if we setup xrootd which is compiled by LCG for gcc62, it works:
lsetup "sft --cmtConfig=$myCMT  releases/LCG_88/xrootd/4.5.0"
which xrdcp
root -b
# f=TFile::Open("root://lcgse0.shef.ac.uk:1094//atlas/rucio/mc15_13TeV:ESD.08355655._000001.pool.root.1 <root://lcgse0.shef.ac.uk:1094//atlas/rucio/mc15_13TeV:ESD.08355655._000001.pool.root.1>")


I've attached the results for the above test for both gcc62 and gcc49.  Shouldn't something compiled native for SL6 work for all gcc versions >=4.4 ?

 



Many thanks for your help in understanding this !

regards,
Asoka


-----------------------------------------------------------------------
Adr:    ATLAS Tier-1, TRIUMF,  4004 Wesbrook Mall,
        Vancouver B.C. V6T 2A3, Canada
Url:    http://trshare.triumf.ca/~desilva/Personal <http://trshare.triumf.ca/~desilva/Personal>
Tel:    (604) 222-7496
Fax:    (604) 222-1074
-----------------------------------------------------------------------


########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1