Skip to content

Instantly share code, notes, and snippets.

@modocache
Created April 19, 2016 18:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save modocache/4bfce5c26319b7e0cc11e643a126bab5 to your computer and use it in GitHub Desktop.
Save modocache/4bfce5c26319b7e0cc11e643a126bab5 to your computer and use it in GitHub Desktop.
modocache@ubuntu:~/GitHub/apple/swift$ utils/build-script -RT --skip-test-linux --android --android-ndk=/home/modocache/android-ndk-r11c --android-ndk-version=21 --android-icu-uc /home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a --android-icu-uc-include /home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/common --android-icu-i18n /home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a --android-icu-i18n-include /home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/i18n/ -- --skip-test-cmark --reconfigure
Building the standard library for: swift-stdlib-linux-x86_64 swift-stdlib-android-armv7
cmark: using standard linker
+ mkdir -p /home/modocache/GitHub/apple/build/Ninja-ReleaseAssert/cmark-linux-x86_64
+ rm -f /home/modocache/GitHub/apple/build/Ninja-ReleaseAssert/cmark-linux-x86_64/CMakeCache.txt
+ cd /home/modocache/GitHub/apple/build/Ninja-ReleaseAssert/cmark-linux-x86_64
+ /usr/bin/cmake -G Ninja -DCMAKE_C_COMPILER:PATH=/usr/bin/clang -DCMAKE_CXX_COMPILER:PATH=/usr/bin/clang++ -DCMAKE_BUILD_TYPE:STRING=Release /home/modocache/GitHub/apple/cmark
-- Performing Test HAVE_FLAG_ADDRESS_SANITIZER
-- Performing Test HAVE_FLAG_ADDRESS_SANITIZER - Failed
-- Performing Test HAVE_FLAG_SANITIZE_ADDRESS
-- Performing Test HAVE_FLAG_SANITIZE_ADDRESS - Success
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Looking for stdbool.h
-- Looking for stdbool.h - found
-- Performing Test HAVE___BUILTIN_EXPECT
-- Performing Test HAVE___BUILTIN_EXPECT - Success
-- Performing Test HAVE___ATTRIBUTE__
-- Performing Test HAVE___ATTRIBUTE__ - Success
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.4.3", minimum required is "3")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/modocache/GitHub/apple/build/Ninja-ReleaseAssert/cmark-linux-x86_64
++ cmake_config_opt cmark
++ product=cmark
++ [[ Ninja == \X\c\o\d\e ]]
+ /usr/bin/cmake --build /home/modocache/GitHub/apple/build/Ninja-ReleaseAssert/cmark-linux-x86_64 -- -j8 all
ninja: no work to do.
llvm: using standard linker
+ mkdir -p /home/modocache/GitHub/apple/build/Ninja-ReleaseAssert/llvm-linux-x86_64
+ rm -f /home/modocache/GitHub/apple/build/Ninja-ReleaseAssert/llvm-linux-x86_64/CMakeCache.txt
+ cd /home/modocache/GitHub/apple/build/Ninja-ReleaseAssert/llvm-linux-x86_64
+ /usr/bin/cmake -G Ninja -DCMAKE_C_COMPILER:PATH=/usr/bin/clang -DCMAKE_CXX_COMPILER:PATH=/usr/bin/clang++ '-DCMAKE_C_FLAGS= -fno-stack-protector' '-DCMAKE_CXX_FLAGS= -fno-stack-protector' -DCMAKE_BUILD_TYPE:STRING=Release -DLLVM_ENABLE_ASSERTIONS:BOOL=TRUE -DLLVM_TOOL_SWIFT_BUILD:BOOL=NO '-DLLVM_TARGETS_TO_BUILD=X86;ARM;AArch64;PowerPC' -DLLVM_INCLUDE_TESTS:BOOL=TRUE -LLVM_INCLUDE_DOCS:BOOL=TRUE -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINTERNAL_INSTALL_PREFIX=local /home/modocache/GitHub/apple/llvm
-- Looking for dirent.h
-- Looking for dirent.h - found
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for errno.h
-- Looking for errno.h - found
-- Looking for execinfo.h
-- Looking for execinfo.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for limits.h
-- Looking for limits.h - found
-- Looking for link.h
-- Looking for link.h - found
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Looking for malloc/malloc.h
-- Looking for malloc/malloc.h - not found
-- Looking for ndir.h
-- Looking for ndir.h - not found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for signal.h
-- Looking for signal.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for sys/dir.h
-- Looking for sys/dir.h - found
-- Looking for sys/ioctl.h
-- Looking for sys/ioctl.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for sys/ndir.h
-- Looking for sys/ndir.h - not found
-- Looking for sys/param.h
-- Looking for sys/param.h - found
-- Looking for sys/resource.h
-- Looking for sys/resource.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for sys/uio.h
-- Looking for sys/uio.h - found
-- Looking for termios.h
-- Looking for termios.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for utime.h
-- Looking for utime.h - found
-- Looking for valgrind/valgrind.h
-- Looking for valgrind/valgrind.h - not found
-- Looking for zlib.h
-- Looking for zlib.h - found
-- Looking for fenv.h
-- Looking for fenv.h - found
-- Looking for FE_ALL_EXCEPT
-- Looking for FE_ALL_EXCEPT - found
-- Looking for FE_INEXACT
-- Looking for FE_INEXACT - found
-- Looking for mach/mach.h
-- Looking for mach/mach.h - not found
-- Looking for mach-o/dyld.h
-- Looking for mach-o/dyld.h - not found
-- Looking for histedit.h
-- Looking for histedit.h - found
-- Performing Test HAVE_CXXABI_H
-- Performing Test HAVE_CXXABI_H - Success
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Looking for pthread_getspecific in pthread
-- Looking for pthread_getspecific in pthread - found
-- Looking for pthread_rwlock_init in pthread
-- Looking for pthread_rwlock_init in pthread - found
-- Looking for pthread_mutex_lock in pthread
-- Looking for pthread_mutex_lock in pthread - found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for compress2 in z
-- Looking for compress2 in z - found
-- Looking for el_init in edit
-- Looking for el_init in edit - found
-- Looking for setupterm in tinfo
-- Looking for setupterm in tinfo - found
-- Looking for arc4random
-- Looking for arc4random - not found
-- Looking for backtrace
-- Looking for backtrace - found
-- Looking for getpagesize
-- Looking for getpagesize - found
-- Looking for getrusage
-- Looking for getrusage - found
-- Looking for setrlimit
-- Looking for setrlimit - found
-- Looking for isatty
-- Looking for isatty - found
-- Looking for futimens
-- Looking for futimens - found
-- Looking for futimes
-- Looking for futimes - found
-- Looking for writev
-- Looking for writev - found
-- Looking for mallctl
-- Looking for mallctl - not found
-- Looking for mallinfo
-- Looking for mallinfo - found
-- Looking for malloc_zone_statistics
-- Looking for malloc_zone_statistics - not found
-- Looking for mkdtemp
-- Looking for mkdtemp - found
-- Looking for mkstemp
-- Looking for mkstemp - found
-- Looking for mktemp
-- Looking for mktemp - found
-- Looking for closedir
-- Looking for closedir - found
-- Looking for opendir
-- Looking for opendir - found
-- Looking for readdir
-- Looking for readdir - found
-- Looking for getcwd
-- Looking for getcwd - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for getrlimit
-- Looking for getrlimit - found
-- Looking for posix_spawn
-- Looking for posix_spawn - found
-- Looking for pread
-- Looking for pread - found
-- Looking for realpath
-- Looking for realpath - found
-- Looking for sbrk
-- Looking for sbrk - found
-- Looking for srand48
-- Looking for srand48 - found
-- Looking for lrand48
-- Looking for lrand48 - found
-- Looking for drand48
-- Looking for drand48 - found
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for strtoq
-- Looking for strtoq - found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for strerror_s
-- Looking for strerror_s - not found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for dlerror
-- Looking for dlerror - found
-- Looking for dlopen
-- Looking for dlopen - found
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test HAVE_INT64_T
-- Performing Test HAVE_INT64_T - Success
-- Performing Test HAVE_UINT64_T
-- Performing Test HAVE_UINT64_T - Success
-- Performing Test HAVE_U_INT64_T
-- Performing Test HAVE_U_INT64_T - Success
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
-- Performing Test LLVM_HAS_ATOMICS
-- Performing Test LLVM_HAS_ATOMICS - Success
-- Performing Test SUPPORTS_NO_VARIADIC_MACROS_FLAG
-- Performing Test SUPPORTS_NO_VARIADIC_MACROS_FLAG - Success
-- Target triple: x86_64-unknown-linux-gnu
-- Native target architecture is X86
-- Threads enabled.
-- Doxygen disabled.
-- Sphinx disabled.
-- Go bindings disabled.
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
-- OCaml bindings disabled.
-- Performing Test LLVM_NO_OLD_LIBSTDCXX
-- Performing Test LLVM_NO_OLD_LIBSTDCXX - Success
-- Performing Test C_SUPPORTS_FPIC
-- Performing Test C_SUPPORTS_FPIC - Success
-- Performing Test CXX_SUPPORTS_FPIC
-- Performing Test CXX_SUPPORTS_FPIC - Success
-- Building with -fPIC
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success
-- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR
-- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR - Success
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Success
-- Performing Test CXX_SUPPORTS_CXX11
-- Performing Test CXX_SUPPORTS_CXX11 - Success
-- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS
-- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Success
-- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS
-- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS - Success
-- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS
-- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS - Success
-- Performing Test C_SUPPORTS_FDATA_SECTIONS
-- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success
-- Performing Test CXX_SUPPORTS_FDATA_SECTIONS
-- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success
-- Found PythonInterp: /usr/bin/python2.7 (found version "2.7.10")
-- Constructing LLVMBuild project information
-- Targeting X86
-- Targeting ARM
-- Targeting AArch64
-- Targeting PowerPC
-- Clang version: 3.9.0
-- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG
-- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG - Success
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
LLVM_TOOL_SWIFT_BUILD
-- Build files have been written to: /home/modocache/GitHub/apple/build/Ninja-ReleaseAssert/llvm-linux-x86_64
++ cmake_config_opt llvm
++ product=llvm
++ [[ Ninja == \X\c\o\d\e ]]
+ /usr/bin/cmake --build /home/modocache/GitHub/apple/build/Ninja-ReleaseAssert/llvm-linux-x86_64 -- -j8 all
ninja: no work to do.
++ uname -s
+ [[ Linux == \D\a\r\w\i\n ]]
+ HOST_CXX_HEADERS_DIR=/usr/include/c++
+ BUILT_CXX_INCLUDE_DIR=/home/modocache/GitHub/apple/build/Ninja-ReleaseAssert/llvm-linux-x86_64/include
+ echo 'symlinking the system headers (/usr/include/c++) into the local clang build directory (/home/modocache/GitHub/apple/build/Ninja-ReleaseAssert/llvm-linux-x86_64/include).'
symlinking the system headers (/usr/include/c++) into the local clang build directory (/home/modocache/GitHub/apple/build/Ninja-ReleaseAssert/llvm-linux-x86_64/include).
+ ln -s -f /usr/include/c++ /home/modocache/GitHub/apple/build/Ninja-ReleaseAssert/llvm-linux-x86_64/include
swift: using standard linker
+ mkdir -p /home/modocache/GitHub/apple/build/Ninja-ReleaseAssert/swift-linux-x86_64
+ rm -f /home/modocache/GitHub/apple/build/Ninja-ReleaseAssert/swift-linux-x86_64/CMakeCache.txt
+ cd /home/modocache/GitHub/apple/build/Ninja-ReleaseAssert/swift-linux-x86_64
+ /usr/bin/cmake -G Ninja -DCMAKE_C_COMPILER:PATH=/usr/bin/clang -DCMAKE_CXX_COMPILER:PATH=/usr/bin/clang++ -DSWIFT_ANDROID_NDK_PATH:STRING=/home/modocache/android-ndk-r11c -DSWIFT_ANDROID_NDK_TOOLCHAIN_VERSION:STRING=4.8 -DSWIFT_ANDROID_SDK_PATH:STRING=/home/modocache/android-ndk-r11c/platforms/android-21/arch-arm -DSWIFT_ANDROID_ICU_UC:STRING=/home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a -DSWIFT_ANDROID_ICU_UC_INCLUDE:STRING=/home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/common -DSWIFT_ANDROID_ICU_I18N:STRING=/home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a -DSWIFT_ANDROID_ICU_I18N_INCLUDE:STRING=/home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/i18n/ '-DCMAKE_C_FLAGS= -fno-stack-protector' '-DCMAKE_CXX_FLAGS= -fno-stack-protector' -DCMAKE_BUILD_TYPE:STRING=Release -DLLVM_ENABLE_ASSERTIONS:BOOL=TRUE -DSWIFT_ANALYZE_CODE_COVERAGE:STRING=FALSE -DSWIFT_STDLIB_BUILD_TYPE:STRING=Release -DSWIFT_STDLIB_ASSERTIONS:BOOL=TRUE -DSWIFT_STDLIB_ENABLE_REFLECTION_METADATA:BOOL=FALSE -DSWIFT_STDLIB_ENABLE_RESILIENCE:BOOL=FALSE -DSWIFT_STDLIB_SIL_SERIALIZE_ALL:BOOL=TRUE -DSWIFT_NATIVE_LLVM_TOOLS_PATH:STRING= -DSWIFT_NATIVE_CLANG_TOOLS_PATH:STRING= -DSWIFT_NATIVE_SWIFT_TOOLS_PATH:STRING= -DSWIFT_BUILD_TOOLS:BOOL=TRUE -DSWIFT_BUILD_STDLIB:BOOL=TRUE -DSWIFT_SERIALIZE_STDLIB_UNITTEST:BOOL=FALSE -DSWIFT_STDLIB_SIL_DEBUGGING:BOOL=FALSE -DSWIFT_BUILD_SDK_OVERLAY:BOOL=TRUE -DSWIFT_BUILD_STATIC_STDLIB:BOOL=FALSE -DSWIFT_BUILD_PERF_TESTSUITE:BOOL=TRUE -DSWIFT_BUILD_EXAMPLES:BOOL=TRUE -DSWIFT_INCLUDE_TESTS:BOOL=TRUE -DSWIFT_INSTALL_COMPONENTS:STRING= -DSWIFT_EMBED_BITCODE_SECTION:BOOL=FALSE -DSWIFT_ENABLE_LTO:BOOL=FALSE -DSWIFT_BUILD_RUNTIME_WITH_HOST_COMPILER:BOOL=TRUE -DSWIFT_DARWIN_XCRUN_TOOLCHAIN:STRING=default -DSWIFT_AST_VERIFIER:BOOL=TRUE -DSWIFT_SIL_VERIFY_ALL:BOOL=FALSE -DSWIFT_RUNTIME_ENABLE_LEAK_CHECKER:BOOL=FALSE -DCMAKE_INSTALL_PREFIX:PATH=/usr -DLLVM_CONFIG:PATH=/home/modocache/GitHub/apple/build/Ninja-ReleaseAssert/llvm-linux-x86_64/bin/llvm-config -DSWIFT_PATH_TO_CLANG_SOURCE:PATH=/home/modocache/GitHub/apple/llvm/tools/clang -DSWIFT_PATH_TO_CLANG_BUILD:PATH=/home/modocache/GitHub/apple/build/Ninja-ReleaseAssert/llvm-linux-x86_64 -DSWIFT_PATH_TO_LLVM_SOURCE:PATH=/home/modocache/GitHub/apple/llvm -DSWIFT_PATH_TO_LLVM_BUILD:PATH=/home/modocache/GitHub/apple/build/Ninja-ReleaseAssert/llvm-linux-x86_64 -DSWIFT_PATH_TO_CMARK_SOURCE:PATH=/home/modocache/GitHub/apple/cmark -DSWIFT_PATH_TO_CMARK_BUILD:PATH=/home/modocache/GitHub/apple/build/Ninja-ReleaseAssert/cmark-linux-x86_64 -DSWIFT_CMARK_LIBRARY_DIR:PATH=/home/modocache/GitHub/apple/build/Ninja-ReleaseAssert/cmark-linux-x86_64/src -DSWIFT_EXEC:STRING=/home/modocache/GitHub/apple/build/Ninja-ReleaseAssert/swift-macosx-x86_64/bin/swiftc /home/modocache/GitHub/apple/swift
-- Found LLVM_CONFIG as /home/modocache/GitHub/apple/build/Ninja-ReleaseAssert/llvm-linux-x86_64/bin/llvm-config
-- Performing Test LLVM_NO_OLD_LIBSTDCXX
-- Performing Test LLVM_NO_OLD_LIBSTDCXX - Success
-- Performing Test C_SUPPORTS_FPIC
-- Performing Test C_SUPPORTS_FPIC - Success
-- Performing Test CXX_SUPPORTS_FPIC
-- Performing Test CXX_SUPPORTS_FPIC - Success
-- Building with -fPIC
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success
-- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR
-- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR - Success
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Success
-- Performing Test C_SUPPORTS_WERROR_DATE_TIME
-- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success
-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME
-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success
-- Performing Test CXX_SUPPORTS_CXX11
-- Performing Test CXX_SUPPORTS_CXX11 - Success
-- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS
-- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Success
-- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS
-- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS - Success
-- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS
-- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS - Success
-- Performing Test C_SUPPORTS_FDATA_SECTIONS
-- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success
-- Performing Test CXX_SUPPORTS_FDATA_SECTIONS
-- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success
-- Performing Test result
-- Performing Test result - Failed
-- Performing Test CXX_SUPPORTS_DOCUMENTATION_FLAG
-- Performing Test CXX_SUPPORTS_DOCUMENTATION_FLAG - Success
-- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG
-- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success
-- Performing Test CXX_SUPPORTS_UNREACHABLE_CODE_FLAG
-- Performing Test CXX_SUPPORTS_UNREACHABLE_CODE_FLAG - Success
-- Performing Test CXX_SUPPORTS_OVERLOADED_VIRTUAL
-- Performing Test CXX_SUPPORTS_OVERLOADED_VIRTUAL - Success
-- Performing Test CXX_SUPPORTS_FAPPLICATION_EXTENSION
-- Performing Test CXX_SUPPORTS_FAPPLICATION_EXTENSION - Failed
-- Linux SDK:
-- Path: /
-- Version: don't use
-- Build number: don't use
-- Deployment version: don't use
-- Library subdir: linux
-- Version min name:
-- Triple name: linux
-- Architectures: x86_64
-- Triple for x86_64 is x86_64-unknown-linux-gnu
--
-- Android SDK:
-- Path: /
-- Version: don't use
-- Build number: don't use
-- Deployment version: don't use
-- Library subdir: android
-- Version min name:
-- Triple name: android
-- Architectures: armv7
-- Triple for armv7 is armv7-none-linux-androideabi
--
-- Building host Swift tools for LINUX x86_64
-- Build type: Release
-- Assertions: TRUE
-- LTO: FALSE
--
-- Building Swift standard library and SDK overlays for SDKs: LINUX;ANDROID
-- Build type: Release
-- Assertions: TRUE
--
-- Building Swift runtime with:
-- Leak Detection Checker Entrypoints: FALSE
--
-- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.9.2")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- Found UUID: /usr/include
-- Swift version: 3.0
-- Swift vendor:
-- Swift compiler version:
-- Embedded clang compiler version:
CMake Warning at stdlib/CMakeLists.txt:5 (message):
Building the swift runtime using the host compiler, and not the just-built
clang.
-- Performing Test CXX_SUPPORTS_GLOBAL_CONSTRUCTORS_WARNING
-- Performing Test CXX_SUPPORTS_GLOBAL_CONSTRUCTORS_WARNING - Success
-- Performing Test CXX_SUPPORTS_EXIT_TIME_DESTRUCTORS_WARNING
-- Performing Test CXX_SUPPORTS_EXIT_TIME_DESTRUCTORS_WARNING - Success
-- Performing Test CXX_SUPPORTS_DEFAULT_HIDDEN_VISIBILITY
-- Performing Test CXX_SUPPORTS_DEFAULT_HIDDEN_VISIBILITY - Success
-- Found ICU: /home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/common
-- Found PythonInterp: /usr/bin/python (found version "2.7.10")
CMake Warning at docs/CMakeLists.txt:130 (message):
LitRe not found; code examples won't be tested.
-- Configuring done
CMake Warning (dev) at cmake/modules/AddSwift.cmake:1563 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
The dependency target "/usr/lib/x86_64-linux-gnu/libicui18n.so-linux" of
target "swiftStdlibStubs-linux-x86_64" does not exist.
Call Stack (most recent call first):
stdlib/public/stubs/CMakeLists.txt:22 (add_swift_library)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at cmake/modules/AddSwift.cmake:1563 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
The dependency target "/usr/lib/x86_64-linux-gnu/libicuuc.so-linux" of
target "swiftStdlibStubs-linux-x86_64" does not exist.
Call Stack (most recent call first):
stdlib/public/stubs/CMakeLists.txt:22 (add_swift_library)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at cmake/modules/AddSwift.cmake:1563 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
The dependency target "/usr/lib/x86_64-linux-gnu/libicui18n.so-android" of
target "swiftStdlibStubs-android-armv7" does not exist.
Call Stack (most recent call first):
stdlib/public/stubs/CMakeLists.txt:22 (add_swift_library)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at cmake/modules/AddSwift.cmake:1563 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
The dependency target "/usr/lib/x86_64-linux-gnu/libicuuc.so-android" of
target "swiftStdlibStubs-android-armv7" does not exist.
Call Stack (most recent call first):
stdlib/public/stubs/CMakeLists.txt:22 (add_swift_library)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
SWIFT_BUILD_EXAMPLES
SWIFT_EXEC
-- Build files have been written to: /home/modocache/GitHub/apple/build/Ninja-ReleaseAssert/swift-linux-x86_64
++ cmake_config_opt swift
++ product=swift
++ [[ Ninja == \X\c\o\d\e ]]
+ /usr/bin/cmake --build /home/modocache/GitHub/apple/build/Ninja-ReleaseAssert/swift-linux-x86_64 -- -j8 all swift-stdlib-linux-x86_64 swift-stdlib-android-armv7
[20/81] Building CXX object stdlib/public/runtime/CMakeFiles/swiftRuntime-android-armv7.dir/HeapObject.cpp.o
/home/modocache/GitHub/apple/swift/stdlib/public/runtime/HeapObject.cpp:228:43: warning: declaration requires a global constructor [-Wglobal-constructors]
static Lazy<MetadataCache<BoxCacheEntry>> Boxes;
^~~~~
1 warning generated.
[29/81] Building CXX object stdlib/public/runtime/CMakeFiles/swiftRuntime-android-armv7.dir/MetadataLookup.cpp.o
/home/modocache/GitHub/apple/swift/stdlib/public/runtime/MetadataLookup.cpp:125:32: warning: declaration requires a global constructor [-Wglobal-constructors]
static Lazy<TypeMetadataState> TypeMetadataRecords;
^~~~~~~~~~~~~~~~~~~
1 warning generated.
[30/81] Building CXX object stdlib/public/runtime/CMakeFiles/swiftRuntime-android-armv7.dir/ProtocolConformance.cpp.o
/home/modocache/GitHub/apple/swift/stdlib/public/runtime/ProtocolConformance.cpp:287:31: warning: declaration requires a global constructor [-Wglobal-constructors]
static Lazy<ConformanceState> Conformances;
^~~~~~~~~~~~
1 warning generated.
[34/81] Building CXX object stdlib/public/stubs/CMakeFiles/swiftStdlibStubs-android-armv7.dir/UnicodeNormalization.cpp.o
In file included from /home/modocache/GitHub/apple/swift/stdlib/public/stubs/UnicodeNormalization.cpp:25:
In file included from /home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/i18n/unicode/ucol.h:15:
In file included from /home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/common/unicode/unorm.h:23:
In file included from /home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/common/unicode/unorm2.h:33:
In file included from /home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/common/unicode/uset.h:31:
/home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/common/unicode/uchar.h:526:42: warning: declaration is marked with '\deprecated' command but does not have a deprecation attribute [-Wdocumentation-deprecated-sync]
Corresponds to u_getISOComment. @deprecated ICU 49 */
~^~~~~~~~~~~~~~~~~
/home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/common/unicode/uchar.h:554:61: warning: declaration is marked with '\deprecated' command but does not have a deprecation attribute [-Wdocumentation-deprecated-sync]
Corresponds to u_charName(U_UNICODE_10_CHAR_NAME). @deprecated ICU 49 */
~^~~~~~~~~~~~~~~~~
/home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/common/unicode/uchar.h:1573:9: warning: declaration is marked with '\deprecated' command but does not have a deprecation attribute [-Wdocumentation-deprecated-sync]
* @deprecated ICU 49
~^~~~~~~~~~~~~~~~~
In file included from /home/modocache/GitHub/apple/swift/stdlib/public/stubs/UnicodeNormalization.cpp:25:
In file included from /home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/i18n/unicode/ucol.h:18:
In file included from /home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/common/unicode/uloc.h:25:
In file included from /home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/common/unicode/uenum.h:24:
In file included from /home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/common/unicode/strenum.h:14:
In file included from /home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/common/unicode/unistr.h:30:
/home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/common/unicode/rep.h:117:9: warning: '@return' command used in a comment that is attached to a function returning void [-Wdocumentation]
* @return A reference to <TT>target</TT>
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/modocache/GitHub/apple/swift/stdlib/public/stubs/UnicodeNormalization.cpp:25:
In file included from /home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/i18n/unicode/ucol.h:18:
In file included from /home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/common/unicode/uloc.h:25:
In file included from /home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/common/unicode/uenum.h:24:
In file included from /home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/common/unicode/strenum.h:14:
/home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/common/unicode/unistr.h:1447:7: warning: '@return' command used in a comment that is attached to a function returning void [-Wdocumentation]
* @return A reference to <TT>target</TT>
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/common/unicode/unistr.h:1476:7: warning: '@return' command used in a comment that is attached to a function returning void [-Wdocumentation]
* @return A reference to <TT>target</TT>
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/common/unicode/unistr.h:1485:24: warning: HTML tag 'tt' requires an end tag [-Wdocumentation-html]
* [<tt>start</TT>, <tt>start + length</TT>) into an array of characters.
~^~~
/home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/common/unicode/unistr.h:1485:8: warning: HTML tag 'tt' requires an end tag [-Wdocumentation-html]
* [<tt>start</TT>, <tt>start + length</TT>) into an array of characters.
~^~~
/home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/common/unicode/unistr.h:1514:24: warning: HTML tag 'tt' requires an end tag [-Wdocumentation-html]
* [<tt>start</TT>, <tt>start + length</TT>) into an array of characters
~^~~
/home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/common/unicode/unistr.h:1514:8: warning: HTML tag 'tt' requires an end tag [-Wdocumentation-html]
* [<tt>start</TT>, <tt>start + length</TT>) into an array of characters
~^~~
/home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/common/unicode/unistr.h:1542:24: warning: HTML tag 'tt' requires an end tag [-Wdocumentation-html]
* [<tt>start</TT>, <tt>start + length</TT>) into an array of characters
~^~~
/home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/common/unicode/unistr.h:1542:8: warning: HTML tag 'tt' requires an end tag [-Wdocumentation-html]
* [<tt>start</TT>, <tt>start + length</TT>) into an array of characters
~^~~
/home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/common/unicode/unistr.h:1572:24: warning: HTML tag 'tt' requires an end tag [-Wdocumentation-html]
* [<tt>start</TT>, <tt>start + length</TT>) into an array of characters
~^~~
/home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/common/unicode/unistr.h:1572:8: warning: HTML tag 'tt' requires an end tag [-Wdocumentation-html]
* [<tt>start</TT>, <tt>start + length</TT>) into an array of characters
~^~~
/home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/common/unicode/unistr.h:2798:25: warning: HTML start tag prematurely ended, expected attribute name or '>' [-Wdocumentation]
* <code>(s.length()<s.getCapacity() && buffer[s.length()]==0)</code>.
^
/home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/common/unicode/unistr.h:2798:24: warning: HTML start tag 's' closed by 'code' [-Wdocumentation-html]
* <code>(s.length()<s.getCapacity() && buffer[s.length()]==0)</code>.
^ ~~~~~~~
In file included from /home/modocache/GitHub/apple/swift/stdlib/public/stubs/UnicodeNormalization.cpp:25:
In file included from /home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/i18n/unicode/ucol.h:18:
/home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/common/unicode/uloc.h:348:8: warning: declaration is marked with '\deprecated' command but does not have a deprecation attribute [-Wdocumentation-deprecated-sync]
* @deprecated ICU 2.8
~^~~~~~~~~~~~~~~~~~
In file included from /home/modocache/GitHub/apple/swift/stdlib/public/stubs/UnicodeNormalization.cpp:25:
In file included from /home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/i18n/unicode/ucol.h:20:
/home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/common/unicode/uscript.h:355:12: warning: declaration is marked with '\deprecated' command but does not have a deprecation attribute [-Wdocumentation-deprecated-sync]
/** @deprecated ICU 54 Typo, use USCRIPT_DUPLOYAN */
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/modocache/GitHub/apple/swift/stdlib/public/stubs/UnicodeNormalization.cpp:25:
/home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a/icu/source/i18n/unicode/ucol.h:313:10: warning: declaration is marked with '\deprecated' command but does not have a deprecation attribute [-Wdocumentation-deprecated-sync]
* @deprecated ICU 50 Implementation detail, cannot be set via API, was removed from implementation.
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
19 warnings generated.
[36/81] Building HTML documentation
Running Sphinx v1.2.3
loading pickled environment... done
building [html]: targets for 0 source files that are out of date
updating environment: 0 added, 0 changed, 0 removed
looking for now-outdated files... none found
no targets are out of date.
[36/81] Building CXX object stdlib/public/runtime/CMakeFiles/swiftRuntime-android-armv7.dir/Metadata.cpp.o
/home/modocache/GitHub/apple/swift/stdlib/public/runtime/Metadata.cpp:295:49: warning: declaration requires a global constructor [-Wglobal-constructors]
static Lazy<MetadataCache<ObjCClassCacheEntry>> ObjCClassWrappers;
^~~~~~~~~~~~~~~~~
/home/modocache/GitHub/apple/swift/stdlib/public/runtime/Metadata.cpp:361:48: warning: declaration requires a global constructor [-Wglobal-constructors]
static Lazy<MetadataCache<FunctionCacheEntry>> FunctionTypes;
^~~~~~~~~~~~~
/home/modocache/GitHub/apple/swift/stdlib/public/runtime/Metadata.cpp:512:45: warning: declaration requires a global constructor [-Wglobal-constructors]
static Lazy<MetadataCache<TupleCacheEntry>> TupleTypes;
^~~~~~~~~~
/home/modocache/GitHub/apple/swift/stdlib/public/runtime/Metadata.cpp:1782:48: warning: declaration requires a global constructor [-Wglobal-constructors]
static Lazy<MetadataCache<MetatypeCacheEntry>> MetatypeTypes;
^~~~~~~~~~~~~
/home/modocache/GitHub/apple/swift/stdlib/public/runtime/Metadata.cpp:1849:39: warning: declaration requires a global constructor [-Wglobal-constructors]
static Lazy<ExistentialMetatypeState> ExistentialMetatypes;
^~~~~~~~~~~~~~~~~~~~
/home/modocache/GitHub/apple/swift/stdlib/public/runtime/Metadata.cpp:1974:35: warning: declaration requires a global constructor [-Wglobal-constructors]
static Lazy<ExistentialTypeState> Existentials;
^~~~~~~~~~~~
/home/modocache/GitHub/apple/swift/stdlib/public/runtime/Metadata.cpp:2388:31: warning: declaration requires a global constructor [-Wglobal-constructors]
static Lazy<ForeignTypeState> ForeignTypes;
^~~~~~~~~~~~
/home/modocache/GitHub/apple/swift/stdlib/public/runtime/Metadata.cpp:1559:27: warning: unused function 'getResilientMetadataAllocator' [-Wunused-function]
static MetadataAllocator &getResilientMetadataAllocator() {
^
8 warnings generated.
[39/81] Linking CXX shared library lib/swift/android/armv7/libswiftCore.so
FAILED: : && /usr/bin/clang++ -fPIC -fno-stack-protector -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Werror=date-time -std=c++11 -fcolor-diagnostics -ffunction-sections -fdata-sections -Wdocumentation -Wimplicit-fallthrough -Wunreachable-code -Woverloaded-virtual -O3 -Wl,-z,defs -target armv7-none-linux-androideabi -isysroot /home/modocache/android-ndk-r11c/platforms/android-21/arch-arm --sysroot=/home/modocache/android-ndk-r11c/platforms/android-21/arch-arm -B /home/modocache/android-ndk-r11c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/arm-linux-androideabi/bin/ -ldl -L/home/modocache/android-ndk-r11c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.8 /home/modocache/android-ndk-r11c/sources/cxx-stl/llvm-libc++/libs/armeabi-v7a/libc++_shared.so -L/home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a -L/home/modocache/GitHub/apple/libiconv-libicu-android/armeabi-v7a -L/home/modocache/GitHub/apple/build/Ninja-ReleaseAssert/swift-linux-x86_64/./lib/swift/android/armv7 -L/home/modocache/GitHub/apple/build/Ninja-ReleaseAssert/swift-linux-x86_64/./bin/../lib/swift/android/armv7 -L/home/modocache/GitHub/apple/build/Ninja-ReleaseAssert/swift-linux-x86_64/./bin/../lib/swift/android -shared -Wl,-soname,libswiftCore.so -o lib/swift/android/armv7/libswiftCore.so lib/swift/android/armv7/swift_begin.o stdlib/public/core/android/armv7/Swift.o lib/swift/android/armv7/swift_end.o -L/home/modocache/GitHub/apple/build/Ninja-ReleaseAssert/llvm-linux-x86_64/lib -L/home/modocache/GitHub/apple/build/Ninja-ReleaseAssert/llvm-linux-x86_64/./lib lib/swift/android/armv7/libswiftRuntime.a lib/swift/android/armv7/libswiftStdlibStubs.a -licuuc -licui18n && :
/usr/bin/ld: unrecognised emulation mode: armelf_linux_eabi
Supported emulations: elf_x86_64 elf32_x86_64 elf_i386 i386linux elf_l1om elf_k1om i386pep i386pe
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
utils/build-script: command terminated with a non-zero exit status 1, aborting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment