Building the standard library for: swift-test-stdlib-linux-powerpc64le Running Swift tests for: check-swift-linux-powerpc64le cmark: using gold linker ninja: no work to do. llvm: using gold linker symlinking the system headers (/usr/include/c++) into the local clang build directory (/root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/include). ninja: no work to do. swift: using gold linker [1/196] Generating libdispatch.so libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'. libtoolize: copying file 'config/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... powerpc64le-unknown-linux-gnu checking host system type... powerpc64le-unknown-linux-gnu checking target system type... powerpc64le-unknown-linux-gnu checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/bin/clang accepts -g... yes checking for /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/bin/clang option to accept ISO C89... none needed checking whether /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/bin/clang understands -c and -o together... yes checking whether we are using the GNU C++ compiler... yes checking whether /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/bin/clang++ accepts -g... yes checking whether we are using the GNU Objective C compiler... yes checking whether /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/bin/clang accepts -g... yes checking for clang++... clang++ checking whether we are using the GNU Objective C++ compiler... yes checking whether clang++ accepts -g... yes checking for System.framework/PrivateHeaders... no checking for ld.gold... true checking how to run the C preprocessor... /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/bin/clang -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/bin/clang... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert powerpc64le-unknown-linux-gnu file names to powerpc64le-unknown-linux-gnu format... func_convert_file_noop checking how to convert powerpc64le-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/bin/clang object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/bin/clang supports -fno-rtti -fno-exceptions... yes checking for /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/bin/clang option to produce PIC... -fPIC -DPIC checking if /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/bin/clang PIC flag -fPIC -DPIC works... yes checking if /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/bin/clang static flag -static works... yes checking if /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/bin/clang supports -c -o file.o... yes checking if /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/bin/clang supports -c -o file.o... (cached) yes checking whether the /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/bin/clang linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/bin/clang++ -E checking for ld used by /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/bin/clang++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/bin/clang++ linker (/usr/bin/ld) supports shared libraries... yes checking for /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/bin/clang++ option to produce PIC... -fPIC -DPIC checking if /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/bin/clang++ PIC flag -fPIC -DPIC works... yes checking if /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/bin/clang++ static flag -static works... yes checking if /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/bin/clang++ supports -c -o file.o... yes checking if /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/bin/clang++ supports -c -o file.o... (cached) yes checking whether the /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/bin/clang++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for mig... no checking for dtrace... /usr/bin/dtrace checking for leaks... no checking for gcc atomic builtins... yes checking for library containing clock_gettime... none required checking for library containing pthread_create... -lpthread checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for strlcpy... no checking for BSD_OVERLAY... yes checking for getprogname... no checking for BSD_OVERLAY... yes checking for ANSI C header files... (cached) yes checking TargetConditionals.h usability... no checking TargetConditionals.h presence... no checking for TargetConditionals.h... no checking pthread_np.h usability... no checking pthread_np.h presence... no checking for pthread_np.h... no checking malloc/malloc.h usability... no checking malloc/malloc.h presence... no checking for malloc/malloc.h... no checking libkern/OSCrossEndian.h usability... no checking libkern/OSCrossEndian.h presence... no checking for libkern/OSCrossEndian.h... no checking libkern/OSAtomic.h usability... no checking libkern/OSAtomic.h presence... no checking for libkern/OSAtomic.h... no checking sys/guarded.h usability... no checking sys/guarded.h presence... no checking for sys/guarded.h... no checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking pthread_machdep.h usability... no checking pthread_machdep.h presence... no checking for pthread_machdep.h... no checking pthread/qos.h usability... no checking pthread/qos.h presence... no checking for pthread/qos.h... no checking for libproc_internal.h... no checking for pthread_workqueue_setdispatch_np... no checking for _pthread_workqueue_init... no checking CoreFoundation/CoreFoundation.h usability... no checking CoreFoundation/CoreFoundation.h presence... no checking for CoreFoundation/CoreFoundation.h... no checking how to run the Objective C preprocessor... /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/bin/clang -E checking Foundation/Foundation.h usability... no checking Foundation/Foundation.h presence... no checking for Foundation/Foundation.h... no checking objc/NSObject.h usability... no checking objc/NSObject.h presence... no checking for objc/NSObject.h... no checking mach/mach.h usability... no checking mach/mach.h presence... no checking for mach/mach.h... no checking for mach_port_construct... no checking whether CLOCK_UPTIME is declared... no checking whether CLOCK_MONOTONIC is declared... yes checking whether CLOCK_REALTIME is declared... yes checking whether CLOCK_UPTIME_FAST is declared... no checking whether NOTE_NONE is declared... no checking whether NOTE_REAP is declared... no checking whether NOTE_REVOKE is declared... no checking whether NOTE_SIGNAL is declared... no checking whether NOTE_LOWAT is declared... no checking whether FD_COPY is declared... no checking whether SIGEMT is declared... no checking whether VQ_UPDATE is declared... no checking whether VQ_VERYLOWDISK is declared... no checking whether VQ_QUOTA is declared... no checking whether VQ_NEARLOWDISK is declared... no checking whether VQ_DESIRED_DISK is declared... no checking whether program_invocation_short_name is declared... yes checking for pthread_key_init_np... no checking for pthread_main_np... no checking for mach_absolute_time... no checking for mach_approximate_time... no checking for malloc_create_zone... no checking for sysconf... yes checking whether POSIX_SPAWN_START_SUSPENDED is declared... no checking for sem_init... yes checking linux/futex.h usability... yes checking linux/futex.h presence... yes checking for linux/futex.h... yes checking what semaphore type to use... POSIX semaphores checking for sys/cdefs.h... yes checking for C Blocks support... -fblocks checking for C++ Blocks support... -fblocks checking for -fvisibility=hidden... yes checking for -momit-leaf-frame-pointer... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating dispatch/Makefile config.status: creating man/Makefile config.status: creating os/Makefile config.status: creating private/Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating config/config_ac.h config.status: config/config_ac.h is unchanged config.status: linking .//private to tests/dispatch config.status: linking tests/leaks-wrapper.sh to tests/leaks-wrapper config.status: executing libtool commands config.status: executing modulemaps commands Making all in dispatch make[1]: Entering directory '/root/Meghali/swift-source/swift-corelibs-libdispatch/dispatch' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/root/Meghali/swift-source/swift-corelibs-libdispatch/dispatch' Making all in man make[1]: Entering directory '/root/Meghali/swift-source/swift-corelibs-libdispatch/man' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/root/Meghali/swift-source/swift-corelibs-libdispatch/man' Making all in os make[1]: Entering directory '/root/Meghali/swift-source/swift-corelibs-libdispatch/os' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/root/Meghali/swift-source/swift-corelibs-libdispatch/os' Making all in private make[1]: Entering directory '/root/Meghali/swift-source/swift-corelibs-libdispatch/private' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/root/Meghali/swift-source/swift-corelibs-libdispatch/private' Making all in src make[1]: Entering directory '/root/Meghali/swift-source/swift-corelibs-libdispatch/src' /usr/bin/make all-am make[2]: Entering directory '/root/Meghali/swift-source/swift-corelibs-libdispatch/src' /bin/bash ../libtool --tag=CC --mode=compile /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/bin/clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -I../private -Wall -fvisibility=hidden -momit-leaf-frame-pointer -isystem /usr/include/bsd -DLIBBSD_OVERLAY -fblocks -I../src/BlocksRuntime -O2 -c -o source.lo source.c libtool: compile: /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/bin/clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -I../private -Wall -fvisibility=hidden -momit-leaf-frame-pointer -isystem /usr/include/bsd -DLIBBSD_OVERLAY -fblocks -I../src/BlocksRuntime -O2 -c source.c -fPIC -DPIC -o .libs/source.o Makefile:695: recipe for target 'source.lo' failed make[2]: Leaving directory '/root/Meghali/swift-source/swift-corelibs-libdispatch/src' Makefile:546: recipe for target 'all' failed make[1]: Leaving directory '/root/Meghali/swift-source/swift-corelibs-libdispatch/src' Makefile:454: recipe for target 'all-recursive' failed [38/196] Building CXX object tools/SourceKit/tools/sourcekitd/bin/InProc/CMakeFiles/sourcekitdInProc.dir/sourcekitdInProc.cpp.o FAILED: /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/./bin/clang++ -DCMARK_STATIC_DEFINE -DGTEST_HAS_RTTI=0 -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Istdlib/public/runtime -I/root/Meghali/swift-source/swift/stdlib/public/runtime -Iinclude -I/root/Meghali/swift-source/swift/include -I/root/Meghali/swift-source/llvm/include -I/root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/include -I/root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/tools/clang/include -I/root/Meghali/swift-source/llvm/tools/clang/include -I/root/Meghali/swift-source/cmark/src -I/root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/cmark-linux-powerpc64le/src -isystem /usr/include/powerpc64le-linux-gnu -Wno-unknown-warning-option -Werror=unguarded-availability-new -fno-stack-protector -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fcolor-diagnostics -ffunction-sections -fdata-sections -Werror=switch -Wdocumentation -Wimplicit-fallthrough -Wunreachable-code -Woverloaded-virtual -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -fno-sanitize=all -DLLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING=1 -O2 -UNDEBUG -fno-exceptions -fno-rtti -Wglobal-constructors -Wexit-time-destructors -fvisibility=hidden -DSWIFT_RUNTIME_CLOBBER_FREED_OBJECTS=1 -D__SWIFT_CURRENT_DYLIB=swiftCore -DswiftCore_EXPORTS -target powerpc64le-unknown-linux-gnu -O2 -g -UNDEBUG -MMD -MT stdlib/public/runtime/CMakeFiles/swiftRuntime-linux-powerpc64le.dir/KnownMetadata.cpp.o -MF stdlib/public/runtime/CMakeFiles/swiftRuntime-linux-powerpc64le.dir/KnownMetadata.cpp.o.d -o stdlib/public/runtime/CMakeFiles/swiftRuntime-linux-powerpc64le.dir/KnownMetadata.cpp.o -c /root/Meghali/swift-source/swift/stdlib/public/runtime/KnownMetadata.cpp In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/KnownMetadata.cpp:17: In file included from /root/Meghali/swift-source/swift/include/swift/Runtime/Metadata.h:37: In file included from /root/Meghali/swift-source/swift/include/swift/Runtime/../../../stdlib/public/SwiftShims/HeapObject.h:15: /root/Meghali/swift-source/swift/include/swift/Runtime/../../../stdlib/public/SwiftShims/RefCount.h:1557:26: warning: cast from 'const swift::RefCounts > *' to 'char *' drops const qualifier [-Wcast-qual] auto prefix = ((char *)this - offset); ^ /root/Meghali/swift-source/swift/include/swift/Runtime/../../../stdlib/public/SwiftShims/RefCount.h:1564:26: warning: cast from 'const swift::RefCounts *' to 'char *' drops const qualifier [-Wcast-qual] auto prefix = ((char *)this - offset); ^ In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/KnownMetadata.cpp:17: /root/Meghali/swift-source/swift/include/swift/Runtime/Metadata.h:1032:3: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) void (*destroy)(SWIFT_CONTEXT HeapObject *); ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :136:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/KnownMetadata.cpp:17: /root/Meghali/swift-source/swift/include/swift/Runtime/Metadata.h:1032:61: error: 'swift_context' parameter can only be used with swiftcall calling convention SWIFT_CC(swift) void (*destroy)(SWIFT_CONTEXT HeapObject *); ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Metadata.h:1274:9: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] typedef SWIFT_CC(swift) void (*ClassIVarDestroyer)(SWIFT_CONTEXT HeapObject *); ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :137:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/KnownMetadata.cpp:17: /root/Meghali/swift-source/swift/include/swift/Runtime/Metadata.h:1274:78: error: 'swift_context' parameter can only be used with swiftcall calling convention typedef SWIFT_CC(swift) void (*ClassIVarDestroyer)(SWIFT_CONTEXT HeapObject *); ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Metadata.h:3010:1: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :86:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/KnownMetadata.cpp:18: /root/Meghali/swift-source/swift/include/swift/Runtime/HeapObject.h:1188:1: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) SWIFT_RUNTIME_EXPORT ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :25:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ 6 warnings and 2 errors generated. FAILED: /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/./bin/clang++ -DCMARK_STATIC_DEFINE -DGTEST_HAS_RTTI=0 -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Istdlib/public/runtime -I/root/Meghali/swift-source/swift/stdlib/public/runtime -Iinclude -I/root/Meghali/swift-source/swift/include -I/root/Meghali/swift-source/llvm/include -I/root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/include -I/root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/tools/clang/include -I/root/Meghali/swift-source/llvm/tools/clang/include -I/root/Meghali/swift-source/cmark/src -I/root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/cmark-linux-powerpc64le/src -isystem /usr/include/powerpc64le-linux-gnu -Wno-unknown-warning-option -Werror=unguarded-availability-new -fno-stack-protector -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fcolor-diagnostics -ffunction-sections -fdata-sections -Werror=switch -Wdocumentation -Wimplicit-fallthrough -Wunreachable-code -Woverloaded-virtual -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -fno-sanitize=all -DLLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING=1 -O2 -UNDEBUG -fno-exceptions -fno-rtti -Wglobal-constructors -Wexit-time-destructors -fvisibility=hidden -DSWIFT_RUNTIME_CLOBBER_FREED_OBJECTS=1 -D__SWIFT_CURRENT_DYLIB=swiftCore -DswiftCore_EXPORTS -target powerpc64le-unknown-linux-gnu -O2 -g -UNDEBUG -MMD -MT stdlib/public/runtime/CMakeFiles/swiftRuntime-linux-powerpc64le.dir/Demangle.cpp.o -MF stdlib/public/runtime/CMakeFiles/swiftRuntime-linux-powerpc64le.dir/Demangle.cpp.o.d -o stdlib/public/runtime/CMakeFiles/swiftRuntime-linux-powerpc64le.dir/Demangle.cpp.o -c /root/Meghali/swift-source/swift/stdlib/public/runtime/Demangle.cpp In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/Demangle.cpp:13: In file included from /root/Meghali/swift-source/swift/include/swift/Runtime/Metadata.h:37: In file included from /root/Meghali/swift-source/swift/include/swift/Runtime/../../../stdlib/public/SwiftShims/HeapObject.h:15: /root/Meghali/swift-source/swift/include/swift/Runtime/../../../stdlib/public/SwiftShims/RefCount.h:1557:26: warning: cast from 'const swift::RefCounts > *' to 'char *' drops const qualifier [-Wcast-qual] auto prefix = ((char *)this - offset); ^ /root/Meghali/swift-source/swift/include/swift/Runtime/../../../stdlib/public/SwiftShims/RefCount.h:1564:26: warning: cast from 'const swift::RefCounts *' to 'char *' drops const qualifier [-Wcast-qual] auto prefix = ((char *)this - offset); ^ In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/Demangle.cpp:13: /root/Meghali/swift-source/swift/include/swift/Runtime/Metadata.h:1032:3: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) void (*destroy)(SWIFT_CONTEXT HeapObject *); ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :136:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/Demangle.cpp:13: /root/Meghali/swift-source/swift/include/swift/Runtime/Metadata.h:1032:61: error: 'swift_context' parameter can only be used with swiftcall calling convention SWIFT_CC(swift) void (*destroy)(SWIFT_CONTEXT HeapObject *); ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Metadata.h:1274:9: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] typedef SWIFT_CC(swift) void (*ClassIVarDestroyer)(SWIFT_CONTEXT HeapObject *); ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :137:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/Demangle.cpp:13: /root/Meghali/swift-source/swift/include/swift/Runtime/Metadata.h:1274:78: error: 'swift_context' parameter can only be used with swiftcall calling convention typedef SWIFT_CC(swift) void (*ClassIVarDestroyer)(SWIFT_CONTEXT HeapObject *); ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Metadata.h:3010:1: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :86:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ 5 warnings and 2 errors generated. FAILED: /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/./bin/clang++ -DCMARK_STATIC_DEFINE -DGTEST_HAS_RTTI=0 -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Istdlib/public/runtime -I/root/Meghali/swift-source/swift/stdlib/public/runtime -Iinclude -I/root/Meghali/swift-source/swift/include -I/root/Meghali/swift-source/llvm/include -I/root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/include -I/root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/tools/clang/include -I/root/Meghali/swift-source/llvm/tools/clang/include -I/root/Meghali/swift-source/cmark/src -I/root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/cmark-linux-powerpc64le/src -isystem /usr/include/powerpc64le-linux-gnu -Wno-unknown-warning-option -Werror=unguarded-availability-new -fno-stack-protector -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fcolor-diagnostics -ffunction-sections -fdata-sections -Werror=switch -Wdocumentation -Wimplicit-fallthrough -Wunreachable-code -Woverloaded-virtual -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -fno-sanitize=all -DLLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING=1 -O2 -UNDEBUG -fno-exceptions -fno-rtti -Wglobal-constructors -Wexit-time-destructors -fvisibility=hidden -DSWIFT_RUNTIME_CLOBBER_FREED_OBJECTS=1 -D__SWIFT_CURRENT_DYLIB=swiftCore -DswiftCore_EXPORTS -target powerpc64le-unknown-linux-gnu -O2 -g -UNDEBUG -MMD -MT stdlib/public/runtime/CMakeFiles/swiftRuntime-linux-powerpc64le.dir/AnyHashableSupport.cpp.o -MF stdlib/public/runtime/CMakeFiles/swiftRuntime-linux-powerpc64le.dir/AnyHashableSupport.cpp.o.d -o stdlib/public/runtime/CMakeFiles/swiftRuntime-linux-powerpc64le.dir/AnyHashableSupport.cpp.o -c /root/Meghali/swift-source/swift/stdlib/public/runtime/AnyHashableSupport.cpp In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/AnyHashableSupport.cpp:17: In file included from /root/Meghali/swift-source/swift/include/swift/Runtime/HeapObject.h:29: In file included from /root/Meghali/swift-source/swift/include/swift/Runtime/../../../stdlib/public/SwiftShims/HeapObject.h:15: /root/Meghali/swift-source/swift/include/swift/Runtime/../../../stdlib/public/SwiftShims/RefCount.h:1557:26: warning: cast from 'const swift::RefCounts > *' to 'char *' drops const qualifier [-Wcast-qual] auto prefix = ((char *)this - offset); ^ /root/Meghali/swift-source/swift/include/swift/Runtime/../../../stdlib/public/SwiftShims/RefCount.h:1564:26: warning: cast from 'const swift::RefCounts *' to 'char *' drops const qualifier [-Wcast-qual] auto prefix = ((char *)this - offset); ^ In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/AnyHashableSupport.cpp:17: /root/Meghali/swift-source/swift/include/swift/Runtime/HeapObject.h:1188:1: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) SWIFT_RUNTIME_EXPORT ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :106:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/AnyHashableSupport.cpp:18: In file included from /root/Meghali/swift-source/swift/include/swift/Runtime/Casting.h:20: /root/Meghali/swift-source/swift/include/swift/Runtime/Metadata.h:1032:3: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) void (*destroy)(SWIFT_CONTEXT HeapObject *); ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :114:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/AnyHashableSupport.cpp:18: In file included from /root/Meghali/swift-source/swift/include/swift/Runtime/Casting.h:20: /root/Meghali/swift-source/swift/include/swift/Runtime/Metadata.h:1032:61: error: 'swift_context' parameter can only be used with swiftcall calling convention SWIFT_CC(swift) void (*destroy)(SWIFT_CONTEXT HeapObject *); ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Metadata.h:1274:9: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] typedef SWIFT_CC(swift) void (*ClassIVarDestroyer)(SWIFT_CONTEXT HeapObject *); ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :115:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/AnyHashableSupport.cpp:18: In file included from /root/Meghali/swift-source/swift/include/swift/Runtime/Casting.h:20: /root/Meghali/swift-source/swift/include/swift/Runtime/Metadata.h:1274:78: error: 'swift_context' parameter can only be used with swiftcall calling convention typedef SWIFT_CC(swift) void (*ClassIVarDestroyer)(SWIFT_CONTEXT HeapObject *); ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Metadata.h:3010:1: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :60:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/AnyHashableSupport.cpp:21: /root/Meghali/swift-source/swift/stdlib/public/runtime/SwiftHashableSupport.h:29:1: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :41:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/AnyHashableSupport.cpp:21: /root/Meghali/swift-source/swift/stdlib/public/runtime/SwiftHashableSupport.h:35:1: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :42:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/AnyHashableSupport.cpp:21: /root/Meghali/swift-source/swift/stdlib/public/runtime/SwiftHashableSupport.h:39:1: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :43:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/AnyHashableSupport.cpp:21: /root/Meghali/swift-source/swift/stdlib/public/runtime/SwiftHashableSupport.h:44:1: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :44:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ /root/Meghali/swift-source/swift/stdlib/public/runtime/AnyHashableSupport.cpp:126:1: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) SWIFT_RUNTIME_STDLIB_INTERFACE ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :48:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ /root/Meghali/swift-source/swift/stdlib/public/runtime/AnyHashableSupport.cpp:134:1: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) SWIFT_RUNTIME_STDLIB_INTERFACE ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :49:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ 12 warnings and 2 errors generated. FAILED: /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/./bin/clang++ -DCMARK_STATIC_DEFINE -DGTEST_HAS_RTTI=0 -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Istdlib/public/runtime -I/root/Meghali/swift-source/swift/stdlib/public/runtime -Iinclude -I/root/Meghali/swift-source/swift/include -I/root/Meghali/swift-source/llvm/include -I/root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/include -I/root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/tools/clang/include -I/root/Meghali/swift-source/llvm/tools/clang/include -I/root/Meghali/swift-source/cmark/src -I/root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/cmark-linux-powerpc64le/src -isystem /usr/include/powerpc64le-linux-gnu -Wno-unknown-warning-option -Werror=unguarded-availability-new -fno-stack-protector -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fcolor-diagnostics -ffunction-sections -fdata-sections -Werror=switch -Wdocumentation -Wimplicit-fallthrough -Wunreachable-code -Woverloaded-virtual -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -fno-sanitize=all -DLLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING=1 -O2 -UNDEBUG -fno-exceptions -fno-rtti -Wglobal-constructors -Wexit-time-destructors -fvisibility=hidden -DSWIFT_RUNTIME_CLOBBER_FREED_OBJECTS=1 -D__SWIFT_CURRENT_DYLIB=swiftCore -DswiftCore_EXPORTS -target powerpc64le-unknown-linux-gnu -O2 -g -UNDEBUG -MMD -MT stdlib/public/runtime/CMakeFiles/swiftRuntime-linux-powerpc64le.dir/Casting.cpp.o -MF stdlib/public/runtime/CMakeFiles/swiftRuntime-linux-powerpc64le.dir/Casting.cpp.o.d -o stdlib/public/runtime/CMakeFiles/swiftRuntime-linux-powerpc64le.dir/Casting.cpp.o -c /root/Meghali/swift-source/swift/stdlib/public/runtime/Casting.cpp In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/Casting.cpp:20: In file included from /root/Meghali/swift-source/swift/include/swift/Runtime/Casting.h:20: In file included from /root/Meghali/swift-source/swift/include/swift/Runtime/Metadata.h:37: In file included from /root/Meghali/swift-source/swift/include/swift/Runtime/../../../stdlib/public/SwiftShims/HeapObject.h:15: /root/Meghali/swift-source/swift/include/swift/Runtime/../../../stdlib/public/SwiftShims/RefCount.h:1557:26: warning: cast from 'const swift::RefCounts > *' to 'char *' drops const qualifier [-Wcast-qual] auto prefix = ((char *)this - offset); ^ /root/Meghali/swift-source/swift/include/swift/Runtime/../../../stdlib/public/SwiftShims/RefCount.h:1564:26: warning: cast from 'const swift::RefCounts *' to 'char *' drops const qualifier [-Wcast-qual] auto prefix = ((char *)this - offset); ^ In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/Casting.cpp:20: In file included from /root/Meghali/swift-source/swift/include/swift/Runtime/Casting.h:20: /root/Meghali/swift-source/swift/include/swift/Runtime/Metadata.h:1032:3: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) void (*destroy)(SWIFT_CONTEXT HeapObject *); ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :30:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/Casting.cpp:20: In file included from /root/Meghali/swift-source/swift/include/swift/Runtime/Casting.h:20: /root/Meghali/swift-source/swift/include/swift/Runtime/Metadata.h:1032:61: error: 'swift_context' parameter can only be used with swiftcall calling convention SWIFT_CC(swift) void (*destroy)(SWIFT_CONTEXT HeapObject *); ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Metadata.h:1274:9: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] typedef SWIFT_CC(swift) void (*ClassIVarDestroyer)(SWIFT_CONTEXT HeapObject *); ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :31:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/Casting.cpp:20: In file included from /root/Meghali/swift-source/swift/include/swift/Runtime/Casting.h:20: /root/Meghali/swift-source/swift/include/swift/Runtime/Metadata.h:1274:78: error: 'swift_context' parameter can only be used with swiftcall calling convention typedef SWIFT_CC(swift) void (*ClassIVarDestroyer)(SWIFT_CONTEXT HeapObject *); ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Metadata.h:3010:1: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :136:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/Casting.cpp:23: /root/Meghali/swift-source/swift/include/swift/Runtime/HeapObject.h:1188:1: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) SWIFT_RUNTIME_EXPORT ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :63:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/Casting.cpp:31: In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/ErrorObject.h:29: /root/Meghali/swift-source/swift/stdlib/public/runtime/SwiftHashableSupport.h:29:1: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :44:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/Casting.cpp:31: In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/ErrorObject.h:29: /root/Meghali/swift-source/swift/stdlib/public/runtime/SwiftHashableSupport.h:35:1: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :45:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/Casting.cpp:31: In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/ErrorObject.h:29: /root/Meghali/swift-source/swift/stdlib/public/runtime/SwiftHashableSupport.h:39:1: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :46:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/Casting.cpp:31: In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/ErrorObject.h:29: /root/Meghali/swift-source/swift/stdlib/public/runtime/SwiftHashableSupport.h:44:1: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :47:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/Casting.cpp:31: /root/Meghali/swift-source/swift/stdlib/public/runtime/ErrorObject.h:174:1: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) SWIFT_RUNTIME_EXPORT ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :51:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ /root/Meghali/swift-source/swift/stdlib/public/runtime/Casting.cpp:114:1: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :73:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ /root/Meghali/swift-source/swift/stdlib/public/runtime/Casting.cpp:1491:33: warning: cast from 'void *const *' to 'swift::OpaqueValue *' drops const qualifier [-Wcast-qual] srcValue = (OpaqueValue*) &classContainer->Value; ^ /root/Meghali/swift-source/swift/stdlib/public/runtime/Casting.cpp:2136:1: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :12:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ /root/Meghali/swift-source/swift/stdlib/public/runtime/Casting.cpp:2143:1: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :13:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ /root/Meghali/swift-source/swift/stdlib/public/runtime/Casting.cpp:2150:1: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :14:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ /root/Meghali/swift-source/swift/stdlib/public/runtime/Casting.cpp:2159:1: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :15:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ /root/Meghali/swift-source/swift/stdlib/public/runtime/Casting.cpp:2168:1: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :16:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ /root/Meghali/swift-source/swift/stdlib/public/runtime/Casting.cpp:2179:1: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :17:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ /root/Meghali/swift-source/swift/stdlib/public/runtime/Casting.cpp:3195:1: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) SWIFT_RUNTIME_STDLIB_INTERFACE ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :39:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ /root/Meghali/swift-source/swift/stdlib/public/runtime/Casting.cpp:3201:1: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :40:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ 21 warnings and 2 errors generated. FAILED: /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/./bin/clang++ -DCMARK_STATIC_DEFINE -DGTEST_HAS_RTTI=0 -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Istdlib/public/runtime -I/root/Meghali/swift-source/swift/stdlib/public/runtime -Iinclude -I/root/Meghali/swift-source/swift/include -I/root/Meghali/swift-source/llvm/include -I/root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/include -I/root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/tools/clang/include -I/root/Meghali/swift-source/llvm/tools/clang/include -I/root/Meghali/swift-source/cmark/src -I/root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/cmark-linux-powerpc64le/src -isystem /usr/include/powerpc64le-linux-gnu -Wno-unknown-warning-option -Werror=unguarded-availability-new -fno-stack-protector -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fcolor-diagnostics -ffunction-sections -fdata-sections -Werror=switch -Wdocumentation -Wimplicit-fallthrough -Wunreachable-code -Woverloaded-virtual -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -fno-sanitize=all -DLLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING=1 -O2 -UNDEBUG -fno-exceptions -fno-rtti -Wglobal-constructors -Wexit-time-destructors -fvisibility=hidden -DSWIFT_RUNTIME_CLOBBER_FREED_OBJECTS=1 -D__SWIFT_CURRENT_DYLIB=swiftCore -DswiftCore_EXPORTS -target powerpc64le-unknown-linux-gnu -O2 -g -UNDEBUG -MMD -MT stdlib/public/runtime/CMakeFiles/swiftRuntime-linux-powerpc64le.dir/Enum.cpp.o -MF stdlib/public/runtime/CMakeFiles/swiftRuntime-linux-powerpc64le.dir/Enum.cpp.o.d -o stdlib/public/runtime/CMakeFiles/swiftRuntime-linux-powerpc64le.dir/Enum.cpp.o -c /root/Meghali/swift-source/swift/stdlib/public/runtime/Enum.cpp In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/Enum.cpp:19: In file included from /root/Meghali/swift-source/swift/include/swift/Runtime/Metadata.h:37: In file included from /root/Meghali/swift-source/swift/include/swift/Runtime/../../../stdlib/public/SwiftShims/HeapObject.h:15: /root/Meghali/swift-source/swift/include/swift/Runtime/../../../stdlib/public/SwiftShims/RefCount.h:1557:26: warning: cast from 'const swift::RefCounts > *' to 'char *' drops const qualifier [-Wcast-qual] auto prefix = ((char *)this - offset); ^ /root/Meghali/swift-source/swift/include/swift/Runtime/../../../stdlib/public/SwiftShims/RefCount.h:1564:26: warning: cast from 'const swift::RefCounts *' to 'char *' drops const qualifier [-Wcast-qual] auto prefix = ((char *)this - offset); ^ In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/Enum.cpp:19: /root/Meghali/swift-source/swift/include/swift/Runtime/Metadata.h:1032:3: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) void (*destroy)(SWIFT_CONTEXT HeapObject *); ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :83:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/Enum.cpp:19: /root/Meghali/swift-source/swift/include/swift/Runtime/Metadata.h:1032:61: error: 'swift_context' parameter can only be used with swiftcall calling convention SWIFT_CC(swift) void (*destroy)(SWIFT_CONTEXT HeapObject *); ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Metadata.h:1274:9: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] typedef SWIFT_CC(swift) void (*ClassIVarDestroyer)(SWIFT_CONTEXT HeapObject *); ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :84:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ In file included from /root/Meghali/swift-source/swift/stdlib/public/runtime/Enum.cpp:19: /root/Meghali/swift-source/swift/include/swift/Runtime/Metadata.h:1274:78: error: 'swift_context' parameter can only be used with swiftcall calling convention typedef SWIFT_CC(swift) void (*ClassIVarDestroyer)(SWIFT_CONTEXT HeapObject *); ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Metadata.h:3010:1: warning: calling convention 'swiftcall' ignored for this target [-Wignored-attributes] SWIFT_CC(swift) ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:102:22: note: expanded from macro 'SWIFT_CC' #define SWIFT_CC(CC) SWIFT_CC_##CC ^ :19:1: note: expanded from here SWIFT_CC_swift ^ /root/Meghali/swift-source/swift/include/swift/Runtime/Config.h:109:39: note: expanded from macro 'SWIFT_CC_swift' #define SWIFT_CC_swift __attribute__((swiftcall)) ^ /root/Meghali/swift-source/swift/stdlib/public/runtime/Enum.cpp:55:49: warning: cast from 'const void *' to 'unsigned char *' drops const qualifier [-Wcast-qual] uint8_t *d8 = (uint8_t*)dest, *s8 = (uint8_t*)src; ^ /root/Meghali/swift-source/swift/stdlib/public/runtime/Enum.cpp:55:49: warning: cast from 'const void *' to 'unsigned char *' drops const qualifier [-Wcast-qual] /root/Meghali/swift-source/swift/stdlib/public/runtime/Enum.cpp:66:5: note: in instantiation of function template specialization 'small_memcpy<1>' requested here small_memcpy<1>(dest, src); ^ /root/Meghali/swift-source/swift/stdlib/public/runtime/Enum.cpp:55:49: warning: cast from 'const void *' to 'unsigned char *' drops const qualifier [-Wcast-qual] uint8_t *d8 = (uint8_t*)dest, *s8 = (uint8_t*)src; ^ /root/Meghali/swift-source/swift/stdlib/public/runtime/Enum.cpp:68:5: note: in instantiation of function template specialization 'small_memcpy<2>' requested here small_memcpy<2>(dest, src); ^ /root/Meghali/swift-source/swift/stdlib/public/runtime/Enum.cpp:55:49: warning: cast from 'const void *' to 'unsigned char *' drops const qualifier [-Wcast-qual] uint8_t *d8 = (uint8_t*)dest, *s8 = (uint8_t*)src; ^ /root/Meghali/swift-source/swift/stdlib/public/runtime/Enum.cpp:70:5: note: in instantiation of function template specialization 'small_memcpy<4>' requested here small_memcpy<4>(dest, src); ^ 9 warnings and 2 errors generated. FAILED: cd /root/Meghali/swift-source/swift-corelibs-libdispatch && autoreconf -fvi && /usr/bin/env CC=/root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/bin/clang CXX=/root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/bin/clang++ OBJC=/root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/llvm-linux-powerpc64le/bin/clang /root/Meghali/swift-source/swift-corelibs-libdispatch/configure --prefix="/usr" && /usr/bin/make && /bin/mkdir -p /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/libdispatch-linux-powerpc64le/src/.libs/ && /bin/cp /root/Meghali/swift-source/swift-corelibs-libdispatch/src/.libs/libdispatch.so /root/Meghali/swift-source/build/Ninja-RelWithDebInfoAssert/libdispatch-linux-powerpc64le/src/.libs/libdispatch.so && /usr/bin/make distclean ninja: build stopped: subcommand failed.