Fork me on GitHub

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#1085 closed Bug (wontfix)

Compile Delphes 3.4.0 with GCC48 error

Reported by: Li Huang Owned by:
Priority: minor Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description (last modified by Pavel Demin)

Hi,

I can install Delphes3.3.3 well. But when I install Delphes 3.4.0, I met a problem,

[huangli@login2 Delphes-3.4.0]$ ./configure
Makefile ready
To build Delphes type
   make
[huangli@login2 Delphes-3.4.0]$ make -j16
>> Generating tmp/classes/ClassesDict.cc
>> Generating tmp/external/ExRootAnalysis/ExRootAnalysisDict.cc
>> Generating tmp/modules/ModulesDict.cc
>> Compiling classes/DelphesClasses.cc
>> Compiling classes/DelphesCylindricalFormula.cc
>> Compiling classes/DelphesFactory.cc
>> Compiling classes/DelphesFormula.cc
>> Compiling classes/DelphesHepMCReader.cc
>> Compiling classes/DelphesLHEFReader.cc
>> Compiling classes/DelphesModule.cc
>> Compiling classes/DelphesPileUpReader.cc
>> Compiling classes/DelphesPileUpWriter.cc
>> Compiling classes/DelphesSTDHEPReader.cc
>> Compiling classes/DelphesStream.cc
>> Compiling classes/DelphesTF2.cc
>> Compiling external/ExRootAnalysis/ExRootConfReader.cc
>> Compiling external/ExRootAnalysis/ExRootFilter.cc
>> Compiling external/ExRootAnalysis/ExRootProgressBar.cc
>> Compiling external/ExRootAnalysis/ExRootResult.cc
>> Compiling external/ExRootAnalysis/ExRootTask.cc
In file included from classes/DelphesClasses.cc:30:0:
./classes/DelphesClasses.h: In constructor ‘Candidate::Candidate()’:
./classes/DelphesClasses.h:619:12: warning: ‘Candidate::GenSumPT2’ will be initialized after [-Wreorder]
   Double_t GenSumPT2;
            ^
./classes/DelphesClasses.h:545:10: warning:   ‘UInt_t Candidate::Flavor’ [-Wreorder]
   UInt_t Flavor;
          ^
classes/DelphesClasses.cc:120:1: warning:   when initialized here [-Wreorder]
 Candidate::Candidate() :
 ^
In file included from classes/DelphesClasses.cc:30:0:
./classes/DelphesClasses.h:562:55: warning: ‘Candidate::PositionError’ will be initialized after [-Wreorder]
   TLorentzVector Momentum, Position, InitialPosition, PositionError, Area;
                                                       ^
./classes/DelphesClasses.h:562:38: warning:   ‘TLorentzVector Candidate::InitialPosition’ [-Wreorder]
   TLorentzVector Momentum, Position, InitialPosition, PositionError, Area;
                                      ^
classes/DelphesClasses.cc:120:1: warning:   when initialized here [-Wreorder]
 Candidate::Candidate() :
 ^
>> Compiling external/ExRootAnalysis/ExRootTreeBranch.cc
>> Compiling external/ExRootAnalysis/ExRootTreeReader.cc
>> Compiling external/ExRootAnalysis/ExRootTreeWriter.cc
>> Compiling external/ExRootAnalysis/ExRootUtilities.cc
>> Compiling external/Hector/H_AbstractBeamLine.cc
>> Compiling external/Hector/H_Aperture.cc
>> Compiling external/Hector/H_Beam.cc
>> Compiling external/Hector/H_BeamLine.cc
>> Compiling external/Hector/H_BeamLineParser.cc
>> Compiling external/Hector/H_BeamParticle.cc
>> Compiling external/Hector/H_CircularAperture.cc
>> Compiling external/Hector/H_Dipole.cc
>> Compiling external/Hector/H_Drift.cc
>> Compiling external/Hector/H_EllipticAperture.cc
>> Compiling external/Hector/H_HorizontalKicker.cc
>> Compiling external/Hector/H_HorizontalQuadrupole.cc
>> Compiling external/Hector/H_Kicker.cc
>> Compiling external/Hector/H_Marker.cc
>> Compiling external/Hector/H_OpticalElement.cc
>> Compiling external/Hector/H_Parameters.cc
external/Hector/H_BeamParticle.cc: In member function ‘void H_BeamParticle::computePath(const H_AbstractBeamLine*, bool)’:
external/Hector/H_BeamParticle.cc:483:25: warning: variable ‘temp_s’ set but not used [-Wunused-but-set-variable]
  double temp_x, temp_y, temp_s, temp_tx, temp_ty;
                         ^
external/Hector/H_BeamParticle.cc: In member function ‘void H_BeamParticle::computePath(const H_AbstractBeamLine&, bool)’:
external/Hector/H_BeamParticle.cc:533:25: warning: variable ‘temp_s’ set but not used [-Wunused-but-set-variable]
  double temp_x, temp_y, temp_s, temp_tx, temp_ty;
                         ^
>> Compiling external/Hector/H_Quadrupole.cc
>> Compiling external/Hector/H_RecRPObject.cc
>> Compiling external/Hector/H_RectEllipticAperture.cc
>> Compiling external/Hector/H_RectangularAperture.cc
>> Compiling external/Hector/H_RectangularCollimator.cc
>> Compiling external/Hector/H_RectangularDipole.cc
>> Compiling external/Hector/H_RomanPot.cc
>> Compiling external/Hector/H_SectorDipole.cc
>> Compiling external/Hector/H_TransportMatrices.cc
>> Compiling external/Hector/H_VerticalKicker.cc
>> Compiling external/Hector/H_VerticalQuadrupole.cc
>> Compiling modules/AngularSmearing.cc
>> Compiling modules/BTagging.cc
>> Compiling modules/BeamSpotFilter.cc
>> Compiling modules/Calorimeter.cc
>> Compiling modules/Cloner.cc
>> Compiling modules/ConstituentFilter.cc
>> Compiling modules/Delphes.cc
>> Compiling modules/Efficiency.cc
>> Compiling modules/EnergyScale.cc
>> Compiling modules/EnergySmearing.cc
>> Compiling modules/ExampleModule.cc
>> Compiling modules/Hector.cc
>> Compiling modules/IdentificationMap.cc
>> Compiling modules/ImpactParameterSmearing.cc
>> Compiling modules/Isolation.cc
>> Compiling modules/JetFakeParticle.cc
>> Compiling modules/JetFlavorAssociation.cc
>> Compiling modules/JetPileUpSubtractor.cc
>> Compiling modules/LeptonDressing.cc
>> Compiling modules/Merger.cc
>> Compiling modules/MomentumSmearing.cc
>> Compiling modules/OldCalorimeter.cc
>> Compiling modules/ParticlePropagator.cc
>> Compiling modules/PdgCodeFilter.cc
>> Compiling modules/PhotonConversions.cc
>> Compiling modules/PileUpJetID.cc
>> Compiling modules/PileUpMerger.cc
>> Compiling modules/RecoPuFilter.cc
>> Compiling modules/SimpleCalorimeter.cc
>> Compiling modules/StatusPidFilter.cc
>> Compiling modules/TaggingParticlesSkimmer.cc
>> Compiling modules/TauTagging.cc
>> Compiling modules/TimeSmearing.cc
>> Compiling modules/TrackCountingBTagging.cc
>> Compiling modules/TrackCountingTauTagging.cc
>> Compiling modules/TrackPileUpSubtractor.cc
>> Compiling modules/TrackSmearing.cc
modules/OldCalorimeter.cc: In member function ‘virtual void OldCalorimeter::Init()’:
modules/OldCalorimeter.cc:91:51: warning: variable ‘sizeFractions’ set but not used [-Wunused-but-set-variable]
   Long_t i, j, k, size, sizeEtaBins, sizePhiBins, sizeFractions;
                                                   ^
modules/ParticlePropagator.cc: In member function ‘virtual void ParticlePropagator::Process()’:
modules/ParticlePropagator.cc:134:22: warning: variable ‘bsz’ set but not used [-Wunused-but-set-variable]
   Double_t bsx, bsy, bsz;
                      ^
modules/PileUpJetID.cc: In member function ‘virtual void PileUpJetID::Process()’:
modules/PileUpJetID.cc:166:61: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0 ; i < constituent->ECalEnergyTimePairs.size() ; i++) {
                                                             ^
modules/RecoPuFilter.cc: In member function ‘virtual void RecoPuFilter::Init()’:
modules/RecoPuFilter.cc:72:10: warning: unused variable ‘i’ [-Wunused-variable]
   Size_t i, size;
          ^
modules/RecoPuFilter.cc:72:13: warning: unused variable ‘size’ [-Wunused-variable]
   Size_t i, size;
             ^
modules/RecoPuFilter.cc: In member function ‘virtual void RecoPuFilter::Process()’:
modules/RecoPuFilter.cc:94:9: warning: unused variable ‘pdgCode’ [-Wunused-variable]
   Int_t pdgCode;
         ^
modules/RecoPuFilter.cc:95:10: warning: unused variable ‘pass’ [-Wunused-variable]
   Bool_t pass;
          ^
modules/RecoPuFilter.cc:96:12: warning: unused variable ‘pt’ [-Wunused-variable]
   Double_t pt;
            ^
>> Compiling modules/TreeWriter.cc
>> Compiling modules/UniqueObjectFinder.cc
>> Compiling modules/VertexFinder.cc
>> Compiling modules/VertexFinderDA4D.cc
>> Compiling modules/VertexSorter.cc
>> Compiling modules/Weighter.cc
In file included from modules/TaggingParticlesSkimmer.cc:30:0:
./modules/TaggingParticlesSkimmer.h: In constructor ‘TaggingParticlesSkimmer::TaggingParticlesSkimmer()’:
./modules/TaggingParticlesSkimmer.h:61:14: warning: ‘TaggingParticlesSkimmer::fItPartonInputArray’ will be initialized after [-Wreorder]
   TIterator *fItPartonInputArray; //!
              ^
./modules/TaggingParticlesSkimmer.h:59:17: warning:   ‘ExRootFilter* TaggingParticlesSkimmer::fFilter’ [-Wreorder]
   ExRootFilter *fFilter;
                 ^
modules/TaggingParticlesSkimmer.cc:59:1: warning:   when initialized here [-Wreorder]
 TaggingParticlesSkimmer::TaggingParticlesSkimmer() :
 ^
In file included from modules/TaggingParticlesSkimmer.cc:30:0:
./modules/TaggingParticlesSkimmer.h:59:17: warning: ‘TaggingParticlesSkimmer::fFilter’ will be initialized after [-Wreorder]
   ExRootFilter *fFilter;
                 ^
./modules/TaggingParticlesSkimmer.h:57:31: warning:   ‘TauTaggingPartonClassifier* TaggingParticlesSkimmer::fClassifier’ [-Wreorder]
   TauTaggingPartonClassifier *fClassifier; //!
                               ^
modules/TaggingParticlesSkimmer.cc:59:1: warning:   when initialized here [-Wreorder]
 TaggingParticlesSkimmer::TaggingParticlesSkimmer() :
 ^
>> Compiling external/tcl/panic.c
>> Compiling external/tcl/tclAlloc.c
>> Compiling external/tcl/tclAsync.c
>> Compiling external/tcl/tclBasic.c
>> Compiling external/tcl/tclCkalloc.c
>> Compiling external/tcl/tclCmdAH.c
>> Compiling external/tcl/tclCmdIL.c
external/tcl/tclCkalloc.c: In function ‘Tcl_Free’:
external/tcl/tclCkalloc.c:765:9: warning: implicit declaration of function ‘TclpFree’ [-Wimplicit-function-declaration]
         TclpFree(ptr);
         ^
>> Compiling external/tcl/tclCmdMZ.c
>> Compiling external/tcl/tclCompExpr.c
modules/TrackCountingTauTagging.cc: In member function ‘virtual void TrackCountingTauTagging::Process()’:
modules/TrackCountingTauTagging.cc:211:9: warning: variable ‘pdgCode’ set but not used [-Wunused-but-set-variable]
   Int_t pdgCode, charge, i, identifier;
         ^
>> Compiling external/tcl/tclCompile.c
external/tcl/tclCompile.c: In function ‘TclPrintByteCodeObj’:
external/tcl/tclCompile.c:492:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
      (unsigned int) codePtr, codePtr->refCount,
      ^
external/tcl/tclCompile.c:493:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
      codePtr->compileEpoch, (unsigned int) codePtr->iPtr,
                             ^
external/tcl/tclCompile.c:507:6: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
      codePtr->numCmdLocBytes);
      ^
external/tcl/tclCompile.c:507:6: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘long unsigned int’ [-Wformat=]
external/tcl/tclCompile.c:507:6: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 8 has type ‘long unsigned int’ [-Wformat=]
external/tcl/tclCompile.c:520:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   (unsigned int) procPtr, procPtr->refCount, procPtr->numArgs,
   ^
external/tcl/tclCompile.c: In function ‘TclObjIndexForString’:
external/tcl/tclCompile.c:7016:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
      objIndex = (int) Tcl_GetHashValue(hPtr);
                 ^
In file included from external/tcl/tclInt.h:33:0,
                 from external/tcl/tclCompile.c:17:
external/tcl/tcl.h:865:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 #define Tcl_SetHashValue(h, value) ((h)->clientData = (ClientData) (value))
                                                       ^
external/tcl/tclCompile.c:7057:2: note: in expansion of macro ‘Tcl_SetHashValue’
  Tcl_SetHashValue(hPtr, objIndex);
  ^
modules/TreeWriter.cc: In member function ‘void TreeWriter::ProcessTracks(ExRootTreeBranch*, TObjArray*)’:
modules/TreeWriter.cc:319:38: warning: variable ‘rapidity’ set but not used [-Wunused-but-set-variable]
   Double_t pt, signz, cosTheta, eta, rapidity, p, ctgTheta, phi;
                                      ^
modules/TreeWriter.cc:319:48: warning: variable ‘p’ set but not used [-Wunused-but-set-variable]
   Double_t pt, signz, cosTheta, eta, rapidity, p, ctgTheta, phi;
                                                ^
modules/TreeWriter.cc: In member function ‘void TreeWriter::ProcessTowers(ExRootTreeBranch*, TObjArray*)’:
modules/TreeWriter.cc:405:39: warning: variable ‘rapidity’ set but not used [-Wunused-but-set-variable]
   Double_t pt, signPz, cosTheta, eta, rapidity;
                                       ^
modules/TreeWriter.cc: In member function ‘void TreeWriter::ProcessPhotons(ExRootTreeBranch*, TObjArray*)’:
modules/TreeWriter.cc:451:39: warning: variable ‘rapidity’ set but not used [-Wunused-but-set-variable]
   Double_t pt, signPz, cosTheta, eta, rapidity;
                                       ^
modules/TreeWriter.cc: In member function ‘void TreeWriter::ProcessElectrons(ExRootTreeBranch*, TObjArray*)’:
modules/TreeWriter.cc:502:39: warning: variable ‘rapidity’ set but not used [-Wunused-but-set-variable]
   Double_t pt, signPz, cosTheta, eta, rapidity;
                                       ^
modules/TreeWriter.cc: In member function ‘void TreeWriter::ProcessMuons(ExRootTreeBranch*, TObjArray*)’:
modules/TreeWriter.cc:553:39: warning: variable ‘rapidity’ set but not used [-Wunused-but-set-variable]
   Double_t pt, signPz, cosTheta, eta, rapidity;
                                       ^
modules/TreeWriter.cc: In member function ‘void TreeWriter::ProcessJets(ExRootTreeBranch*, TObjArray*)’:
modules/TreeWriter.cc:605:39: warning: variable ‘rapidity’ set but not used [-Wunused-but-set-variable]
   Double_t pt, signPz, cosTheta, eta, rapidity;
                                       ^
>> Compiling external/tcl/tclExecute.c
>> Compiling external/tcl/tclGet.c
modules/VertexFinderDA4D.cc: In member function ‘std::vector<Candidate*> VertexFinderDA4D::vertices()’:
modules/VertexFinderDA4D.cc:349:22: warning: variable ‘l’ set but not used [-Wunused-but-set-variable]
   Double_t z, dz, t, l, dt, d0, d0error;
                      ^
modules/VertexFinderDA4D.cc: In function ‘void dump(double, const std::vector<vertex_t>&, const std::vector<track_t>&)’:
modules/VertexFinderDA4D.cc:623:12: warning: unused variable ‘tz’ [-Wunused-variable]
     double tz= tks[i].z;
            ^
modules/VertexFinderDA4D.cc:624:12: warning: unused variable ‘tt’ [-Wunused-variable]
     double tt= tks[i].t;
            ^
In file included from external/tcl/tclExecute.c:15:0:
external/tcl/tclExecute.c: In function ‘TclExecuteByteCode’:
external/tcl/tclInt.h:1804:21: warning: the address of ‘length’ will always evaluate as ‘true’ [-Waddress]
         ((lengthPtr)? \
                     ^
external/tcl/tclExecute.c:750:15: note: in expansion of macro ‘TclGetStringFromObj’
       bytes = TclGetStringFromObj(valuePtr, &length);
               ^
external/tcl/tclInt.h:1804:21: warning: the address of ‘length’ will always evaluate as ‘true’ [-Waddress]
         ((lengthPtr)? \
                     ^
external/tcl/tclExecute.c:768:12: note: in expansion of macro ‘TclGetStringFromObj’
    bytes = TclGetStringFromObj(valuePtr, &length);
            ^
external/tcl/tclInt.h:1804:21: warning: the address of ‘length’ will always evaluate as ‘true’ [-Waddress]
         ((lengthPtr)? \
                     ^
external/tcl/tclExecute.c:934:12: note: in expansion of macro ‘TclGetStringFromObj’
    bytes = TclGetStringFromObj(objv[i], &length);
            ^
external/tcl/tclInt.h:1804:21: warning: the address of ‘length’ will always evaluate as ‘true’ [-Waddress]
         ((lengthPtr)? \
                     ^
external/tcl/tclExecute.c:1916:12: note: in expansion of macro ‘TclGetStringFromObj’
       s1 = TclGetStringFromObj(valuePtr, &length);
            ^
external/tcl/tclInt.h:1804:21: warning: the address of ‘length’ will always evaluate as ‘true’ [-Waddress]
         ((lengthPtr)? \
                     ^
external/tcl/tclExecute.c:1917:12: note: in expansion of macro ‘TclGetStringFromObj’
       s2 = TclGetStringFromObj(value2Ptr, &length);
            ^
external/tcl/tclExecute.c: In function ‘PrintByteCodeInfo’:
external/tcl/tclExecute.c:3009:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
      (unsigned int) codePtr, codePtr->refCount,
      ^
external/tcl/tclExecute.c:3010:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
      codePtr->compileEpoch, (unsigned int) codePtr->iPtr,
                             ^
external/tcl/tclExecute.c:3026:6: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
      codePtr->numCmdLocBytes);
      ^
external/tcl/tclExecute.c:3026:6: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘long unsigned int’ [-Wformat=]
external/tcl/tclExecute.c:3026:6: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 8 has type ‘long unsigned int’ [-Wformat=]
external/tcl/tclExecute.c:3031:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   (unsigned int) procPtr, procPtr->refCount,
   ^
>> Compiling external/tcl/tclHash.c
>> Compiling external/tcl/tclIndexObj.c
>> Compiling external/tcl/tclLink.c
external/tcl/tclIndexObj.c: In function ‘Tcl_GetIndexFromObj’:
external/tcl/tclIndexObj.c:89:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  *indexPtr = (int) objPtr->internalRep.twoPtrValue.ptr2;
              ^
external/tcl/tclIndexObj.c:131:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     objPtr->internalRep.twoPtrValue.ptr2 = (VOID *) index;
                                            ^
external/tcl/tclIndexObj.c: In function ‘Tcl_WrongNumArgs’:
external/tcl/tclIndexObj.c:293:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
       tablePtr[(int) objv[i]->internalRep.twoPtrValue.ptr2],
                ^
>> Compiling external/tcl/tclListObj.c
modules/TrackSmearing.cc: In member function ‘virtual void TrackSmearing::Process()’:
modules/TrackSmearing.cc:153:6: internal compiler error: Illegal instruction
 void TrackSmearing::Process()
      ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
>> Compiling external/tcl/tclNamesp.c
>> Compiling external/tcl/tclObj.c
make: *** [tmp/modules/TrackSmearing.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from external/tcl/tclListObj.c:16:0:
external/tcl/tclListObj.c: In function ‘SetListFromAny’:
>> Compiling external/tcl/tclParse.c
external/tcl/tclInt.h:1804:21: warning: the address of ‘length’ will always evaluate as ‘true’ [-Waddress]
         ((lengthPtr)? \
                     ^
external/tcl/tclListObj.c:892:14: note: in expansion of macro ‘TclGetStringFromObj’
     string = TclGetStringFromObj(objPtr, &length);
              ^
external/tcl/tclObj.c: In function ‘TclAllocateFreeObjects’:
external/tcl/tclObj.c:561:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((int)(&(tmp[1])) - (int)(&(tmp[0])));
   ^
external/tcl/tclObj.c:561:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((int)(&(tmp[1])) - (int)(&(tmp[0])));
                      ^
In file included from external/tcl/tclObj.c:15:0:
external/tcl/tclObj.c: In function ‘SetBooleanFromAny’:
external/tcl/tclInt.h:1804:21: warning: the address of ‘length’ will always evaluate as ‘true’ [-Waddress]
         ((lengthPtr)? \
                     ^
external/tcl/tclObj.c:1023:14: note: in expansion of macro ‘TclGetStringFromObj’
     string = TclGetStringFromObj(objPtr, &length);
              ^
external/tcl/tclObj.c: In function ‘SetDoubleFromAny’:
external/tcl/tclInt.h:1804:21: warning: the address of ‘length’ will always evaluate as ‘true’ [-Waddress]
         ((lengthPtr)? \
                     ^
external/tcl/tclObj.c:1401:14: note: in expansion of macro ‘TclGetStringFromObj’
     string = TclGetStringFromObj(objPtr, &length);
              ^
external/tcl/tclObj.c: In function ‘SetIntFromAny’:
external/tcl/tclInt.h:1804:21: warning: the address of ‘length’ will always evaluate as ‘true’ [-Waddress]
         ((lengthPtr)? \
                     ^
external/tcl/tclObj.c:1709:14: note: in expansion of macro ‘TclGetStringFromObj’
     string = TclGetStringFromObj(objPtr, &length);
              ^
modules/VertexFinder.cc:86:15: warning: ‘Bool_t secondAscending(std::pair<unsigned int, double>, std::pair<unsigned int, double>)’ defined but not used [-Wunused-function]
 static Bool_t secondAscending (pair<UInt_t, Double_t> pair0, pair<UInt_t, Double_t> pair1)
               ^
[huangli@login2 Delphes-3.4.0]$

And my gcc is:

[huangli@login2 Delphes-3.4.0]$ gcc -v
Reading specs from /home/huangli/anaconda2/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.8.5/specs
COLLECT_GCC=/home/huangli/anaconda2/bin/gcc
COLLECT_LTO_WRAPPER=/home/huangli/anaconda2/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.8.5/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ./configure --prefix=/home/ray/mc-x64-2.7/conda-bld/gcc_1479223211463/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold --with-gxx-include-dir=/home/ray/mc-x64-2.7/conda-bld/gcc_1479223211463/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/gcc/include/c++ --bindir=/home/ray/mc-x64-2.7/conda-bld/gcc_1479223211463/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/bin --datarootdir=/home/ray/mc-x64-2.7/conda-bld/gcc_1479223211463/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/share --libdir=/home/ray/mc-x64-2.7/conda-bld/gcc_1479223211463/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib --with-gmp=/home/ray/mc-x64-2.7/conda-bld/gcc_1479223211463/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold --with-mpfr=/home/ray/mc-x64-2.7/conda-bld/gcc_1479223211463/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold --with-mpc=/home/ray/mc-x64-2.7/conda-bld/gcc_1479223211463/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold --with-isl=/home/ray/mc-x64-2.7/conda-bld/gcc_1479223211463/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold --with-cloog=/home/ray/mc-x64-2.7/conda-bld/gcc_1479223211463/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold --enable-checking=release --with-tune=generic --disable-multilib
Thread model: posix
gcc version 4.8.5 (GCC)

Is there any thing I can do to solve this error?

Best,
Li

Change History (7)

comment:1 by Pavel Demin, 8 years ago

Description: modified (diff)

comment:2 by Pavel Demin, 8 years ago

Description: modified (diff)

comment:3 by Pavel Demin, 8 years ago

If I'm not mistaken, here is the only error message:

modules/TrackSmearing.cc: In member function ‘virtual void TrackSmearing::Process()’:
modules/TrackSmearing.cc:153:6: internal compiler error: Illegal instruction
 void TrackSmearing::Process()
      ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Since the error message clearly indicates a problem in the compiler, I can only suggest to try a different GCC version.

comment:4 by Pavel Demin, 8 years ago

Resolution: wontfix
Status: newclosed

I see that you had a very similar problem building ROOT:
https://root-forum.cern.ch/t/install-root6-internal-compiler-error/23809

I'd say that it confirms that the problem is with the compiler.

comment:5 by Li Huang, 8 years ago

Hi,

I am weird if the problem is with the compiler, why can I compile Delphes3.3.3? Is there any update may effect it?

Best,
Li

comment:6 by Pavel Demin, 8 years ago

I am weird if the problem is with the compiler

The error message clearly says that it is the compiler error:

modules/TrackSmearing.cc:153:6: internal compiler error: Illegal instruction

This compiler shows similar problem building ROOT:
https://root-forum.cern.ch/t/install-root6-internal-compiler-error/23809

Two more similar problems are reported at the following links:
https://github.com/conda/conda-build/issues/1424
https://github.com/bioconda/bioconda-recipes/issues/2475

For me it's enough evidence that the problem is with the compiler.

comment:7 by Li Huang, 8 years ago

Hi,

Thanks for your patient answer!

Best,
Li

Note: See TracTickets for help on using tickets.