|
[Rivet] Rivet build fails with gcc71David Grellscheid david.grellscheid at durham.ac.ukFri May 5 19:36:45 BST 2017
Hi Dmitri, the c++11 flag is _not_ needed with gcc 7.1. Configure decides this completely correctly. However, the <functional> header now needs to be listed explicitly in RivetSTL.h. The C++ library in 7.1 has removed several implicit inclusions of <functional>, which is a known necessary fix, as you can see from https://gcc.gnu.org/gcc-7/porting_to.html The repository has this fixed already. David On 05/05/2017 13:38, Dmitri Konstantinov wrote: > Dear Rivet developers, > > In CERN we have started to build LCG software stack with gcc 7.1 (I) and > there is a problem with Rivet. > > http://cdash.cern.ch/upload/1b4440604d07f796afec84d4ceb28e3c1db321e2/rivet-2.5.3-build.log > > > Rivet configure ( m4/ax_cxx_compile_stdcxx.m4 macro) doesn't set C++11 > flag thinking that gcc 7 supports C++11 by default (II) but > > apparently not all features as it fails to compile. > > Could you please take a look? > > We see that it can be bypassed by passing c++11 with CXXFLAGS . > > Cheers, > > Dima for the GENSER > > > (I) source /cvmfs/sft.cern.ch/lcg/contrib/gcc/7/x86_64-slc6/setup.sh > > (II) > https://rivet.hepforge.org/trac/browser/m4/ax_cxx_compile_stdcxx.m4#L62 > > > _______________________________________________ > Rivet mailing list > Rivet at projects.hepforge.org > https://www.hepforge.org/lists/listinfo/rivet
More information about the Rivet mailing list |