Because of a bug in gcc4.5 which is preventing compilation I am trying to use INTEL icc (using version that is part of the composerxe-2011.3.174 release).
The configure string I am using is
Configure runs fine, make runs fine but when I try to execute “sudo make install” I get the following error
I include the line “source /opt/intel/composerxe-2011.3.174/bin/compilervars.sh intel64” in my .bashrc file. This is the only situation I have encountered where it hasn’t worked as expected.
Good, you should be ok with this workaround. However, for “private use” I would not install ROOT using the --prefix method (so the install step is not needed), but just in ~/root (so it is also easier to have multiple versions).
Hi,
This is the message I get after the compiler crash.
/home/install/root/proof/proof/src/TDataSetManager.cxx: In member function ‘virtual void TDataSetManager::MonitorUsedSpace(TVirtualMonitoringWriter*)’:
/home/install/root/proof/proof/src/TDataSetManager.cxx:708:1: internal compiler error: in redirect_jump, at jump.c:1443
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.
make: *** [proof/proof/src/TDataSetManager.o] Error 1
No advantage for gcc, the latest icc produces slightly faster executables. An alternative free compiler is clang. Get version 2.9 or the trunk, it compiles ROOT fine (much faster compilation than either g++ or icc) and binary performance is on par with the other two. To use with ROOT do:
The workaround posted by Fons seems to not be working for me. This could very well be my fault because I am new to Linux.
Here is what I tried:
blatm@Bob:~/Documents/root$ make
bin/rmkdepend -R -fproof/proof/src/TDataSetManagerFile.d -Y -w 1000 -- -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude -pthread -D__cplusplus -- /home/blatm/Documents/root/proof/proof/src/TDataSetManagerFile.cxx
g++ -O2 -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude -pthread -o proof/proof/src/TDataSetManagerFile.o -c /home/blatm/Documents/root/proof/proof/src/TDataSetManagerFile.cxx
bin/rmkdepend -R -fproof/proof/src/TDSet.d -Y -w 1000 -- -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude -pthread -D__cplusplus -- /home/blatm/Documents/root/proof/proof/src/TDSet.cxx
g++ -O2 -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude -pthread -o proof/proof/src/TDSet.o -c /home/blatm/Documents/root/proof/proof/src/TDSet.cxx
/home/blatm/Documents/root/proof/proof/src/TDSet.cxx: In member function ‘void TDSet::Validate()’:
/home/blatm/Documents/root/proof/proof/src/TDSet.cxx:1531:1: internal compiler error: in redirect_jump, at jump.c:1443
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.
make: *** [proof/proof/src/TDSet.o] Error 1
blatm@Bob:~/Documents/root$ g++ -O -m64 -pipe -Wshadow -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude -D_REENTRANT -pthread -o proof/proof/src/TDataSetManager.o -c /home/blatm/Documents/root/proof/proof/src/TDataSetManager.cxx
blatm@Bob:~/Documents/root$ make
bin/rmkdepend -R -fproof/proof/src/TDSet.d -Y -w 1000 -- -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude -pthread -D__cplusplus -- /home/blatm/Documents/root/proof/proof/src/TDSet.cxx
g++ -O2 -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude -pthread -o proof/proof/src/TDSet.o -c /home/blatm/Documents/root/proof/proof/src/TDSet.cxx
/home/blatm/Documents/root/proof/proof/src/TDSet.cxx: In member function ‘void TDSet::Validate()’:
/home/blatm/Documents/root/proof/proof/src/TDSet.cxx:1531:1: internal compiler error: in redirect_jump, at jump.c:1443
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.
make: *** [proof/proof/src/TDSet.o] Error 1
Thanks for any help.
EDIT:
Update: In root/config/Makefile.linuxx8664gcc I changed OPTFLAGS = -O2 to OPTFLAGS = -O and now the previous error seems to have dissipated, but I’m getting another error: