Cling warning during binary install of rootv6 on OSX 10.11

Hi,

I just installed the root binary for v6.06.02 on OSX 10.11.3 and ran into the following warning:

root [0] .L main.cc++
Info in TMacOSXSystem::ACLiC: creating shared library /Users/rebassoo/cern/install/root/test/./main_cc.so
Warning in cling::IncrementalParser::CheckABICompatibility():
C++ ABI mismatch, compiled with _LIBCPP_VERSION v1101 running with v3700

I see that this error is very similar to the error in a previous post for a root v6 install on Ubuntu:

I am not sure if the binary needs to be updated. If I build from the source code I do not have this warning.

Thanks,
Finn

Hi,

Don’t you also have that during the startup of ROOT? Or really only when building a shared library through ACLiC?

Cheers, Axel.

Hi all,

This message appears at the startup of root (tag v6-07-06) :

$ root
Warning in cling::IncrementalParser::CheckABICompatibility():
C++ ABI mismatch, compiled with _LIBCPP_VERSION v3700 running with v1101

| Welcome to ROOT 6.07/06 root.cern.ch |
| © 1995-2016, The ROOT Team |
| Built for macosx64 |
| From tag v6-07-06, 1 April 2016 |

Try ‘.help’, ‘.demo’, ‘.license’, ‘.credits’, ‘.quit’/’.q’

root [0]

System: mac os 10.11.4

Cheers
Matt

When executed from a simple main function (compiled):

TRint* root = new TRint("ROOT application", &argc, argv, NULL, 0); root->Run(); delete root; return 0;

Several of these lines appear:

Error in <TBufferFile::CheckByteCount>: object of class TProtoClass read too few bytes: 1953 instead of 1957
Before the banner appears


| Welcome to ROOT 6.07/06 root.cern.ch |
| © 1995-2016, The ROOT Team |
| Built for macosx64 |
| From tag v6-07-06, 1 April 2016 |

Try ‘.help’, ‘.demo’, ‘.license’, ‘.credits’, ‘.quit’/’.q’

Hi,

You need to have Xcode installed and accessible from the prompt. Please run

xcode-select --install

The issue with TProtoClass is likely due to a mismatch of ROOT versions; check otool -L your_binary

Cheers, Axel.