DEBUG: Executing shell function do_compile
NOTE: cmake --build TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/build --target all --
[1/10] Building C object test/CMakeFiles/cc-msvc.dir/cc-msvc.c.o
[2/10] Building C object test/CMakeFiles/cc-gnu.dir/cc-gnu.c.o
[3/10] Linking C executable test/cc-gnu
[4/10] Linking C executable test/cc-msvc
[5/10] Building CXX object src/CMakeFiles/castxml.dir/castxml.cxx.o
[6/10] Building CXX object src/CMakeFiles/castxml.dir/Utils.cxx.o
[7/10] Building CXX object src/CMakeFiles/castxml.dir/Detect.cxx.o
[8/10] Building CXX object src/CMakeFiles/castxml.dir/Output.cxx.o
FAILED: [code=1] src/CMakeFiles/castxml.dir/Output.cxx.o
TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot-native/usr/bin/aarch64-yoe-linux-musl/aarch64-yoe-linux-musl-clang++ --sysroot=TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot -ITMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/build/src -mcpu=cortex-a57+crc --dyld-prefix=/usr -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot -O2 -g -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/sources/castxml-0.6.11=/usr/src/debug/castxml/0.6.11 -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/build=/usr/src/debug/castxml/0.6.11 -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -std=c++17 -DEXPERIMENTAL_KEY_INSTRUCTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -MD -MT src/CMakeFiles/castxml.dir/Output.cxx.o -MF src/CMakeFiles/castxml.dir/Output.cxx.o.d -o src/CMakeFiles/castxml.dir/Output.cxx.o -c TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/sources/castxml-0.6.11/src/Output.cxx
TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/sources/castxml-0.6.11/src/Output.cxx:2483:52: error: no member named 'getClass' in 'clang::MemberPointerType'
2483 | this->OutputOffsetType(t->getPointeeType(), t->getClass(), dn);
| ~ ^
TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/sources/castxml-0.6.11/src/Output.cxx:2488:40: error: no member named 'getClass' in 'clang::MemberPointerType'
2488 | DumpType(t->getPointeeType(), t->getClass()), false);
| ~ ^
2 errors generated.
[9/10] Building CXX object src/CMakeFiles/castxml.dir/RunClang.cxx.o
FAILED: [code=1] src/CMakeFiles/castxml.dir/RunClang.cxx.o
TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot-native/usr/bin/aarch64-yoe-linux-musl/aarch64-yoe-linux-musl-clang++ --sysroot=TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot -ITMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/build/src -mcpu=cortex-a57+crc --dyld-prefix=/usr -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot -O2 -g -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/sources/castxml-0.6.11=/usr/src/debug/castxml/0.6.11 -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/build=/usr/src/debug/castxml/0.6.11 -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -std=c++17 -DEXPERIMENTAL_KEY_INSTRUCTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -MD -MT src/CMakeFiles/castxml.dir/RunClang.cxx.o -MF src/CMakeFiles/castxml.dir/RunClang.cxx.o.d -o src/CMakeFiles/castxml.dir/RunClang.cxx.o -c TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/sources/castxml-0.6.11/src/RunClang.cxx
TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/sources/castxml-0.6.11/src/RunClang.cxx:817:9: error: no matching constructor for initialization of 'clang::TextDiagnosticPrinter'
817 | new clang::TextDiagnosticPrinter(llvm::errs(), &*diagOpts);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot/usr/include/clang/Frontend/TextDiagnosticPrinter.h:41:3: note: candidate constructor not viable: no known conversion from 'clang::DiagnosticOptions *' to 'DiagnosticOptions &' for 2nd argument; remove &
41 | TextDiagnosticPrinter(raw_ostream &os, DiagnosticOptions &DiagOpts,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot/usr/include/clang/Frontend/TextDiagnosticPrinter.h:27:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
27 | class TextDiagnosticPrinter : public DiagnosticConsumer {
| ^~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/sources/castxml-0.6.11/src/RunClang.cxx:819:9: error: no matching constructor for initialization of 'clang::DiagnosticsEngine'
819 | new clang::DiagnosticsEngine(diagID, &*diagOpts, diagClient));
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot/usr/include/clang/Basic/Diagnostic.h:578:12: note: candidate constructor not viable: no known conversion from 'clang::DiagnosticOptions *' to 'DiagnosticOptions &' for 2nd argument; remove &
578 | explicit DiagnosticsEngine(IntrusiveRefCntPtr<DiagnosticIDs> Diags,
| ^
579 | DiagnosticOptions &DiagOpts,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot/usr/include/clang/Basic/Diagnostic.h:582:3: note: candidate constructor not viable: requires 1 argument, but 3 were provided
582 | DiagnosticsEngine(const DiagnosticsEngine &) = delete;
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/sources/castxml-0.6.11/src/RunClang.cxx:31:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot/usr/include/clang/AST/Decl.h:20:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot/usr/include/clang/AST/DeclBase.h:19:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot/usr/include/clang/AST/DeclarationName.h:16:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot/usr/include/clang/AST/Type.h:21:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot/usr/include/clang/AST/NestedNameSpecifier.h:18:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot/usr/include/clang/Basic/Diagnostic.h:17:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot/usr/include/clang/Basic/DiagnosticIDs.h:19:
TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot/usr/include/llvm/ADT/IntrusiveRefCntPtr.h:163:37: error: no member named 'Retain' in 'clang::DiagnosticOptions'
163 | static void retain(T *obj) { obj->Retain(); }
| ~~~ ^
TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot/usr/include/llvm/ADT/IntrusiveRefCntPtr.h:228:34: note: in instantiation of member function 'llvm::IntrusiveRefCntPtrInfo<clang::DiagnosticOptions>::retain' requested here
228 | IntrusiveRefCntPtrInfo<T>::retain(Obj);
| ^
TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot/usr/include/llvm/ADT/IntrusiveRefCntPtr.h:180:43: note: in instantiation of member function 'llvm::IntrusiveRefCntPtr<clang::DiagnosticOptions>::retain' requested here
180 | IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); }
| ^
TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/sources/castxml-0.6.11/src/RunClang.cxx:790:54: note: in instantiation of member function 'llvm::IntrusiveRefCntPtr<clang::DiagnosticOptions>::IntrusiveRefCntPtr' requested here
790 | llvm::IntrusiveRefCntPtr<clang::DiagnosticOptions> diagOpts(
| ^
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/sources/castxml-0.6.11/src/RunClang.cxx:31:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot/usr/include/clang/AST/Decl.h:20:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot/usr/include/clang/AST/DeclBase.h:19:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot/usr/include/clang/AST/DeclarationName.h:16:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot/usr/include/clang/AST/Type.h:21:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot/usr/include/clang/AST/NestedNameSpecifier.h:18:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot/usr/include/clang/Basic/Diagnostic.h:17:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot/usr/include/clang/Basic/DiagnosticIDs.h:19:
TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot/usr/include/llvm/ADT/IntrusiveRefCntPtr.h:164:38: error: no member named 'Release' in 'clang::DiagnosticOptions'
164 | static void release(T *obj) { obj->Release(); }
| ~~~ ^
TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot/usr/include/llvm/ADT/IntrusiveRefCntPtr.h:233:34: note: in instantiation of member function 'llvm::IntrusiveRefCntPtrInfo<clang::DiagnosticOptions>::release' requested here
233 | IntrusiveRefCntPtrInfo<T>::release(Obj);
| ^
TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/recipe-sysroot/usr/include/llvm/ADT/IntrusiveRefCntPtr.h:196:27: note: in instantiation of member function 'llvm::IntrusiveRefCntPtr<clang::DiagnosticOptions>::release' requested here
196 | ~IntrusiveRefCntPtr() { release(); }
| ^
TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/sources/castxml-0.6.11/src/RunClang.cxx:790:54: note: in instantiation of member function 'llvm::IntrusiveRefCntPtr<clang::DiagnosticOptions>::~IntrusiveRefCntPtr' requested here
790 | llvm::IntrusiveRefCntPtr<clang::DiagnosticOptions> diagOpts(
| ^
4 errors generated.
ninja: build stopped: subcommand failed.
WARNING: TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/temp/run.do_compile.4097249:159 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} } cmake --build 'TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
WARNING: Backtrace (BB generated script):
#1: cmake_runcmake_build, TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/temp/run.do_compile.4097249, line 159
#2: cmake_do_compile, TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/temp/run.do_compile.4097249, line 153
#3: do_compile, TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/temp/run.do_compile.4097249, line 148
#4: main, TMPDIR/work/cortexa57-yoe-linux-musl/castxml/0.6.11/temp/run.do_compile.4097249, line 172