<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Sep 20, 2016, at 1:01 PM, Eric Wing <<a href="mailto:ewmailing@gmail.com" class="">ewmailing@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">On 9/20/16, william <<a href="mailto:william@housedillon.com" class="">william@housedillon.com</a>> wrote:<br class=""><blockquote type="cite" class="">Hi Eric,<br class=""><br class="">Can you check whether what you're building on has this commit?<br class=""><a href="https://github.com/apple/swift-package-manager/commit/0268214b5477ca338b502c90aaa3e9ba50b68e18" class="">https://github.com/apple/swift-package-manager/commit/0268214b5477ca338b502c90aaa3e9ba50b68e18</a><br class=""><https://github.com/apple/swift-package-manager/commit/0268214b5477ca338b502c90aaa3e9ba50b68e18><br class=""><br class="">There was a truncation of a bit pattern that was causing a trap on arm.<br class=""><br class="">It looks like you're using qemu, so it's possible that it's handling the<br class="">trap strangely.<br class=""><br class="">Also, for arm-specific build issues and the like, the swift-arm slack<br class="">channel may be helpful http://dev.iachieved.it:9909<br class=""><http://dev.iachieved.it:9909/><br class=""><br class="">- Will<br class=""><br class=""></blockquote><br class="">- Yes, that commit is in my tree.<br class="">- I used qemu to build Swift itself, however, I'm using Swift to<br class="">compile on a real Pi (which is where that assertion is hit).<br class="">- I don't think I'm using Swift package manager. That is a direct<br class="">invocation using swift -frontend -c<br class=""><br class="">Thanks,<br class="">Eric<br class=""></div></div></blockquote></div><br class=""><div class="">Interesting... It's this part of your logs that got me thinking about that:</div><div class=""><br class=""></div><div class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">--- bootstrap: note: building stage1:</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">/home/pi/Source/SWIFT/build/buildbot_linux/llbuild-linux-armv7/bin/swift-build-tool</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">-f /home/pi/Source/SWIFT/build/buildbot_linux/swiftpm-linux-armv7/.bootstrap/build.swift-build</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">qemu: uncaught target signal 11 (Segmentation fault) - core dumped</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">--- bootstrap: error: build failed with exit status -11</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">./utils/build-script: fatal error: command terminated with a non-zero</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">exit status 1, aborting</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">./utils/build-script: fatal error: command terminated with a non-zero</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">exit status 1, aborting</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">==================</span></div><div class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class=""><br class=""></span></div><div class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">I thought that swift-build-tool is what is responsible for `swift build`</span></div><div class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class=""><br class=""></span></div><div class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">- Will</span></div></body></html>