RELENG_10 to RELENG11 buildworld no possible ?

2019-07-07 Thread Mike Tancsa
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
    stati

Re: RELENG_10 to RELENG11 buildworld no possible ?

2019-07-07 Thread Warner Losh
On Sun, Jul 7, 2019, 8:23 PM Mike Tancsa  wrote:

> 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 ?
>

Yes. I think that's right. You may need to go via 11.0.

Warner

===> 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

Re: RELENG_10 to RELENG11 buildworld no possible ?

2019-07-07 Thread Thomas Mueller
> On Sun, Jul 7, 2019, 8:23 PM Mike Tancsa  wrote:

> > 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 ?

> Yes. I think that's right. You may need to go via 11.0.

> Warner  

Or maybe via 11.2R, if that can be built from RELENG_10?


Tom

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"