Hi,
When I install ROOT 6 in the cluster (redhat) , I met some errors,
[ 85%] Building CXX object roofit/roofitcore/CMakeFiles/RooFitCore.dir/src/RooHashTable.cxx.o
/home/huangli/tools/root/geom/geompainter/src/TGeoChecker.cxx: In member function 'Double_t TGeoChecker::TimingPerVolume(TGeoVolume*)':
/home/huangli/tools/root/geom/geompainter/src/TGeoChecker.cxx:710:10: internal compiler error: Illegal instruction
Double_t TGeoChecker::TimingPerVolume(TGeoVolume *vol)
^
[ 85%] Building CXX object roofit/roofitcore/CMakeFiles/RooFitCore.dir/src/RooHist.cxx.o
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://github.com/Homebrew/homebrew/issues> for instructions.
[code]/home/huangli/tools/root6/include/TInterpreter.h:236:7: note: in expansion of macro 'R__DEPRECATED'
R__DEPRECATED(6,10, "CINT remnant, not applicable to cling")
^
make[2]: *** [geom/geompainter/CMakeFiles/GeomPainter.dir/build.make:105: geom/geompainter/CMakeFiles/GeomPainter.dir/src/TGeoChecker.cxx.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 85%] Building CXX object roofit/roofitcore/CMakeFiles/RooFitCore.dir/src/RooHistFunc.cxx.o
[ 85%] Building CXX object tree/treeplayer/CMakeFiles/TreePlayer.dir/src/TTreePlayer.cxx.o
[ 85%] Building CXX object roofit/roofitcore/CMakeFiles/RooFitCore.dir/src/RooHistError.cxx.o
[ 85%] Building CXX object gui/gui/CMakeFiles/Gui.dir/src/TGTextEntry.cxx.o
[ 85%] Building CXX object tree/treeplayer/CMakeFiles/TreePlayer.dir/src/TTreeProxyGenerator.cxx.o
[ 85%] Building CXX object tree/treeplayer/CMakeFiles/TreePlayer.dir/src/TTreeRe
/home/huangli/tools/root6/include/RConfig.h:439:30: note: in expansion of macro ‘NAME3’
define R__JOIN3(F,X,Y) NAME3(F,X,Y)
^
/home/huangli/tools/root6/include/RConfig.h:487:3: note: in expansion of macro R__JOIN3’
R__JOIN3(R__DEPRECATED,MAJOR,MINOR)(“will be removed in ROOT v” #MAJOR “.” #MINOR ": " REASON)
^
/home/huangli/tools/root6/include/TInterpreter.h:236:7: note: in expansion of macro 'R__DEPRECATED’
R__DEPRECATED(6,10, “CINT remnant, not applicable to cling”)
^
[ 91%] Linking CXX shared library …/…/lib/libTreePlayer.so
[ 91%] Built target TreePlayer
[ 91%] Linking CXX shared library …/…/lib/libGui.so
[ 91%] Built target Gui
[ 91%] Linking CXX shared library …/…/lib/libRooFitCore.so
[ 91%] Built target RooFitCore
make: *** [Makefile:150: all] Error 2[/code]
I don’t understand the reason of the error. Can anybody help me?
I use commands,
cmake -D "CMAKE_PREFIX_PATH=/home/huangli/.linuxbrew/;/home/huangli/.linuxbrew/bin/;/home/huangli/.linuxbrew/lib/;/home/huangli/.linuxbrew/lib64/" -Dx11=OFF -Dopengl=OFF -Dminuit2=ON -Droofit=ON ~/tools/root
and my gcc is:
[huangli@login2 ~]$ gcc -v
Reading specs from /home/huangli/.linuxbrew/Cellar/gcc/5.3.0/bin/../lib/gcc/x86_64-unknown-linux-gnu/5.3.0/specs
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/home/huangli/.linuxbrew/Cellar/gcc/5.3.0/bin/../libexec/gcc/x86_64-unknown-linux-gnu/5.3.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --prefix=/home/linuxbrew/.linuxbrew/Cellar/gcc/5.3.0 --enable-languages=c,c++,objc,obj-c++,fortran --program-suffix=-5 --with-gmp=/home/linuxbrew/.linuxbrew/opt/gmp --with-mpfr=/home/linuxbrew/.linuxbrew/opt/mpfr --with-mpc=/home/linuxbrew/.linuxbrew/opt/libmpc --with-isl=/home/linuxbrew/.linuxbrew/opt/isl --with-system-zlib --enable-libstdcxx-time=yes --enable-stage1-checking --enable-checking=release --enable-lto --with-build-config=bootstrap-debug --disable-werror --with-pkgversion='Homebrew gcc 5.3.0' --with-bugurl=https://github.com/Homebrew/homebrew/issues --enable-plugin --disable-nls --disable-multilib
Thread model: posix
gcc version 5.3.0 (Homebrew gcc 5.3.0)
The full information of compile is too large, so I can’t put it in the attachment.