Date: Sun, 7 Jul 2019 22:21:21 -0400 From: Mike Tancsa <mike@sentex.net> To: FreeBSD-STABLE Mailing List <freebsd-stable@FreeBSD.org> Subject: RELENG_10 to RELENG11 buildworld no possible ? Message-ID: <20b32c01-03a7-a376-a90f-7f5b8296181a@sentex.net>
next in thread | raw e-mail | index | archive | help
Hi, I am trying to source update a RELENG_10 (stable) image to RELENG_11, but buildworld breaks. On another box, I can go to 11.2R, but dies with RELENG_11. I am guessing its not possible to build the latest clang from 10 thats in the latest RELENG11 version ? ===> lib/clang/libclang (all) c++ -O2 -pipe -I/usr/obj/usr/src/tmp/usr/src/lib/clang/libclang -I/usr/obj/usr/src/tmp/usr/src/lib/clang/libllvm -I/usr/src/contrib/llvm/tools/clang/lib/Basic -I/usr/src/contrib/llvm/tools/clang/lib/Driver -I/usr/src/contrib/llvm/tools/clang/include -I/usr/src/lib/clang/include -I/usr/src/contrib/llvm/include -DLLVM_BUILD_GLOBAL_ISEL -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DNDEBUG -DLLVM_DEFAULT_TARGET_TRIPLE=\"i386-unknown-freebsd11.3\" -DLLVM_HOST_TRIPLE=\"i386-unknown-freebsd11.3\" -DDEFAULT_SYSROOT=\"/usr/obj/usr/src/tmp\" -DLLVM_TARGET_ENABLE_AARCH64 -DLLVM_TARGET_ENABLE_ARM -DLLVM_TARGET_ENABLE_MIPS -DLLVM_TARGET_ENABLE_POWERPC -DLLVM_TARGET_ENABLE_SPARC -DLLVM_TARGET_ENABLE_X86 -DLLVM_NATIVE_ASMPARSER=LLVMInitializeX86AsmParser -DLLVM_NATIVE_ASMPRINTER=LLVMInitializeX86AsmPrinter -DLLVM_NATIVE_DISASSEMBLER=LLVMInitializeX86Disassembler -DLLVM_NATIVE_TARGET=LLVMInitializeX86Target -DLLVM_NATIVE_TARGETINFO=LLVMInitializeX86TargetInfo -DLLVM_NATIVE_TARGETMC=LLVMInitializeX86TargetMC -ffunction-sections -fdata-sections -MD -MF.depend.AST_APValue.o -MTAST/APValue.o -Qunused-arguments -I/usr/obj/usr/src/tmp/legacy/usr/include -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions -c /usr/src/contrib/llvm/tools/clang/lib/AST/APValue.cpp -o AST/APValue.o In file included from /usr/src/contrib/llvm/tools/clang/lib/AST/APValue.cpp:15: In file included from /usr/src/contrib/llvm/tools/clang/include/clang/AST/ASTContext.h:19: In file included from /usr/src/contrib/llvm/tools/clang/include/clang/AST/ASTTypeTraits.h:20: In file included from /usr/src/contrib/llvm/tools/clang/include/clang/AST/Decl.h:19: In file included from /usr/src/contrib/llvm/tools/clang/include/clang/AST/DeclBase.h:18: In file included from /usr/src/contrib/llvm/tools/clang/include/clang/AST/DeclarationName.h:17: /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:1724:5: error: anonymous union can only contain non-static data members static_assert(sizeof(TypeBitfields) <= 8, ^ /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:1726:5: error: anonymous union can only contain non-static data members static_assert(sizeof(ArrayTypeBitfields) <= 8, ^ /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:1728:5: error: anonymous union can only contain non-static data members static_assert(sizeof(AttributedTypeBitfields) <= 8, ^ /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:1730:5: error: anonymous union can only contain non-static data members static_assert(sizeof(AutoTypeBitfields) <= 8, ^ /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:1732:5: error: anonymous union can only contain non-static data members static_assert(sizeof(BuiltinTypeBitfields) <= 8, ^ /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:1734:5: error: anonymous union can only contain non-static data members static_assert(sizeof(FunctionTypeBitfields) <= 8, ^ /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:1736:5: error: anonymous union can only contain non-static data members static_assert(sizeof(ObjCObjectTypeBitfields) <= 8, ^ /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:1738:5: error: anonymous union can only contain non-static data members static_assert(sizeof(ReferenceTypeBitfields) <= 8, ^ /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:1740:5: error: anonymous union can only contain non-static data members static_assert(sizeof(TypeWithKeywordBitfields) <= 8, ^ /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:1742:5: error: anonymous union can only contain non-static data members static_assert(sizeof(ElaboratedTypeBitfields) <= 8, ^ /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:1744:5: error: anonymous union can only contain non-static data members static_assert(sizeof(VectorTypeBitfields) <= 8, ^ /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:1746:5: error: anonymous union can only contain non-static data members static_assert(sizeof(SubstTemplateTypeParmPackTypeBitfields) <= 8, ^ /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:1749:5: error: anonymous union can only contain non-static data members static_assert(sizeof(TemplateSpecializationTypeBitfields) <= 8, ^ /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:1752:5: error: anonymous union can only contain non-static data members static_assert(sizeof(DependentTemplateSpecializationTypeBitfields) <= 8, ^ /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:1755:5: error: anonymous union can only contain non-static data members static_assert(sizeof(PackExpansionTypeBitfields) <= 8, ^ /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:2429:37: error: no matching constructor for initialization of 'clang::QualType' QualType desugar() const { return QualType(this, 0); } ^ ~~~~~~~ /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:662:3: note: candidate constructor not viable: no known conversion from 'const clang::BuiltinType *' to 'const clang::Type *' for 1st argument QualType(const Type *Ptr, unsigned Quals) : Value(Ptr, Quals) {} ^ /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:663:3: note: candidate constructor not viable: no known conversion from 'const clang::BuiltinType *' to 'const clang::ExtQuals *' for 1st argument QualType(const ExtQuals *Ptr, unsigned Quals) : Value(Ptr, Quals) {} ^ /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:661:3: note: candidate constructor not viable: requires 0 arguments, but 2 were provided QualType() = default; ^ /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:638:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided class QualType { ^ /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:638:7: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:2493:37: error: no matching constructor for initialization of 'clang::QualType' QualType desugar() const { return QualType(this, 0); } ^ ~~~~~~~ /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:662:3: note: candidate constructor not viable: no known conversion from 'const clang::ComplexType *' to 'const clang::Type *' for 1st argument QualType(const Type *Ptr, unsigned Quals) : Value(Ptr, Quals) {} ^ /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:663:3: note: candidate constructor not viable: no known conversion from 'const clang::ComplexType *' to 'const clang::ExtQuals *' for 1st argument QualType(const ExtQuals *Ptr, unsigned Quals) : Value(Ptr, Quals) {} ^ /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:661:3: note: candidate constructor not viable: requires 0 arguments, but 2 were provided QualType() = default; ^ /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:638:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided class QualType { ^ /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:638:7: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:2569:37: error: no matching constructor for initialization of 'clang::QualType' QualType desugar() const { return QualType(this, 0); } ^ ~~~~~~~ /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:662:3: note: candidate constructor not viable: no known conversion from 'const clang::PointerType *' to 'const clang::Type *' for 1st argument QualType(const Type *Ptr, unsigned Quals) : Value(Ptr, Quals) {} ^ /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:663:3: note: candidate constructor not viable: no known conversion from 'const clang::PointerType *' to 'const clang::ExtQuals *' for 1st argument QualType(const ExtQuals *Ptr, unsigned Quals) : Value(Ptr, Quals) {} ^ /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:661:3: note: candidate constructor not viable: requires 0 arguments, but 2 were provided QualType() = default; ^ /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:638:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided class QualType { ^ /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:638:7: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided /usr/src/contrib/llvm/tools/clang/include/clang/AST/Type.h:2629:44: error: cannot initialize object parameter of type 'const clang::AdjustedType' with an expression of type 'const clang::DecayedType' QualType getDecayedType() const { return getAdjustedType(); } ^~~~~~~~~~~~~~~ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. *** Error code 1 Stop. make[4]: stopped in /usr/src/lib/clang/libclang *** Error code 1 Stop. make[3]: stopped in /usr/src/lib/clang *** Error code 1 Stop. make[2]: stopped in /usr/src *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src 1(vinyl3)# -- ------------------- Mike Tancsa, tel +1 519 651 3400 x203 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20b32c01-03a7-a376-a90f-7f5b8296181a>