<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - libclang fails to build using gcc 7.1"
   href="https://bugs.llvm.org/show_bug.cgi?id=34140">34140</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>libclang fails to build using gcc 7.1
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>5.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>libclang
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>sylvestre@debian.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>klimek@google.com, llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>33849
          </td>
        </tr></table>
      <p>
        <div>
        <pre>cd
"/build/llvm-toolchain-5.0-5.0~svn310538/build-llvm/tools/clang/tools/libclang"
&& /usr/bin/cmake -E cmake_link_script CMakeFiles/libclang.dir/link.txt
--verbose=1
/usr/bin/g++-7 -fPIC -std=c++0x -gsplit-dwarf -Wl,-fuse-ld=gold -fPIC
-fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -W
-Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wno-missing-field-initializers -pedantic -Wno-long-long
-Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment
-ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual
-fno-strict-aliasing -O2 -g -DNDEBUG 
-Wl,-rpath-link,/build/llvm-toolchain-5.0-5.0~svn310538/build-llvm/./lib 
-Wl,-O3 -Wl,--gc-sections 
-Wl,--version-script,/build/llvm-toolchain-5.0-5.0~svn310538/build-llvm/tools/clang/tools/libclang/libclang.exports
-Wl,-z,relro -Wl,-z,defs -shared -Wl,-soname,libclang-5.0.so.1 -o
../../../../lib/libclang-5.0.so.1 CMakeFiles/libclang.dir/ARCMigrate.cpp.o
CMakeFiles/libclang.dir/BuildSystem.cpp.o CMakeFiles/libclang.dir/CIndex.cpp.o
CMakeFiles/libclang.dir/CIndexCXX.cpp.o
CMakeFiles/libclang.dir/CIndexCodeCompletion.cpp.o
CMakeFiles/libclang.dir/CIndexDiagnostic.cpp.o
CMakeFiles/libclang.dir/CIndexHigh.cpp.o
CMakeFiles/libclang.dir/CIndexInclusionStack.cpp.o
CMakeFiles/libclang.dir/CIndexUSRs.cpp.o CMakeFiles/libclang.dir/CIndexer.cpp.o
CMakeFiles/libclang.dir/CXComment.cpp.o CMakeFiles/libclang.dir/CXCursor.cpp.o
CMakeFiles/libclang.dir/CXIndexDataConsumer.cpp.o
CMakeFiles/libclang.dir/CXCompilationDatabase.cpp.o
CMakeFiles/libclang.dir/CXLoadedDiagnostic.cpp.o
CMakeFiles/libclang.dir/CXSourceLocation.cpp.o
CMakeFiles/libclang.dir/CXStoredDiagnostic.cpp.o
CMakeFiles/libclang.dir/CXString.cpp.o CMakeFiles/libclang.dir/CXType.cpp.o
CMakeFiles/libclang.dir/Indexing.cpp.o -Wl,-rpath,"\$ORIGIN/../lib"
../../../../lib/libclangAST.a ../../../../lib/libclangBasic.a
../../../../lib/libclangFrontend.a ../../../../lib/libclangIndex.a
../../../../lib/libclangLex.a ../../../../lib/libclangSema.a
../../../../lib/libclangTooling.a ../../../../lib/libclangARCMigrate.a
../../../../lib/libclangTidyPlugin.a
../../../../lib/libclangIncludeFixerPlugin.a -ldl
../../../../lib/libclangTidyAndroidModule.a
../../../../lib/libclangTidyBoostModule.a
../../../../lib/libclangTidyCERTModule.a
../../../../lib/libclangTidyCppCoreGuidelinesModule.a
../../../../lib/libclangTidyGoogleModule.a
../../../../lib/libclangTidyLLVMModule.a
../../../../lib/libclangTidyMiscModule.a
../../../../lib/libclangTidyModernizeModule.a
../../../../lib/libclangTidyMPIModule.a
../../../../lib/libclangTidyPerformanceModule.a
../../../../lib/libclangTidyReadabilityModule.a
../../../../lib/libclangTidyUtils.a ../../../../lib/libclangTidy.a
../../../../lib/libclangStaticAnalyzerFrontend.a
../../../../lib/libclangStaticAnalyzerCheckers.a
../../../../lib/libclangStaticAnalyzerCore.a
../../../../lib/libclangIncludeFixer.a ../../../../lib/libfindAllSymbols.a
../../../../lib/libclangTooling.a ../../../../lib/libclangFrontend.a
../../../../lib/libclangParse.a ../../../../lib/libclangSerialization.a
../../../../lib/libclangSema.a ../../../../lib/libclangEdit.a
../../../../lib/libclangAnalysis.a ../../../../lib/libclangDriver.a
../../../../lib/libclangFormat.a ../../../../lib/libclangToolingCore.a
../../../../lib/libclangRewrite.a ../../../../lib/libclangASTMatchers.a
../../../../lib/libclangAST.a ../../../../lib/libclangLex.a
../../../../lib/libclangBasic.a ../../../../lib/libLLVM-5.0.so.1 -lpthread 
CMakeFiles/libclang.dir/CIndex.cpp.o(.debug_addr+0x126c): error: undefined
reference to
'clang::ObjCInterfaceDecl::isKnownExtension(clang::ObjCCategoryDecl*)'
CMakeFiles/libclang.dir/CIndex.cpp.o(.debug_addr+0x3390): error: undefined
reference to 'clang::ObjCMethodDecl::isClassMethod() const'
CMakeFiles/libclang.dir/CIndex.cpp.o(.debug_addr+0x470c): error: undefined
reference to
'clang::ObjCInterfaceDecl::isVisibleCategory(clang::ObjCCategoryDecl*)'
CMakeFiles/libclang.dir/CIndex.cpp.o(.debug_addr+0x475c): error: undefined
reference to 'clang::ObjCMethodDecl::isInstanceMethod() const'
CMakeFiles/libclang.dir/CIndex.cpp.o(.debug_addr+0x7b14): error: undefined
reference to
'clang::ObjCInterfaceDecl::isVisibleExtension(clang::ObjCCategoryDecl*)'
CMakeFiles/libclang.dir/CIndex.cpp.o(.debug_addr+0x8df4): error: undefined
reference to 'clang::ObjCPropertyDecl::isInstanceProperty() const'
CMakeFiles/libclang.dir/CIndex.cpp.o(.debug_addr+0xb56c): error: undefined
reference to
'clang::ObjCInterfaceDecl::isKnownCategory(clang::ObjCCategoryDecl*)'
CMakeFiles/libclang.dir/CIndex.cpp.o(.debug_addr+0xc528): error: undefined
reference to 'clang::ObjCPropertyDecl::isClassProperty() const'
CMakeFiles/libclang.dir/CIndexCodeCompletion.cpp.o(.debug_addr+0x1a8): error:
undefined reference to 'clang::ObjCMethodDecl::isClassMethod() const'
CMakeFiles/libclang.dir/CIndexCodeCompletion.cpp.o(.debug_addr+0x934): error:
undefined reference to 'clang::ObjCMethodDecl::isInstanceMethod() const'
CMakeFiles/libclang.dir/CIndexCodeCompletion.cpp.o(.debug_addr+0x938): error:
undefined reference to
'clang::ObjCInterfaceDecl::isKnownExtension(clang::ObjCCategoryDecl*)'
CMakeFiles/libclang.dir/CIndexCodeCompletion.cpp.o(.debug_addr+0x11cc): error:
undefined reference to
'clang::ObjCInterfaceDecl::isVisibleCategory(clang::ObjCCategoryDecl*)'
CMakeFiles/libclang.dir/CIndexCodeCompletion.cpp.o(.debug_addr+0x19c8): error:
undefined reference to 'clang::ObjCPropertyDecl::isInstanceProperty() const'
CMakeFiles/libclang.dir/CIndexCodeCompletion.cpp.o(.debug_addr+0x2044): error:
undefined reference to
'clang::ObjCInterfaceDecl::isKnownCategory(clang::ObjCCategoryDecl*)'
CMakeFiles/libclang.dir/CIndexCodeCompletion.cpp.o(.debug_addr+0x2504): error:
undefined reference to
'clang::ObjCInterfaceDecl::isVisibleExtension(clang::ObjCCategoryDecl*)'
CMakeFiles/libclang.dir/CIndexCodeCompletion.cpp.o(.debug_addr+0x25e8): error:
undefined reference to 'clang::ObjCPropertyDecl::isClassProperty() const'
CMakeFiles/libclang.dir/CIndexHigh.cpp.o(.debug_addr+0x4c4): error: undefined
reference to
'clang::ObjCInterfaceDecl::isKnownCategory(clang::ObjCCategoryDecl*)'
CMakeFiles/libclang.dir/CIndexHigh.cpp.o(.debug_addr+0x544): error: undefined
reference to 'clang::ObjCMethodDecl::isInstanceMethod() const'
CMakeFiles/libclang.dir/CIndexHigh.cpp.o(.debug_addr+0x7c8): error: undefined
reference to
'clang::ObjCInterfaceDecl::isVisibleCategory(clang::ObjCCategoryDecl*)'
CMakeFiles/libclang.dir/CIndexHigh.cpp.o(.debug_addr+0xbbc): error: undefined
reference to
'clang::ObjCInterfaceDecl::isVisibleExtension(clang::ObjCCategoryDecl*)'
CMakeFiles/libclang.dir/CIndexHigh.cpp.o(.debug_addr+0xecc): error: undefined
reference to
'clang::ObjCInterfaceDecl::isKnownExtension(clang::ObjCCategoryDecl*)'
CMakeFiles/libclang.dir/CIndexHigh.cpp.o(.debug_addr+0xfb4): error: undefined
reference to 'clang::ObjCPropertyDecl::isClassProperty() const'
CMakeFiles/libclang.dir/CIndexHigh.cpp.o(.debug_addr+0x11f4): error: undefined
reference to 'clang::ObjCPropertyDecl::isInstanceProperty() const'
CMakeFiles/libclang.dir/CIndexHigh.cpp.o(.debug_addr+0x14d4): error: undefined
reference to 'clang::ObjCMethodDecl::isClassMethod() const'
CMakeFiles/libclang.dir/CIndexInclusionStack.cpp.o(.debug_addr+0x1ac): error:
undefined reference to
'clang::ObjCInterfaceDecl::isKnownExtension(clang::ObjCCategoryDecl*)'
CMakeFiles/libclang.dir/CIndexInclusionStack.cpp.o(.debug_addr+0x1dc): error:
undefined reference to
'clang::ObjCInterfaceDecl::isVisibleCategory(clang::ObjCCategoryDecl*)'
CMakeFiles/libclang.dir/CIndexInclusionStack.cpp.o(.debug_addr+0x1e0): error:
undefined reference to
'clang::ObjCInterfaceDecl::isVisibleExtension(clang::ObjCCategoryDecl*)'
CMakeFiles/libclang.dir/CIndexInclusionStack.cpp.o(.debug_addr+0x1f8): error:
undefined reference to 'clang::ObjCPropertyDecl::isInstanceProperty() const'
CMakeFiles/libclang.dir/CIndexInclusionStack.cpp.o(.debug_addr+0x228): error:
undefined reference to 'clang::ObjCMethodDecl::isClassMethod() const'
CMakeFiles/libclang.dir/CIndexInclusionStack.cpp.o(.debug_addr+0x244): error:
undefined reference to 'clang::ObjCPropertyDecl::isClassProperty() const'
CMakeFiles/libclang.dir/CIndexInclusionStack.cpp.o(.debug_addr+0x250): error:
undefined reference to
'clang::ObjCInterfaceDecl::isKnownCategory(clang::ObjCCategoryDecl*)'
CMakeFiles/libclang.dir/CIndexInclusionStack.cpp.o(.debug_addr+0x288): error:
undefined reference to 'clang::ObjCMethodDecl::isInstanceMethod() const'
../../../../lib/libclangTidyCERTModule.a(StaticObjectExceptionCheck.cpp.o)(.debug_addr+0x9718):
error: undefined reference to
'clang::tidy::matchers::isReferenceToConst_getInstance()'
../../../../lib/libclangTidyCERTModule.a(ThrownExceptionTypeCheck.cpp.o)(.debug_addr+0x2240):
error: undefined reference to
'clang::tidy::matchers::isReferenceToConst_getInstance()'
../../../../lib/libclangTidyCppCoreGuidelinesModule.a(NoMallocCheck.cpp.o)(.debug_addr+0x12a8):
error: undefined reference to
'clang::tidy::matchers::isReferenceToConst_getInstance()'
../../../../lib/libclangTidyCppCoreGuidelinesModule.a(ProTypeMemberInitCheck.cpp.o)(.debug_addr+0x6434):
error: undefined reference to
'clang::tidy::matchers::isReferenceToConst_getInstance()'
collect2: error: ld returned 1 exit status

On a clean Debian unstable install with</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [meta] 5.0.0 Release Blockers"
   href="https://bugs.llvm.org/show_bug.cgi?id=33849">Bug 33849</a>] [meta] 5.0.0 Release Blockers
              </li>
          </ul>
        </div>
        <br>

      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>