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

Error building XrdSysPthread with GCC 6.1

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • High
    • Resolution: Fixed
    • 6.06/04
    • 6.08/00, 6.06/06
    • None
    • None
    • Linux

    Description

      See https://root.cern.ch/phpBB3/viewtopic.php?f=3&t=21612

      [I] No git repository info found. Trying to interpret VERSION_INFO
      [I] src/XrdVersion.hh successfully generated
      In file included from /home/me/bin/root-6.06.04.build.gcc610/XROOTD-prefix/src/XROOTD/src/XrdSys/XrdSysDNS.cc:48:0:
      /home/me/bin/root-6.06.04.build.gcc610/XROOTD-prefix/src/XROOTD/src/./XrdSys/XrdSysPthread.hh: In destructor '┬┐XrdSysSemaphore::~XrdSysSemaphore()':
      /home/me/bin/root-6.06.04.build.gcc610/XROOTD-prefix/src/XROOTD/src/./XrdSys/XrdSysPthread.hh:356:31: error: throw will always call terminate() [-Werror=terminate]
      {throw "sem_destroy() failed";}
      ^~~~~~~~~~~~~~~~~~~~~~
      /home/me/bin/root-6.06.04.build.gcc610/XROOTD-prefix/src/XROOTD/src/./XrdSys/XrdSysPthread.hh:356:31: note: in C++11 destructors default to noexcept
      cc1plus: all warnings being treated as errors
      gmake[6]: *** [src/CMakeFiles/XrdUtils.dir/XrdSys/XrdSysDNS.cc.o] Error 1
      gmake[5]: *** [src/CMakeFiles/XrdUtils.dir/all] Error 2
      gmake[4]: *** [all] Error 2

      Attachments

        Activity

          People

            mato Pere Mato Vila
            axel Axel Naumann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Actual End: