Re: build segfault on SLC3

From: Fons Rademakers <Fons.Rademakers_at_cern.ch>
Date: Tue, 22 Mar 2005 16:25:56 +0100


Hi Bruce,

  this is very interesting. I've the feeling it is a file system issue. I've seen exactly the same on my Dual G5 Mac (Panther) when running parallel make. Not on any other platforms where we run // make. I tried once to debug it on the Mac but it is very elusive and did not manage to nail it yet. Btw, it only happened in the rmkdepend.sh phase. Once these files have been made if you ctl-c and restart make in // mode it should continue correctly.

If you manage to nail it down, I'll be grateful.

Cheers, Fons.

Bruce Becker wrote:
> Hi
>
> I'm using Scientific Linux on PVFS for the first time and my ROOT
> build crashes when I run parallel make (gmake -j4). The machine is a
> dual Intel Xeon 2.6GHz HT, I have version 8.1 of the Intel compilers
> (although it crashes with GCC-3.4.2 and GCC 3.2.3 too) . It seems to
> compile fine with a single instance of gmake (i tried version 3.79 and
> 3.80) - still busy compiling...
>
> The error message is :
> ./configure linuxicc --enable-pythia6
> --with-pythia6-libdir=/mnt/pvfs/bbecker/Soft/root/lib/
>
> Configuring for linuxicc
> Checking for libX11 ... /usr/X11R6/lib
> Checking for X11/Xlib.h ... /usr/include
> Checking for libXpm ... /usr/X11R6/lib
> Checking for GL/gl.h ... /usr/include
> Checking for libGL, or libMesaGL ... /usr/lib
> Checking for libGLU, or libMesaGLU ... /usr/lib
> Checking for mysql.h ... no
> Checking for libmysqlclient, or mysqlclient ... no
> Checking for libpq-fe.h ... /usr/include
> Checking for libpq ... /usr/lib
> Checking for sql.h ... no
> Checking for libsqlod ... no
> Checking for rfio_api.h ... no
> Checking for libshift, shiftmd, or shift ... no
> Checking for libpacklib, packmd, or packlib ... no
> Checking for libkernlib, kernmd, or kernlib ... no
> Checking for libPythia6 ... /mnt/pvfs/bbecker/Soft/root/lib/
> Checking for libVenus ... no
> Checking for dcap.h ... no
> Checking for libdcap ... no
> Checking for chirp_client.h ... no
> Checking for libchirp_client ... no
> Checking for AliEnAPI++.h ... no
> Checking for libAliEnAPI++ ... no
> Checking for jpeglib.h ... no
> Checking for png.h ... no
> Checking for tiffio.h ... no
> Checking for gif_lib.h ... no
> Checking for libjpeg ... no
> Checking for libtiff ... no
> Checking for libungif ... no
> Checking for libz ... /usr/lib
> Checking for libpng ... no
> Checking for ldap.h ... /usr/include
> Checking for libldap ... /usr/lib
> Checking for liblber ... /usr/lib
> Checking for Python.h ... /usr/include/python2.2
> Checking for libpython2.4, libpython2.3, libpython2.2, python24,
> python23, or Python ... /usr/lib/python2.2/config
> Checking for libxml/tree.h ... /usr/include/libxml2
> Checking for libxml2_a, or libxml2 ... /usr/lib
> Checking whether to build xrootd ... yes
> Checking for globusdir ... no
> Checking for GLOBUS_LOCATION ... no
> Checking for libssl ... /usr/lib
> Checking for libcrypto ... /usr/lib
> 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 ... /usr/lib
> Checking for libmisc ... no
> Checking for pwauth.h ... no
> Checking for krb5.h ... /usr/kerberos/include
> Checking for libk5crypto ... /usr/kerberos/lib
> Checking whether we're using MIT Kerberos ... yes
> Checking for libkrb5 ... /usr/kerberos/lib
> Checking for kinit ... /usr/kerberos/bin/kinit
> Checking for libcom_err ... /usr/kerberos/lib
> Checking for shadow passwords ... yes
> Checking whether to build libTable ... no
> Checking for Clarens support ... no
> Checking for PEAC support ... no
> Checking whether setresuid declared in /usr/include/unistd.h ... yes
> Writing config/Makefile.config ... done
> Writing include/config.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 bin/memprobe ... done
> Writing build/misc/root-help.el ... done
> Writing config.status ... done
>
> Enabled support for asimage, exceptions, krb5, ldap, opengl, pgsql,
> pythia6, python, shadowpw, shared, ssl, thread, xml, xrootd.
>
> Reconfigure successful.
> If the build fails, please run ./configure again.
>
> build/unix/depend.sh main/src/ssh2rpd.d "-fPIC -wd1476 -Iinclude
> -wd1572 -pthread" main/src/ssh2rpd.cxx > main/src/ssh2rpd.d
> build/unix/depend.sh main/src/h2root.d "-fPIC -wd1476 -Iinclude
> -wd1572 -pthread" main/src/h2root.cxx > main/src/h2root.d
> build/unix/depend.sh main/src/hadd.d "-fPIC -wd1476 -Iinclude -wd1572
> -pthread" main/src/hadd.cxx > main/src/hadd.d
> build/unix/depend.sh main/src/pmain.d "-fPIC -wd1476 -Iinclude
> -wd1572 -pthread" main/src/pmain.cxx > main/src/pmain.d
> build/unix/depend.sh: line 11: 3732 Segmentation fault
> bin/rmkdepend -f$1.tmp -Y -w 3000 -- $2 -- $3 >/dev/null 2>&1
> build/unix/depend.sh: line 11: 3734 Segmentation fault
> bin/rmkdepend -f$1.tmp -Y -w 3000 -- $2 -- $3 >/dev/null 2>&1
> gmake: *** [main/src/h2root.d] Error 127
> gmake: *** Waiting for unfinished jobs....
> gmake: *** [main/src/ssh2rpd.d] Error 139
> gmake: *** [main/src/hadd.d] Error 139
>
> Is this a compiler, make or OS problem ?
> thanks
> Bruce

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers_at_cern.ch              Phone: +41 22 7679248
WWW:    http://www.rademakers.org/fons/      Fax:   +41 22 7679480
Received on Tue Mar 22 2005 - 16:26:05 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:06 MET