<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:9pt" ><div dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:9pt" ><div dir="ltr" >Hi,</div>
<div dir="ltr" > </div>
<div dir="ltr" >I am trying to build Swift on ppc64le platform running Ubuntu 16.04. Swift master branch top-of-the-tree code is cloned from github. I am getting following error during the build process:</div>
<div dir="ltr" > </div>
<div dir="ltr" ><... build log from beginning till here removed ...></div>
<div dir="ltr" >--- bootstrap: note: building runtime v3 target: PackageDescription:<br>Compile Swift Module 'PackageDescription' (6 sources)<br>Link PackageDescription<br>--- bootstrap: note: building runtime v4 target: PackageDescription4:<br>Compile Swift Module 'PackageDescription' (9 sources)<br>Link PackageDescription<br>--- bootstrap: note: building self-hosted 'swift-build': env SWIFT_EXEC=/root/swift-source/build/buildbot_incremental/swiftpm-linux-powerpc64le/ppc64le-unknown-linux/release/swiftc SWIFT_BUILD_PATH=/root/swift-source/build/buildbot_incremental/swiftpm-linux-powerpc64le /root/swift-source/build/buildbot_incremental/swiftpm-linux-powerpc64le/ppc64le-unknown-linux/release/swift-build-stage1 --disable-sandbox -Xlinker -rpath -Xlinker $ORIGIN/../lib/swift/linux -Xlinker -L -Xlinker /root/swift-source/build/buildbot_incremental/foundation-linux-powerpc64le/Foundation -Xlinker -rpath -Xlinker /root/swift-source/build/buildbot_incremental/foundation-linux-powerpc64le/Foundation -Xswiftc -I/root/swift-source/build/buildbot_incremental/foundation-linux-powerpc64le/Foundation -Xswiftc -I/root/swift-source/build/buildbot_incremental/foundation-linux-powerpc64le/Foundation/usr/lib/swift -Xlinker -L -Xlinker /root/swift-source/build/buildbot_incremental/xctest-linux-powerpc64le -Xlinker -rpath -Xlinker /root/swift-source/build/buildbot_incremental/xctest-linux-powerpc64le -Xswiftc -I/root/swift-source/build/buildbot_incremental/xctest-linux-powerpc64le -Xlinker -L/root/swift-source/build/buildbot_incremental/libdispatch-linux-powerpc64le/src/.libs -Xswiftc -I/root/swift-source/build/buildbot_incremental/libdispatch-linux-powerpc64le/src -Xswiftc -I/root/swift-source/build/buildbot_incremental/libdispatch-linux-powerpc64le/src/swift -Xswiftc -I/root/swift-source/swift-corelibs-libdispatch -Xcc -fblocks -Xswiftc -enable-testing --configuration release --build-tests<br>Compile clibc libc.c<br>Compile Swift Module 'PackageDescription' (6 sources)<br>Compile Swift Module 'PackageDescription4' (9 sources)<br>Compile Swift Module 'swiftpm_xctest_helper' (1 sources)<br>Compile Swift Module 'libc' (1 sources)<br><unknown>:0: error: unable to load standard library for target 'ppc64le-unknown-linux'<br><unknown>:0: error: unable to load standard library for target 'ppc64le-unknown-linux'<br><unknown>:0: error: unable to load standard library for target 'ppc64le-unknown-linux'<br>error: terminated(1): /root/swift-source/build/buildbot_incremental/swiftpm-linux-powerpc64le/ppc64le-unknown-linux/release/swift-build-tool -f /root/swift-source/build/buildbot_incremental/swiftpm-linux-powerpc64le/release.yaml test<br>--- bootstrap: error: build failed with exit status 1<br> </div>
<div dir="ltr" >I tried to find more about this type of error. I didn't find an exact match but this one was closest: <a href="https://github.com/vapor/vapor/issues/177" >https://github.com/vapor/vapor/issues/177</a></div>
<div dir="ltr" > </div>
<div dir="ltr" >I am using following build command:</div>
<div dir="ltr" >utils/build-script --no-assertions --release --test --validation-test --lit-args=-v --build-subdir=buildbot_incremental --llbuild --swiftpm --foundation --libdispatch -- --reconfigure --jobs 16</div>
<div dir="ltr" > </div>
<div dir="ltr" >I tried adding "--xctest" but it has no effect. I also tried running swift-build-tool in verbose mode (-v flag) but it didn't yield much useful information (or I didn't understand what it printed).</div>
<div dir="ltr" > </div>
<div dir="ltr" >Can somebody help me resolve this build issue?</div>
<div dir="ltr" > </div>
<div dir="ltr" >Thanks,</div>
<div dir="ltr" >Atul.</div></div></div><BR>