<div>Hi,I in Centos 7.2 run "<span style="line-height: 1.5;">./swift/utils/build-script --preset=buildbot_linux installable_package=/tmp/swift.tar.gz install_destdir=/tmp/swift-install</span><span style="line-height: 1.5;">"</span></div><div><span style="line-height: 1.5;"><br></span></div><div><span style="line-height: 1.5;">gcc version:4.9.4</span></div><div><span style="line-height: 1.5;">clang version:3.8.1</span></div><div><span style="line-height: 1.5;"><br></span></div><div><span style="line-height: 1.5;">==============================================</span></div><div>







<p class="p1"><span class="s1">+ /usr/local/src/swiftpm/Utilities/bootstrap --swiftc=/usr/local/src/build/buildbot_linux/swift-linux-x86_64/bin/swiftc --sbt=/usr/local/src/build/buildbot_linux/llbuild-linux-x86_64/bin/swift-build-tool --build=/usr/local/src/build/buildbot_linux/swiftpm-linux-x86_64 --foundation=/usr/local/src/build/buildbot_linux/foundation-linux-x86_64/Foundation --libdispatch-source-dir=/usr/local/src/swift-corelibs-libdispatch --libdispatch-build-dir=/usr/local/src/build/buildbot_linux/libdispatch-linux-x86_64 --xctest=/usr/local/src/build/buildbot_linux/xctest-linux-x86_64</span></p>
<p class="p1"><span class="s1">--- bootstrap: note: building stage1: /usr/local/src/build/buildbot_linux/llbuild-linux-x86_64/bin/swift-build-tool -f /usr/local/src/build/buildbot_linux/swiftpm-linux-x86_64/.bootstrap/build.swift-build</span></p>
<p class="p1"><span class="s1">--- bootstrap: note: building self-hosted 'swift-build': env SWIFT_EXEC=/usr/local/src/build/buildbot_linux/swiftpm-linux-x86_64/debug/swiftc SWIFT_BUILD_PATH=/usr/local/src/build/buildbot_linux/swiftpm-linux-x86_64 /usr/local/src/build/buildbot_linux/swiftpm-linux-x86_64/debug/swift-build-stage1 -Xlinker -rpath -Xlinker $ORIGIN/../lib/swift/linux -Xlinker -L -Xlinker /usr/local/src/build/buildbot_linux/foundation-linux-x86_64/Foundation -Xlinker -rpath -Xlinker /usr/local/src/build/buildbot_linux/foundation-linux-x86_64/Foundation -Xswiftc -I/usr/local/src/build/buildbot_linux/foundation-linux-x86_64/Foundation -Xswiftc -I/usr/local/src/build/buildbot_linux/foundation-linux-x86_64/Foundation/usr/lib/swift -Xlinker -L -Xlinker /usr/local/src/build/buildbot_linux/xctest-linux-x86_64 -Xlinker -rpath -Xlinker /usr/local/src/build/buildbot_linux/xctest-linux-x86_64 -Xswiftc -I/usr/local/src/build/buildbot_linux/xctest-linux-x86_64 -Xswiftc -I/usr/local/src/build/buildbot_linux/libdispatch-linux-x86_64/src -Xswiftc -I/usr/local/src/swift-corelibs-libdispatch -Xcc -fblocks --build-tests</span></p>
<p class="p1"><span class="s2">error:</span><span class="s1"> invalid inferred toolchain</span></p>
<p class="p1"><span class="s1">--- bootstrap: error: build failed with exit status 1</span></p>
<p class="p1"><span class="s1">./swift/utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting</span></p>
<p class="p1"><span class="s1">./swift/utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting</span></p><p class="p1"><span class="s1">==============================================</span></p><p class="p1"><span class="s1"><br></span></p><p class="p1"><span class="s1">Source compiler this error, how to solve?</span></p><p class="p1"><span class="s1">Thank!</span></p><p class="p1"><span class="s1"><br></span></p></div>