Bug#853525: llvm-toolchain-snapshot: ftbfs with GCC-7

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


Package: src:llvm-toolchain-snapshot
Version: 1:4.0~svn291432-1
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-snapshot_4.0~svn291432-1_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

[...]
cd "/<<PKGBUILDDIR>>/build-llvm/tools/clang/lib/ARCMigrate" && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangARCMigrate.dir/link.txt --verbose=1
/usr/bin/ar qc ../../../../lib/libclangARCMigrate.a  CMakeFiles/clangARCMigrate.dir/ARCMT.cpp.o CMakeFiles/clangARCMigrate.dir/ARCMTActions.cpp.o CMakeFiles/clangARCMigrate.dir/FileRemapper.cpp.o CMakeFiles/clangARCMigrate.dir/ObjCMT.cpp.o CMakeFiles/clangARCMigrate.dir/PlistReporter.cpp.o CMakeFiles/clangARCMigrate.dir/TransAPIUses.cpp.o CMakeFiles/clangARCMigrate.dir/TransARCAssign.cpp.o CMakeFiles/clangARCMigrate.dir/TransAutoreleasePool.cpp.o CMakeFiles/clangARCMigrate.dir/TransBlockObjCVariable.cpp.o CMakeFiles/clangARCMigrate.dir/TransEmptyStatementsAndDealloc.cpp.o CMakeFiles/clangARCMigrate.dir/TransGCAttrs.cpp.o CMakeFiles/clangARCMigrate.dir/TransGCCalls.cpp.o CMakeFiles/clangARCMigrate.dir/TransProperties.cpp.o CMakeFiles/clangARCMigrate.dir/TransProtectedScope.cpp.o CMakeFiles/clangARCMigrate.dir/TransRetainReleaseDealloc.cpp.o CMakeFiles/clangARCMigrate.dir/TransUnbridgedCasts.cpp.o CMakeFiles/clangARCMigrate.dir/TransUnusedInitDelegate.cpp.o CMakeFiles/clangARCMigrate.dir/TransZeroOutPropsInDealloc.cpp.o CMakeFiles/clangARCMigrate.dir/TransformActions.cpp.o CMakeFiles/clangARCMigrate.dir/Transforms.cpp.o
/usr/bin/ranlib ../../../../lib/libclangARCMigrate.a
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-llvm'
[ 60%] Built target clangARCMigrate
[ 60%] Linking CXX static library ../../../../../../lib/libclangTidyModernizeModule.a
cd "/<<PKGBUILDDIR>>/build-llvm/tools/clang/tools/extra/clang-tidy/modernize" && /usr/bin/cmake -P CMakeFiles/clangTidyModernizeModule.dir/cmake_clean_target.cmake
cd "/<<PKGBUILDDIR>>/build-llvm/tools/clang/tools/extra/clang-tidy/modernize" && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangTidyModernizeModule.dir/link.txt --verbose=1
/usr/bin/ar qc ../../../../../../lib/libclangTidyModernizeModule.a  CMakeFiles/clangTidyModernizeModule.dir/AvoidBindCheck.cpp.o CMakeFiles/clangTidyModernizeModule.dir/DeprecatedHeadersCheck.cpp.o CMakeFiles/clangTidyModernizeModule.dir/LoopConvertCheck.cpp.o CMakeFiles/clangTidyModernizeModule.dir/LoopConvertUtils.cpp.o CMakeFiles/clangTidyModernizeModule.dir/MakeSmartPtrCheck.cpp.o CMakeFiles/clangTidyModernizeModule.dir/MakeSharedCheck.cpp.o CMakeFiles/clangTidyModernizeModule.dir/MakeUniqueCheck.cpp.o CMakeFiles/clangTidyModernizeModule.dir/ModernizeTidyModule.cpp.o CMakeFiles/clangTidyModernizeModule.dir/PassByValueCheck.cpp.o CMakeFiles/clangTidyModernizeModule.dir/RawStringLiteralCheck.cpp.o CMakeFiles/clangTidyModernizeModule.dir/RedundantVoidArgCheck.cpp.o CMakeFiles/clangTidyModernizeModule.dir/ReplaceAutoPtrCheck.cpp.o CMakeFiles/clangTidyModernizeModule.dir/ShrinkToFitCheck.cpp.o CMakeFiles/clangTidyModernizeModule.dir/UseAutoCheck.cpp.o CMakeFiles/clangTidyModernizeModule.dir/UseBoolLiteralsCheck.cpp.o CMakeFiles/clangTidyModernizeModule.dir/UseDefaultMemberInitCheck.cpp.o CMakeFiles/clangTidyModernizeModule.dir/UseEmplaceCheck.cpp.o CMakeFiles/clangTidyModernizeModule.dir/UseEqualsDefaultCheck.cpp.o CMakeFiles/clangTidyModernizeModule.dir/UseEqualsDeleteCheck.cpp.o CMakeFiles/clangTidyModernizeModule.dir/UseNullptrCheck.cpp.o CMakeFiles/clangTidyModernizeModule.dir/UseOverrideCheck.cpp.o CMakeFiles/clangTidyModernizeModule.dir/UseTransparentFunctorsCheck.cpp.o CMakeFiles/clangTidyModernizeModule.dir/UseUsingCheck.cpp.o
/usr/bin/ranlib ../../../../../../lib/libclangTidyModernizeModule.a
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-llvm'
[ 60%] Built target clangTidyModernizeModule
/<<PKGBUILDDIR>>/tools/clang/lib/CodeGen/CodeGenModule.cpp: In member function 'void clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*)':
/<<PKGBUILDDIR>>/tools/clang/lib/CodeGen/CodeGenModule.cpp:3767:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
     if (cast<VarDecl>(D)->getDescribedVarTemplate())
     ^~
/<<PKGBUILDDIR>>/tools/clang/lib/CodeGen/CodeGenModule.cpp:3769:3: note: here
   case Decl::VarTemplateSpecialization:
   ^~~~
[ 60%] Linking CXX static library ../../../../../../lib/libclangTidyMiscModule.a
cd "/<<PKGBUILDDIR>>/build-llvm/tools/clang/tools/extra/clang-tidy/misc" && /usr/bin/cmake -P CMakeFiles/clangTidyMiscModule.dir/cmake_clean_target.cmake
cd "/<<PKGBUILDDIR>>/build-llvm/tools/clang/tools/extra/clang-tidy/misc" && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangTidyMiscModule.dir/link.txt --verbose=1
/usr/bin/ar qc ../../../../../../lib/libclangTidyMiscModule.a  CMakeFiles/clangTidyMiscModule.dir/ArgumentCommentCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/AssertSideEffectCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/MisplacedConstCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/UnconventionalAssignOperatorCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/BoolPointerImplicitConversionCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/DanglingHandleCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/DefinitionsInHeadersCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/FoldInitTypeCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/ForwardDeclarationNamespaceCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/InaccurateEraseCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/IncorrectRoundings.cpp.o CMakeFiles/clangTidyMiscModule.dir/InefficientAlgorithmCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/MacroParenthesesCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/MacroRepeatedSideEffectsCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/MiscTidyModule.cpp.o CMakeFiles/clangTidyMiscModule.dir/MisplacedWideningCastCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/MoveConstantArgumentCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/MoveConstructorInitCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/MoveForwardingReferenceCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/MultipleStatementMacroCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/NewDeleteOverloadsCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/NoexceptMoveConstructorCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/NonCopyableObjects.cpp.o CMakeFiles/clangTidyMiscModule.dir/RedundantExpressionCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/SizeofContainerCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/SizeofExpressionCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/StaticAssertCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/StringCompareCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/StringConstructorCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/StringIntegerAssignmentCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/StringLiteralWithEmbeddedNulCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/SuspiciousEnumUsageCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/SuspiciousMissingCommaCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/SuspiciousSemicolonCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/SuspiciousStringCompareCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/SwappedArgumentsCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/ThrowByValueCatchByReferenceCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/UndelegatedConstructor.cpp.o CMakeFiles/clangTidyMiscModule.dir/UniqueptrResetReleaseCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/UnusedAliasDeclsCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/UnusedParametersCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/UnusedRAIICheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/UnusedUsingDeclsCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/UseAfterMoveCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/VirtualNearMissCheck.cpp.o
/usr/bin/ranlib ../../../../../../lib/libclangTidyMiscModule.a
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-llvm'
[ 60%] Built target clangTidyMiscModule
[ 60%] Linking CXX static library ../../../../../../lib/libclangTidyReadabilityModule.a
cd "/<<PKGBUILDDIR>>/build-llvm/tools/clang/tools/extra/clang-tidy/readability" && /usr/bin/cmake -P CMakeFiles/clangTidyReadabilityModule.dir/cmake_clean_target.cmake
cd "/<<PKGBUILDDIR>>/build-llvm/tools/clang/tools/extra/clang-tidy/readability" && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangTidyReadabilityModule.dir/link.txt --verbose=1
/usr/bin/ar qc ../../../../../../lib/libclangTidyReadabilityModule.a  CMakeFiles/clangTidyReadabilityModule.dir/AvoidConstParamsInDecls.cpp.o CMakeFiles/clangTidyReadabilityModule.dir/BracesAroundStatementsCheck.cpp.o CMakeFiles/clangTidyReadabilityModule.dir/ContainerSizeEmptyCheck.cpp.o CMakeFiles/clangTidyReadabilityModule.dir/DeleteNullPointerCheck.cpp.o CMakeFiles/clangTidyReadabilityModule.dir/DeletedDefaultCheck.cpp.o CMakeFiles/clangTidyReadabilityModule.dir/ElseAfterReturnCheck.cpp.o CMakeFiles/clangTidyReadabilityModule.dir/FunctionSizeCheck.cpp.o CMakeFiles/clangTidyReadabilityModule.dir/IdentifierNamingCheck.cpp.o CMakeFiles/clangTidyReadabilityModule.dir/ImplicitBoolCastCheck.cpp.o CMakeFiles/clangTidyReadabilityModule.dir/InconsistentDeclarationParameterNameCheck.cpp.o CMakeFiles/clangTidyReadabilityModule.dir/MisplacedArrayIndexCheck.cpp.o CMakeFiles/clangTidyReadabilityModule.dir/NamedParameterCheck.cpp.o CMakeFiles/clangTidyReadabilityModule.dir/NamespaceCommentCheck.cpp.o CMakeFiles/clangTidyReadabilityModule.dir/NonConstParameterCheck.cpp.o CMakeFiles/clangTidyReadabilityModule.dir/ReadabilityTidyModule.cpp.o CMakeFiles/clangTidyReadabilityModule.dir/RedundantControlFlowCheck.cpp.o CMakeFiles/clangTidyReadabilityModule.dir/RedundantDeclarationCheck.cpp.o CMakeFiles/clangTidyReadabilityModule.dir/RedundantFunctionPtrDereferenceCheck.cpp.o CMakeFiles/clangTidyReadabilityModule.dir/RedundantMemberInitCheck.cpp.o CMakeFiles/clangTidyReadabilityModule.dir/RedundantStringCStrCheck.cpp.o CMakeFiles/clangTidyReadabilityModule.dir/RedundantSmartptrGetCheck.cpp.o CMakeFiles/clangTidyReadabilityModule.dir/RedundantStringInitCheck.cpp.o CMakeFiles/clangTidyReadabilityModule.dir/SimplifyBooleanExprCheck.cpp.o CMakeFiles/clangTidyReadabilityModule.dir/StaticDefinitionInAnonymousNamespaceCheck.cpp.o CMakeFiles/clangTidyReadabilityModule.dir/UniqueptrDeleteReleaseCheck.cpp.o
/usr/bin/ranlib ../../../../../../lib/libclangTidyReadabilityModule.a
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-llvm'
[ 60%] Built target clangTidyReadabilityModule
[ 60%] Linking CXX static library ../../../../lib/libclangCodeGen.a
cd "/<<PKGBUILDDIR>>/build-llvm/tools/clang/lib/CodeGen" && /usr/bin/cmake -P CMakeFiles/clangCodeGen.dir/cmake_clean_target.cmake
cd "/<<PKGBUILDDIR>>/build-llvm/tools/clang/lib/CodeGen" && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangCodeGen.dir/link.txt --verbose=1
/usr/bin/ar qc ../../../../lib/libclangCodeGen.a  CMakeFiles/clangCodeGen.dir/BackendUtil.cpp.o CMakeFiles/clangCodeGen.dir/CGAtomic.cpp.o CMakeFiles/clangCodeGen.dir/CGBlocks.cpp.o CMakeFiles/clangCodeGen.dir/CGBuiltin.cpp.o CMakeFiles/clangCodeGen.dir/CGCUDABuiltin.cpp.o CMakeFiles/clangCodeGen.dir/CGCUDANV.cpp.o CMakeFiles/clangCodeGen.dir/CGCUDARuntime.cpp.o CMakeFiles/clangCodeGen.dir/CGCXX.cpp.o CMakeFiles/clangCodeGen.dir/CGCXXABI.cpp.o CMakeFiles/clangCodeGen.dir/CGCall.cpp.o CMakeFiles/clangCodeGen.dir/CGClass.cpp.o CMakeFiles/clangCodeGen.dir/CGCleanup.cpp.o CMakeFiles/clangCodeGen.dir/CGCoroutine.cpp.o CMakeFiles/clangCodeGen.dir/CGDebugInfo.cpp.o CMakeFiles/clangCodeGen.dir/CGDecl.cpp.o CMakeFiles/clangCodeGen.dir/CGDeclCXX.cpp.o CMakeFiles/clangCodeGen.dir/CGException.cpp.o CMakeFiles/clangCodeGen.dir/CGExpr.cpp.o CMakeFiles/clangCodeGen.dir/CGExprAgg.cpp.o CMakeFiles/clangCodeGen.dir/CGExprCXX.cpp.o CMakeFiles/clangCodeGen.dir/CGExprComplex.cpp.o CMakeFiles/clangCodeGen.dir/CGExprConstant.cpp.o CMakeFiles/clangCodeGen.dir/CGExprScalar.cpp.o CMakeFiles/clangCodeGen.dir/CGLoopInfo.cpp.o CMakeFiles/clangCodeGen.dir/CGObjC.cpp.o CMakeFiles/clangCodeGen.dir/CGObjCGNU.cpp.o CMakeFiles/clangCodeGen.dir/CGObjCMac.cpp.o CMakeFiles/clangCodeGen.dir/CGObjCRuntime.cpp.o CMakeFiles/clangCodeGen.dir/CGOpenCLRuntime.cpp.o CMakeFiles/clangCodeGen.dir/CGOpenMPRuntime.cpp.o CMakeFiles/clangCodeGen.dir/CGOpenMPRuntimeNVPTX.cpp.o CMakeFiles/clangCodeGen.dir/CGRecordLayoutBuilder.cpp.o CMakeFiles/clangCodeGen.dir/CGStmt.cpp.o CMakeFiles/clangCodeGen.dir/CGStmtOpenMP.cpp.o CMakeFiles/clangCodeGen.dir/CGVTT.cpp.o CMakeFiles/clangCodeGen.dir/CGVTables.cpp.o CMakeFiles/clangCodeGen.dir/CodeGenABITypes.cpp.o CMakeFiles/clangCodeGen.dir/CodeGenAction.cpp.o CMakeFiles/clangCodeGen.dir/CodeGenFunction.cpp.o CMakeFiles/clangCodeGen.dir/CodeGenModule.cpp.o CMakeFiles/clangCodeGen.dir/CodeGenPGO.cpp.o CMakeFiles/clangCodeGen.dir/CodeGenTBAA.cpp.o CMakeFiles/clangCodeGen.dir/CodeGenTypes.cpp.o CMakeFiles/clangCodeGen.dir/CoverageMappingGen.cpp.o CMakeFiles/clangCodeGen.dir/ItaniumCXXABI.cpp.o CMakeFiles/clangCodeGen.dir/MicrosoftCXXABI.cpp.o CMakeFiles/clangCodeGen.dir/ModuleBuilder.cpp.o CMakeFiles/clangCodeGen.dir/ObjectFilePCHContainerOperations.cpp.o CMakeFiles/clangCodeGen.dir/SanitizerMetadata.cpp.o CMakeFiles/clangCodeGen.dir/SwiftCallingConv.cpp.o CMakeFiles/clangCodeGen.dir/TargetInfo.cpp.o CMakeFiles/clangCodeGen.dir/VarBypassDetector.cpp.o
/usr/bin/ranlib ../../../../lib/libclangCodeGen.a
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-llvm'
[ 60%] Built target clangCodeGen
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:262: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:145: 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