ROOT 6.0 ok with g++-4.8 but not with g++4.9

Dear all,

Recently, I have been able to compile ROOT 6.0 with (slightly modified) configure script (as exposed in this thread [url]Compiling latest ROOT failed ) and g+±4.9 (Debian 4.9.0-4) 4.9.0

But very recently, following an update of Debian Sid, this is not possible anymore with g+±4.9 (Debian 4.9.0-5) 4.9.0 (see the segfault/stack trace below) but still possible with g+±4.8 (Debian 4.8.3-2) 4.8.3

My current working configuration…

ROOT 6.00/00 From heads/myconfigure@v6-00-00-30-g5552c56, Jun 04 2014, 00:57:05
g++-4.8 (Debian 4.8.3-2) 4.8.3
x86_64 Debian sid GNU Linux 3.14.4-1 (2014-05-13)

The segfault/stack trace…

Generating dictionary math/mathcore/src/G__MathCore.cxx...
bin/rootcling -rootbuild -f math/mathcore/src/G__MathCore.cxx -s lib/libMathCore.so -rml libMathCore.so -rmf lib/libMathCore.rootmap -m lib/libCore_rdict.pcm  -c -I/home/kulam/data/paquets/rootnewsid49 /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/TComplex.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/TMath.h  /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/TRandom.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/TRandom1.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/TRandom2.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/TRandom3.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/TStatistic.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/TVirtualFitter.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/TKDTree.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/TKDTreeBinning.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/KDTree.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/TDataPoint.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/TDataPointN.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/IParamFunction.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/IFunction.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/ParamFunctor.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/Functor.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/Minimizer.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/MinimizerOptions.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/MinimTransformFunction.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/MinimTransformVariable.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/BasicMinimizer.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/IntegratorOptions.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/IOptions.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/Integrator.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/VirtualIntegrator.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/AllIntegrationTypes.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/AdaptiveIntegratorMultiDim.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/IntegratorMultiDim.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/Factory.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/FitMethodFunction.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/GaussIntegrator.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/GaussLegendreIntegrator.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/RootFinder.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/IRootFinderMethod.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/RichardsonDerivator.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/BrentMethods.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/BrentMinimizer1D.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/BrentRootFinder.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/DistSampler.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/DistSamplerOptions.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/GoFTest.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/ChebyshevPol.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/SpecFuncMathCore.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Math/DistFuncMathCore.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Fit/DataVector.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Fit/DataRange.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Fit/DataVectorfwd.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Fit/LogLikelihoodFCN.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Fit/SparseData.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Fit/FitResult.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Fit/Fitter.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Fit/FitUtilParallel.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Fit/PoissonLikelihoodFCN.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Fit/FitUtil.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Fit/FcnAdapter.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Fit/BinData.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Fit/Chi2FCN.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Fit/BinPoint.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Fit/ParameterSettings.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Fit/DataOptions.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Fit/FitConfig.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/Fit/UnBinData.h /home/kulam/data/paquets/rootnewsid49/math/mathcore/inc/LinkDef.h

 *** Break *** segmentation violation



===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0  0x00007f00fe9d1e8c in __libc_waitpid (pid=7831, stat_loc=stat_loc
entry=0x7fff1d5874f0, options=options
entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:31
#1  0x00007f00fe95e01b in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:148
#2  0x0000000000a41481 in TUnixSystem::StackTrace() ()
#3  0x0000000000a4332c in TUnixSystem::DispatchSignals(ESignals) ()
#4  <signal handler called>
#5  0x00000000008737d7 in RootCling(int, char**, bool, bool) ()
#6  0x000000000084596a in main ()
===========================================================


The lines below might hint at the cause of the crash.
If they do not help you then please submit a bug report at
http://root.cern.ch/bugs. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
===========================================================
#5  0x00000000008737d7 in RootCling(int, char**, bool, bool) ()
#6  0x000000000084596a in main ()
===========================================================


/home/kulam/data/paquets/rootnewsid49/math/mathcore/Module.mk:130: recipe for target 'math/mathcore/src/G__MathCore.cxx' failed
make: *** [math/mathcore/src/G__MathCore.cxx] Error 139

Can someone reproduce this ?

Thanks…

Hi,

I cannot reproduce this.
Did you start the build from scratch?

Cheers,
Danilo