Skip to content

Instantly share code, notes, and snippets.

@thinca
Created December 7, 2015 03:20
Show Gist options
  • Save thinca/230c55639041510da34e to your computer and use it in GitHub Desktop.
Save thinca/230c55639041510da34e to your computer and use it in GitHub Desktop.
% utils/build-script --release
Building the standard library for: swift-stdlib-linux-x86_64
Running Swift tests for: check-swift-linux-x86_64
cmark: using standard linker
++ cmake_config_opt cmark
++ product=cmark
++ [[ Ninja == \X\c\o\d\e ]]
+ /usr/bin/cmake --build /home/thinca/work/sandbox/swift-suite/build/Ninja-ReleaseAssert/cmark-linux-x86_64 -- all
ninja: no work to do.
llvm: using standard linker
++ cmake_config_opt llvm
++ product=llvm
++ [[ Ninja == \X\c\o\d\e ]]
+ /usr/bin/cmake --build /home/thinca/work/sandbox/swift-suite/build/Ninja-ReleaseAssert/llvm-linux-x86_64 -- all
[1848/1848] Linking CXX executable bin/llvm-dsymutil
swift: using standard linker
+ cd /home/thinca/work/sandbox/swift-suite/build/Ninja-ReleaseAssert/swift-linux-x86_64
+ /usr/bin/cmake -G Ninja -DCMAKE_C_COMPILER:PATH=clang -DCMAKE_CXX_COMPILER:PATH=clang++ '-DCMAKE_C_FLAGS= -fno-stack-protector' '-DCMAKE_CXX_FLAGS= -fno-stack-protector' -DCMAKE_BUILD_TYPE:STRING=Release -DLLVM_ENABLE_ASSERTIONS:BOOL=TRUE -DSWIFT_STDLIB_BUILD_TYPE:STRING=Release -DSWIFT_STDLIB_ASSERTIONS: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_BUILD_SDK_OVERLAY:BOOL=TRUE -DSWIFT_BUILD_STATIC_STDLIB:BOOL=FALSE -DSWIFT_BUILD_EXAMPLES:BOOL=TRUE -DSWIFT_INCLUDE_TESTS:BOOL=TRUE -DSWIFT_INSTALL_COMPONENTS:STRING= -DSWIFT_EMBED_BITCODE_SECTION:BOOL=FALSE -DSWIFT_AST_VERIFIER:BOOL=TRUE -DSWIFT_VERIFY_ALL:BOOL=FALSE -DSWIFT_RUNTIME_ENABLE_DTRACE:BOOL=FALSE -DSWIFT_RUNTIME_ENABLE_LEAK_CHECKER:BOOL=FALSE -DSWIFT_ENABLE_TARGET_LINUX:BOOL=TRUE -DCMAKE_INSTALL_PREFIX:PATH=/usr -DLLVM_CONFIG:PATH=/home/thinca/work/sandbox/swift-suite/build/Ninja-ReleaseAssert/llvm-linux-x86_64/bin/llvm-config -DCMARK_PATH_TO_CLANG_SOURCE:PATH=/home/thinca/work/sandbox/swift-suite/llvm/tools/clang -DCMARK_PATH_TO_CLANG_BUILD:PATH=/home/thinca/work/sandbox/swift-suite/build/Ninja-ReleaseAssert/llvm-linux-x86_64 -DCMARK_PATH_TO_LLVM_SOURCE:PATH=/home/thinca/work/sandbox/swift-suite/llvm -DCMARK_PATH_TO_LLVM_BUILD:PATH=/home/thinca/work/sandbox/swift-suite/build/Ninja-ReleaseAssert/llvm-linux-x86_64 -DCMARK_PATH_TO_CMARK_SOURCE:PATH=/home/thinca/work/sandbox/swift-suite/cmark -DCMARK_PATH_TO_CMARK_BUILD:PATH=/home/thinca/work/sandbox/swift-suite/build/Ninja-ReleaseAssert/cmark-linux-x86_64 -DCMARK_CMARK_LIBRARY_DIR:PATH=/home/thinca/work/sandbox/swift-suite/build/Ninja-ReleaseAssert/cmark-linux-x86_64/src -DCMAKE_INSTALL_PREFIX:PATH=/usr -DLLVM_CONFIG:PATH=/home/thinca/work/sandbox/swift-suite/build/Ninja-ReleaseAssert/llvm-linux-x86_64/bin/llvm-config -DLLVM_PATH_TO_CLANG_SOURCE:PATH=/home/thinca/work/sandbox/swift-suite/llvm/tools/clang -DLLVM_PATH_TO_CLANG_BUILD:PATH=/home/thinca/work/sandbox/swift-suite/build/Ninja-ReleaseAssert/llvm-linux-x86_64 -DLLVM_PATH_TO_LLVM_SOURCE:PATH=/home/thinca/work/sandbox/swift-suite/llvm -DLLVM_PATH_TO_LLVM_BUILD:PATH=/home/thinca/work/sandbox/swift-suite/build/Ninja-ReleaseAssert/llvm-linux-x86_64 -DLLVM_PATH_TO_CMARK_SOURCE:PATH=/home/thinca/work/sandbox/swift-suite/cmark -DLLVM_PATH_TO_CMARK_BUILD:PATH=/home/thinca/work/sandbox/swift-suite/build/Ninja-ReleaseAssert/cmark-linux-x86_64 -DLLVM_CMARK_LIBRARY_DIR:PATH=/home/thinca/work/sandbox/swift-suite/build/Ninja-ReleaseAssert/cmark-linux-x86_64/src -DCMAKE_INSTALL_PREFIX:PATH=/usr -DLLVM_CONFIG:PATH=/home/thinca/work/sandbox/swift-suite/build/Ninja-ReleaseAssert/llvm-linux-x86_64/bin/llvm-config -DSWIFT_PATH_TO_CLANG_SOURCE:PATH=/home/thinca/work/sandbox/swift-suite/llvm/tools/clang -DSWIFT_PATH_TO_CLANG_BUILD:PATH=/home/thinca/work/sandbox/swift-suite/build/Ninja-ReleaseAssert/llvm-linux-x86_64 -DSWIFT_PATH_TO_LLVM_SOURCE:PATH=/home/thinca/work/sandbox/swift-suite/llvm -DSWIFT_PATH_TO_LLVM_BUILD:PATH=/home/thinca/work/sandbox/swift-suite/build/Ninja-ReleaseAssert/llvm-linux-x86_64 -DSWIFT_PATH_TO_CMARK_SOURCE:PATH=/home/thinca/work/sandbox/swift-suite/cmark -DSWIFT_PATH_TO_CMARK_BUILD:PATH=/home/thinca/work/sandbox/swift-suite/build/Ninja-ReleaseAssert/cmark-linux-x86_64 -DSWIFT_CMARK_LIBRARY_DIR:PATH=/home/thinca/work/sandbox/swift-suite/build/Ninja-ReleaseAssert/cmark-linux-x86_64/src /home/thinca/work/sandbox/swift-suite/swift
-- The C compiler identification is Clang 3.7.0
-- The CXX compiler identification is Clang 3.7.0
-- Check for working C compiler using: Ninja
-- Check for working C compiler using: Ninja -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler using: Ninja
-- Check for working CXX compiler using: Ninja -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found LLVM_CONFIG as /home/thinca/work/sandbox/swift-suite/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_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 - Success
-- 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
--
-- Building host Swift tools for LINUX x86_64
-- Build type: Release
-- Assertions: TRUE
--
-- Building Swift standard library and SDK overlays for SDKs: LINUX
-- Build type: Release
-- Assertions: TRUE
--
-- Building Swift runtime with:
-- Dtrace: FALSE
-- Leak Detection Checker Entrypoints: FALSE
--
-- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.2")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- Found UUID: /usr/include
-- Swift version: 2.2
-- Swift vendor:
-- Swift compiler version:
-- Embedded clang compiler version:
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find BSD (missing: BSD_INCLUDE_DIR BSD_LIBRARY)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
cmake/modules/FindBSD.cmake:18 (find_package_handle_standard_args)
stdlib/CMakeLists.txt:17 (find_package)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment