Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-10634

Compilation error with GCC 8.3.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 6.20/02
    • Fix Version/s: None
    • Component/s: Build System
    • Labels:
      None
    • Environment:

      Centos 7.7, Easybuild 2019b toolchain (GCC/8.3.0 , CMake/3.15.3, Python/3.7.4 )

    • Development:

      Description

      When trying to compile the latest ROOT version from the tarball release root_v6.20.02.source.tar.gz  with the environment provided by Easybuild for the foss-2019b toolchain , which uses GCC 8.3.0 I'm getting the error shown on the attached file.

      CMake config options are

       

      cmake -Dxrootd=OFF -Dmysql=OFF -Dkrb5=OFF -Dodbc=OFF -Doracle=OFF -Dpgsql=OFF -Dqt=OFF  -Dunuran=ON -Dexplicitlink=ON -Dminuit2=ON -Droofit=ON
      

       

       

      Final lines are:

      /user/brussel/101/vsc10149/custom_ebs/ROOT/root-6.20.02/interpreter/llvm/src/tools/clang/include/clang/Basic/IdentifierTable.h:875:8: note: previous declaration here 
       struct isPodLike<clang::Selector>
      { static const bool value = true; }; 
       ^~~~~~~~~ 
       In file included from /user/brussel/101/vsc10149/custom_ebs/ROOT/root-6.20.02/interpreter/llvm/src/tools/clang/include/clang/Sema/AttributeList.h:22, 
       from /user/brussel/101/vsc10149/custom_ebs/ROOT/root-6.20.02/interpreter/llvm/src/tools/clang/include/clang/Sema/DeclSpec.h:32, 
       from /user/brussel/101/vsc10149/custom_ebs/ROOT/root-6.20.02/interpreter/llvm/src/tools/clang/include/clang/Sema/Sema.h:42, 
       from /user/brussel/101/vsc10149/custom_ebs/ROOT/root-6.20.02/core/dictgen/src/Scanner.cxx:17: 
       /user/brussel/101/vsc10149/custom_ebs/ROOT/root-6.20.02/interpreter/llvm/src/tools/clang/include/clang/Sema/Ownership.h:123:10: error: 'isPodLike' is not a class template 
       struct isPodLike<clang::OpaquePtr<T> > { static const bool value = true; }
      ; 
       ^~~~~~~~~ 
       /user/brussel/101/vsc10149/custom_ebs/ROOT/root-6.20.02/interpreter/llvm/src/tools/clang/include/clang/Sema/Ownership.h:123:40: error: 'llvm::isPodLike' is not a template 
       struct isPodLike<clang::OpaquePtr<T> >
      { static const bool value = true; }; 
       ^ 
       In file included from /user/brussel/101/vsc10149/custom_ebs/ROOT/root-6.20.02/interpreter/llvm/src/tools/clang/include/clang/AST/DeclarationName.h:16, 
       from /user/brussel/101/vsc10149/custom_ebs/ROOT/root-6.20.02/interpreter/llvm/src/tools/clang/include/clang/AST/DeclBase.h:18, 
       from /user/brussel/101/vsc10149/custom_ebs/ROOT/root-6.20.02/interpreter/llvm/src/tools/clang/include/clang/AST/Decl.h:18, 
       from /user/brussel/101/vsc10149/custom_ebs/ROOT/root-6.20.02/interpreter/llvm/src/tools/clang/include/clang/AST/ASTTypeTraits.h:20, 
       from /user/brussel/101/vsc10149/custom_ebs/ROOT/root-6.20.02/interpreter/llvm/src/tools/clang/include/clang/AST/ASTContext.h:18, 
       from /user/brussel/101/vsc10149/custom_ebs/ROOT/root-6.20.02/interpreter/llvm/src/tools/clang/include/clang/AST/AST.h:18, 
       from /user/brussel/101/vsc10149/custom_ebs/ROOT/root-6.20.02/core/dictgen/res/Scanner.h:20, 
       from /user/brussel/101/vsc10149/custom_ebs/ROOT/root-6.20.02/core/dictgen/src/Scanner.cxx:12: 
       /user/brussel/101/vsc10149/custom_ebs/ROOT/root-6.20.02/interpreter/llvm/src/tools/clang/include/clang/Basic/IdentifierTable.h:875:8: note: previous declaration here 
       struct isPodLike<clang::Selector> { static const bool value = true; }
      ; 
       ^~~~~~~~~ 
       make[2]: *** [core/dictgen/CMakeFiles/Dictgen.dir/src/SelectionRules.cxx.o] Error 1 
       make[2]: *** [core/metacling/src/CMakeFiles/MetaCling.dir/TCling.cxx.o] Error 1 
       make[1]: *** [core/metacling/src/CMakeFiles/MetaCling.dir/all] Error 2 
       make[1]: *** Waiting for unfinished jobs.... 
       make[2]: *** [core/dictgen/CMakeFiles/Dictgen.dir/src/Scanner.cxx.o] Error 1 
       make[2]: *** [core/dictgen/CMakeFiles/Dictgen.dir/src/rootcling_impl.cxx.o] Error 1 
       make[1]: *** [core/dictgen/CMakeFiles/Dictgen.dir/all] Error 2 
       [ 78%] Built target ClingUtils 
       - clad build command succeeded. See also /user/brussel/101/vsc10149/custom_ebs/ROOT/root-6.20.02/tt/interpreter/llvm/src/tools/cling/tools/plugins/clad/clad-prefix/src/clad-stamp/clad-build-*.log 
       [ 78%] Performing install step for 'clad' 
       - clad install command succeeded. See also /user/brussel/101/vsc10149/custom_ebs/ROOT/root-6.20.02/tt/interpreter/llvm/src/tools/cling/tools/plugins/clad/clad-prefix/src/clad-stamp/clad-install-*.log 
       [ 78%] Completed 'clad' 
       [ 78%] Built target clad 
       make: *** [all] Error 2
      
      

       

       

       

        Attachments

          Activity

            People

            Assignee:
            axel Axel Naumann
            Reporter:
            4224b6d451867f5e472e ARIEL LOZANO
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: