Compiling with Intel icc v12 crashes

Hi,

I am trying to compile root v5.30.01 with icc 12.1.0 and the installation crashes.
Here is what I am doing:

Output:

Checking for source directory … /temp/lessa/myroot/root
Configuring for linuxx8664icc
Checking for GNU Make version >= 3.80 … ok
Checking for C compiler … icc
Checking for C++ compiler … icc
Checking for linker (LD) … icpc
Checking for F77 compiler … ifort
Checking for libX11 … /usr/lib64
Checking for X11/Xlib.h … /usr/include
Checking for X11/xpm.h … /usr/include
Checking for X11/Xft/Xft.h … /usr/include
Checking for X11/extensions/shape.h … /usr/include
Checking for libXpm … /usr/lib64
Checking for libXft … /usr/lib64
Checking for libXext … /usr/lib64
Checking for freetype-config … /usr/bin/freetype-config
Checking for libfreetype version >= 9.3.0 … ok
Checking whether to build included libfreetype6 … no
Checking for pcre-config … not found
Checking whether to build included libpcre … yes
Checking for zlib.h … /usr/include
Checking for libz … /usr/lib64
Checking whether to build included zlib … no
Checking for lzma.h … no
Checking for liblzma … no
Checking whether to build included lzma … yes
Checking for GL/gl.h … no
Checking for libGL, or libMesaGL … no
Checking for libGLU, or libMesaGLU … no
Checking for mysql_config … not found
Checking for mysql.h … no
Checking for libmysqlclient_r, libmysqlclient, or mysqlclient … no
Checking for occi.h … no
Checking for libclntsh, or oci … no
Checking for libocci, or oraocci10 … no
Checking for libpq-fe.h … no
Checking for libpq … no
Checking for sql.h … no
Checking for libsqlod … no
Checking for sqlext.h … no
Checking for libiodbc, libodbc, or odbc32 … no
Checking for rfio_api.h … no
Checking for librfio, libdpm, libshift, shiftmd, or shift … no
Checking for rfio_api.h … no
Checking for stager_api.h … no
Checking for libshift, shiftmd, or shift … no
Checking for gfal_api.h … no
Checking for libgfal … no
Checking for ApMon.h … no
Checking for libapmoncpp … no
Checking for fftw3.h … no
Checking for libfftw3, or libfftw3-3 … no
Checking for fitsio.h … /usr/include
Checking for libcfitsio, or cfitsio … /usr/lib64
Checking for gvc.h … no
Checking for libgvc, or gvc … no
Checking for libgraph, or graph … no
Checking for libcdt, or cdt … no
Checking for libpathplan, or pathplan … no
Checking for libgvplugin_dot_layout, or gvplugin_dot_layout … no
Checking for libPythia6 … no
Checking for Pythia.h … no
Checking for libpythia8 … no
Checking for dcap.h … no
Checking for libdcap … no
Checking for chirp_reli.h … no
Checking for libchirp_client … no
Checking for hdfs.h … no
Checking for jni.h … no
Checking for libhdfs … no
Checking for libjvm … no
Checking whether Bonjour/Avahi is supported … no (currently not for the icc compiler)
Checking for libglite-api-wrapper … no
Checking for gapiUI.h … no
Checking for libgapiUI … no
Checking for jpeglib.h … /usr/include
Checking for png.h … /usr/include
Checking for tiffio.h … /usr/include
Checking for gif_lib.h … no
Checking for libjpeg … /usr/lib64
Checking for libtiff … /usr/lib64
Checking for libungif … no
Checking for libz … /usr/lib64
Checking for libpng … /usr/lib64
Checking whether to build included libAfterImage … yes
Checking for ldap.h … no
Checking for libldap … no
Checking for Python.h … /usr/include/python2.5
Checking for python2.5, libpython2.5, libpython, python, or Python … /usr/lib64
Checking for xml2-config … not found
Checking for libxml/tree.h … no
Checking for libxml2_a, or libxml2 … no
Checking whether to build xrootd … yes
Checking for xrootd version … "v3.0.4"
Checking for libssl … /usr/lib64
Checking for libcrypto … /usr/lib64
Checking for openssl/bio.h … /usr/include
Checking for openssl/blowfish.h … /usr/include
Checking for openssl/err.h … /usr/include
Checking for openssl/pem.h … /usr/include
Checking for openssl/rand.h … /usr/include
Checking for openssl/rsa.h … /usr/include
Checking for t_server.h … no
Checking for libsrp … no
Checking for libgmp … no
Checking for libmisc … no
Checking for pwauth.h … no
Checking for krb5.h … no
Checking for shadow passwords … yes
Checking for gsl/gsl_version.h … /usr/include
Checking for GSL version >= 1.8 … ok
Checking for libgsl, gslML, or gsl … /usr/lib64
Checking for libgslcblas, gslcblasML, gslcblas, or cblas … /usr/lib64
Checking whether /usr/lib64/libgsl.a is compiled with -fPIC … yes
Checking whether /usr/lib64/libgslcblas.a is compiled with -fPIC … no
Checking for shared library versions using gsl-config … yes
Checking whether to build libMathMore … yes
Checking whether to build libGenVector … yes
Checking whether to build libCintex … yes
Checking whether to build libReflex … yes
Checking whether to build libRooFit … yes
Checking whether to build libMinuit2 … yes
Checking whether to build libUnuran … no
Checking whether to build libGdml … no
Checking whether to build libTable … no
Checking whether to build libTMVA … yes
Checking whether to build libMemStat … yes
Checking for Clarens support … no
Checking for PEAC support … no
Checking whether to build afdsmgrd … no
Generating cint dictionaries.
Checking whether setresuid declared in /usr/include/unistd.h … yes
Writing config/Makefile.config … done
Writing config/Makefile.comp … done
Writing include/RConfigure.h … done
Writing include/RConfigOptions.h … done
Writing bin/root-config … done
Writing etc/system.rootrc … done
Writing etc/system.rootauthrc … done
Writing etc/system.rootdaemonrc … done
Writing etc/root.mimes … done
Writing etc/daemons/rootd.rc.d … done
Writing etc/daemons/rootd.xinetd … done
Writing etc/daemons/proofd.rc.d … done
Writing etc/daemons/proofd.xinetd … done
Writing main/src/proofserv.sh … done
Writing main/src/roots.sh … done
Writing etc/daemons/xrootd.rc.d … done
Writing etc/daemons/olbd.rc.d … done
Writing etc/daemons/cmsd.rc.d … done
Writing bin/memprobe … done
Writing build/misc/root-help.el … done
Writing macros/html.C … done
Writing bin/thisroot.sh … done
Writing bin/thisroot.csh … done
Writing bin/genreflex … done
Writing bin/genreflex-rootcint … done
Writing config.status … done

Enabled support for asimage, astiff, builtin_afterimage, builtin_pcre, builtin_lzma, cintex, exceptions, fitsio, genvector, mathmore, memstat, minuit2, python, reflex, roofit, shadowpw, shared, ssl, tmva, x11, xft, xrootd.

and then just:

make
Output:
"bin/rmkdepend -R -fcint/cint/src/dict/iccstrm.d -Y -w 1000 – -fPIC -Iinclude -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__64BIT -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -I/pmcs00/temp/lessa/myroot/root/cint/cint/inc -I/pmcs00/temp/lessa/myroot/root/cint/cint/src -I/pmcs00/temp/lessa/myroot/root/cint/cint/src/dict -pthread -Icint/cint/lib/iccstrm -I. -D__cplusplus – cint/cint/src/dict/iccstrm.cxx
icc -O -fPIC -Iinclude -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__64BIT -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -I/pmcs00/temp/lessa/myroot/root/cint/cint/inc -I/pmcs00/temp/lessa/myroot/root/cint/cint/src -I/pmcs00/temp/lessa/myroot/root/cint/cint/src/dict -pthread -Icint/cint/lib/iccstrm -I. -o cint/cint/src/dict/iccstrm.o -c cint/cint/src/dict/iccstrm.cxx
cint/cint/lib/iccstrm/iostrm.h(85): error: class “std::basic_ostream<char, std::char_traits>” has no member “_Mysb"
static ostream::_Mysb *G__store_cout; …”

Any ideas?

A fix will come shortly.

Cheers, Fons.

Hi,

this issue should now be fixed in the trunk and the trunk of v5-30-00-patches.

Cheers, Fons.