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/ symbol lookup error: /cvmfs/ 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/
alias setupATLAS='source ${ATLAS_LOCAL_ROOT_BASE}/user/'
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://")
# 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

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 ?


Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-L list, click the following link: