[swift-dev] Build issue on amd64
Richard Neese
r.neese at gmail.com
Fri Jul 8 13:15:32 CDT 2016
Linux swift 4.6.0-1-amd64 #1 SMP Debian 4.6.2-2 (2016-06-25) x86_64 GNU/Linux
root at swift:~# clang -v
Debian clang version 3.6.2-3 (tags/RELEASE_362/final) (based on LLVM 3.6.2)
Target: x86_64-pc-linux-gnu
Thread model: posix
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8.4
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9.3
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.0
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/6.1.1
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8.4
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9.3
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5.4.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6.1.1
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/6.1.1
Candidate multilib: .
/usr/bin/../lib/gcc/x86_64-linux-gnu/6.1.1/../../../../include/c++/6.1.1/tuple:652:17: note: candidate constructor not viable: requires 1 argument, but 4 were provided
constexpr tuple(const tuple&) = default;
^
/usr/src/llvm/lib/CodeGen/LexicalScopes.cpp:209:32: error: no matching function for call to 'forward_as_tuple'
std::forward_as_tuple(Parent, Scope,
^~~~~~~~~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/6.1.1/../../../../include/c++/6.1.1/tuple:1399:5: note: candidate template ignored: substitution failure [with _Elements = <llvm::LexicalScope *&, const llvm::DILocalScope *&, nullptr_t, bool>]
forward_as_tuple(_Elements&&... __args) noexcept
^
3 errors generated.
ninja: build stopped: subcommand failed.
./utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting
My build script
#!/bin/bash
#clean src
rm -rf /usr/src/*
#git src
git clone -b swift-3.0-preview-3-branch https://github.com/apple/swift.git /usr/src/swift
git clone -b swift-3.0-branch https://github.com/apple/swift-llvm.git /usr/src/llvm
git clone -b swift-3.0-branch https://github.com/apple/swift-clang.git /usr/src/clang
git clone -b swift-3.0-branch https://github.com/apple/swift-lldb.git /usr/src/lldb
cd /usr/src/lldb
lldb/scripts/build-swift-cmake.py --test
cd ~
git clone https://github.com/jgm/cmark.git /usr/src/cmark
git clone https://github.com/ninja-build/ninja.git /usr/src/ninja && cd usr/src/ninja
git checkout release
cat README
#build
cd /usr/src/swift
./utils/build-script -r -t
This is for testing . working on building debian pkgs .
Sent from Mail for Windows 10
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160708/87da7c77/attachment.html>
More information about the swift-dev
mailing list