Bug#853524: llvm-toolchain-3.9: ftbfs with GCC-7

Matthias Klose doko at debian.org
Tue Jan 31 09:33:28 UTC 2017


Package: src:llvm-toolchain-3.9
Version: 1:3.9.1-3
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-7

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/llvm-toolchain-3.9_3.9.1-3_unstable_gcc7.log
The last lines of the build log are at the end of this report.

To build with GCC 7, either set CC=gcc-7 CXX=g++-7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-7/porting_to.html

[...]
CMakeFiles/libclang.dir/CIndex.cpp.o(.debug_addr+0x5ca0): error: undefined reference to 'clang::ObjCMethodDecl::isInstanceMethod() const'
CMakeFiles/libclang.dir/CIndex.cpp.o(.debug_addr+0x7010): error: undefined reference to 'clang::ObjCInterfaceDecl::isVisibleCategory(clang::ObjCCategoryDecl*)'
CMakeFiles/libclang.dir/CIndex.cpp.o(.debug_addr+0x79b0): error: undefined reference to 'clang::ObjCPropertyDecl::isInstanceProperty() const'
CMakeFiles/libclang.dir/CIndex.cpp.o(.debug_addr+0x11080): error: undefined reference to 'clang::ObjCPropertyDecl::isClassProperty() const'
CMakeFiles/libclang.dir/CIndex.cpp.o(.debug_addr+0x19a88): error: undefined reference to 'clang::ObjCInterfaceDecl::isKnownCategory(clang::ObjCCategoryDecl*)'
CMakeFiles/libclang.dir/CIndex.cpp.o(.debug_addr+0x1b228): error: undefined reference to 'clang::ObjCInterfaceDecl::isKnownExtension(clang::ObjCCategoryDecl*)'
CMakeFiles/libclang.dir/CIndexCodeCompletion.cpp.o(.debug_addr+0x900): error: undefined reference to 'clang::ObjCInterfaceDecl::isKnownExtension(clang::ObjCCategoryDecl*)'
CMakeFiles/libclang.dir/CIndexCodeCompletion.cpp.o(.debug_addr+0xb98): error: undefined reference to 'clang::ObjCInterfaceDecl::isVisibleExtension(clang::ObjCCategoryDecl*)'
CMakeFiles/libclang.dir/CIndexCodeCompletion.cpp.o(.debug_addr+0xda8): error: undefined reference to 'clang::ObjCMethodDecl::isClassMethod() const'
CMakeFiles/libclang.dir/CIndexCodeCompletion.cpp.o(.debug_addr+0x1028): error: undefined reference to 'clang::ObjCInterfaceDecl::isKnownCategory(clang::ObjCCategoryDecl*)'
CMakeFiles/libclang.dir/CIndexCodeCompletion.cpp.o(.debug_addr+0x1100): error: undefined reference to 'clang::ObjCInterfaceDecl::isVisibleCategory(clang::ObjCCategoryDecl*)'
CMakeFiles/libclang.dir/CIndexCodeCompletion.cpp.o(.debug_addr+0x1490): error: undefined reference to 'clang::ObjCPropertyDecl::isClassProperty() const'
CMakeFiles/libclang.dir/CIndexCodeCompletion.cpp.o(.debug_addr+0x18f0): error: undefined reference to 'clang::ObjCMethodDecl::isInstanceMethod() const'
CMakeFiles/libclang.dir/CIndexCodeCompletion.cpp.o(.debug_addr+0x28c0): error: undefined reference to 'clang::ObjCPropertyDecl::isInstanceProperty() const'
CMakeFiles/libclang.dir/CIndexHigh.cpp.o(.debug_addr+0x998): error: undefined reference to 'clang::ObjCInterfaceDecl::isVisibleCategory(clang::ObjCCategoryDecl*)'
CMakeFiles/libclang.dir/CIndexHigh.cpp.o(.debug_addr+0xb90): error: undefined reference to 'clang::ObjCPropertyDecl::isClassProperty() const'
CMakeFiles/libclang.dir/CIndexHigh.cpp.o(.debug_addr+0xf30): error: undefined reference to 'clang::ObjCInterfaceDecl::isVisibleExtension(clang::ObjCCategoryDecl*)'
CMakeFiles/libclang.dir/CIndexHigh.cpp.o(.debug_addr+0x11a8): error: undefined reference to 'clang::ObjCMethodDecl::isClassMethod() const'
CMakeFiles/libclang.dir/CIndexHigh.cpp.o(.debug_addr+0x20e0): error: undefined reference to 'clang::ObjCInterfaceDecl::isKnownExtension(clang::ObjCCategoryDecl*)'
CMakeFiles/libclang.dir/CIndexHigh.cpp.o(.debug_addr+0x2318): error: undefined reference to 'clang::ObjCPropertyDecl::isInstanceProperty() const'
CMakeFiles/libclang.dir/CIndexHigh.cpp.o(.debug_addr+0x25b0): error: undefined reference to 'clang::ObjCMethodDecl::isInstanceMethod() const'
CMakeFiles/libclang.dir/CIndexHigh.cpp.o(.debug_addr+0x2928): error: undefined reference to 'clang::ObjCInterfaceDecl::isKnownCategory(clang::ObjCCategoryDecl*)'
CMakeFiles/libclang.dir/CIndexInclusionStack.cpp.o(.debug_addr+0xd0): error: undefined reference to 'clang::ObjCMethodDecl::isClassMethod() const'
CMakeFiles/libclang.dir/CIndexInclusionStack.cpp.o(.debug_addr+0x110): error: undefined reference to 'clang::ObjCPropertyDecl::isInstanceProperty() const'
CMakeFiles/libclang.dir/CIndexInclusionStack.cpp.o(.debug_addr+0x2b8): error: undefined reference to 'clang::ObjCInterfaceDecl::isVisibleExtension(clang::ObjCCategoryDecl*)'
CMakeFiles/libclang.dir/CIndexInclusionStack.cpp.o(.debug_addr+0x340): error: undefined reference to 'clang::ObjCPropertyDecl::isClassProperty() const'
CMakeFiles/libclang.dir/CIndexInclusionStack.cpp.o(.debug_addr+0x488): error: undefined reference to 'clang::ObjCInterfaceDecl::isVisibleCategory(clang::ObjCCategoryDecl*)'
CMakeFiles/libclang.dir/CIndexInclusionStack.cpp.o(.debug_addr+0x4d0): error: undefined reference to 'clang::ObjCInterfaceDecl::isKnownExtension(clang::ObjCCategoryDecl*)'
CMakeFiles/libclang.dir/CIndexInclusionStack.cpp.o(.debug_addr+0x520): error: undefined reference to 'clang::ObjCMethodDecl::isInstanceMethod() const'
CMakeFiles/libclang.dir/CIndexInclusionStack.cpp.o(.debug_addr+0x5e0): error: undefined reference to 'clang::ObjCInterfaceDecl::isKnownCategory(clang::ObjCCategoryDecl*)'
../../../../lib/libclangTidyCERTModule.a(StaticObjectExceptionCheck.cpp.o)(.debug_addr+0x6198): error: undefined reference to 'clang::tidy::matchers::isReferenceToConst_getInstance()'
../../../../lib/libclangTidyCERTModule.a(ThrownExceptionTypeCheck.cpp.o)(.debug_addr+0x5e78): error: undefined reference to 'clang::tidy::matchers::isReferenceToConst_getInstance()'
../../../../lib/libclangTidyCppCoreGuidelinesModule.a(ProTypeMemberInitCheck.cpp.o)(.debug_addr+0x7018): error: undefined reference to 'clang::tidy::matchers::isReferenceToConst_getInstance()'
../../../../lib/libclangTidyMiscModule.a(MisplacedWideningCastCheck.cpp.o)(.debug_addr+0x5120): error: undefined reference to 'clang::tidy::matchers::isReferenceToConst_getInstance()'
collect2: error: ld returned 1 exit status
tools/clang/tools/libclang/CMakeFiles/libclang.dir/build.make:630: recipe for target 'lib/libclang-3.9.so.1' failed
make[4]: *** [lib/libclang-3.9.so.1] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-llvm'
CMakeFiles/Makefile2:32549: recipe for target 'tools/clang/tools/libclang/CMakeFiles/libclang.dir/all' failed
make[3]: *** [tools/clang/tools/libclang/CMakeFiles/libclang.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-llvm'
Makefile:152: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-llvm'
debian/rules:238: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:131: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the Pkg-llvm-team mailing list