Cannot compile with cmake (never was able to)


I can’t compile with :

make VERBOSE=1

[ 64%] Generating hsimple.root
Warning in cling::IncrementalParser::CheckABICompatibility():
C++ ABI mismatch, compiled with GLIBCXX v20141018 running with v20141023
terminate called after throwing an instance of ‘std::bad_alloc’
what(): std::bad_alloc
CMakeFiles/hsimple.dir/build.make:51: recipe for target ‘hsimple.root’ failed
make[2]: *** [hsimple.root] Aborted
make[2]: Leaving directory ‘/home/kulam/data/paquets/buildroot’
CMakeFiles/Makefile2:193: recipe for target ‘CMakeFiles/hsimple.dir/all’ failed
make[1]: *** [CMakeFiles/hsimple.dir/all] Error 2
make[1]: Leaving directory ‘/home/kulam/data/paquets/buildroot’
Makefile:137: recipe for target ‘all’ failed
make: *** [all] Error 2

My system is :
Linux 3.16-3-amd64 #1 SMP Debian 3.16.5-1 (2014-10-10) x86_64 GNU/Linux
g++ (Debian 4.9.1-19) 4.9.1
ROOT commit c2d1b3b7d4aa06e6b08923bcbe68105429dac716

Complete output of cmake is in cmake.out
Complete outout of make VERBOSE=1 is in make.out

./configure --prefix=$LOCAL is almost always working

Am i the only one to have problems with cmake ? I think I already read somewhere it was the preconised way to build root

Thanks in advance for any advice…

make.out.txt (222 KB)
cmake.out.txt (1.43 KB)


this is not expected.
Can you confirm that you can compile the same soruces with the classic makefile approach?
Do you have multiple gcc versions on your system?